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
Something went wrong. Try again.
483 B · 27 lines
TypeScript
at incident-api
12345678910111213141516171819202122232425262728import type { ValidIcon } from "../components/icons";import type { Trigger } from "../lib/monitor/utils";
export const triggerDict = { cron: { value: "cron", label: "Scheduled", icon: "clock", }, api: { value: "api", label: "On-Demand", icon: "network", }, unknown: { value: "unknown", label: "Unknown", icon: "cog", },} satisfies Record< string, { icon: ValidIcon; label: string; value: Trigger | "unknown"; }>;