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.
880 B ยท 41 lines
TypeScript
123456789101112131415161718192021222324252627282930313233343536373839404142import type { z } from "zod";
import type { numberCompare, recordCompare, stringCompare } from "./v1";
export const numberCompareDictionary: Record< z.infer<typeof numberCompare>, string> = { eq: "Equal", not_eq: "Not Equal", gt: "Greater than", gte: "Greater than or equal", lt: "Less than", lte: "Less than or equal",};
export const stringCompareDictionary: Record< z.infer<typeof stringCompare>, string> = { contains: "Contains", not_contains: "Does not contain", eq: "Equal", not_eq: "Not Equal", empty: "Empty", not_empty: "Not Empty", gt: "Greater than", gte: "Greater than or equal", lt: "Less than", lte: "Less than or equal",};
export const recordCompareDictionary: Record< z.infer<typeof recordCompare>, string> = { eq: "Equal", not_eq: "Not Equal", contains: "Contains", not_contains: "Does not contain",};