Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. ๐ซ Status page with uptime monitoring & API monitoring as code ๐ซ openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
983 B ยท 49 lines
TypeScript
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950import { z } from "zod";
export const API_CONFIG_TYPES = [ "atlassian", "instatus", "betterstack", "incidentio", "uptimerobot", "custom", "html-scraper",] as const;
export const STATUS_PAGE_PROVIDERS = [ "atlassian-statuspage", "instatus", "openstatus", "incidentio", "status.io", "custom", "better-uptime", "uptime-robot", "unknown",] as const;
export const INDUSTRIES = [ "cloud-providers", "development-tools", "saas", "communication", "ai-ml", "cdn", "databases", "monitoring", "security", "fintech", "e-commerce",] as const;
export type ApiConfigType = (typeof API_CONFIG_TYPES)[number];export type StatusPageProvider = (typeof STATUS_PAGE_PROVIDERS)[number];export type Industry = (typeof INDUSTRIES)[number];
export const apiConfigSchema = z.object({ type: z.enum(API_CONFIG_TYPES), endpoint: z.url().optional(), parser: z.string().optional(),});
export type ApiConfig = z.infer<typeof apiConfigSchema>;