Openstatus www.openstatus.dev
at 4ee8f50e37873ebf4d80dbb5bc76fdb40a01a3ea 31 lines 669 B view raw
1import type { z } from "zod"; 2 3import type { numberCompare, stringCompare } from "./v1"; 4 5export const numberCompareDictionary: Record< 6 z.infer<typeof numberCompare>, 7 string 8> = { 9 eq: "Equal", 10 not_eq: "Not Equal", 11 gt: "Greater than", 12 gte: "Greater than or equal", 13 lt: "Less than", 14 lte: "Less than or equal", 15}; 16 17export const stringCompareDictionary: Record< 18 z.infer<typeof stringCompare>, 19 string 20> = { 21 contains: "Contains", 22 not_contains: "Does not contain", 23 eq: "Equal", 24 not_eq: "Not Equal", 25 empty: "Empty", 26 not_empty: "Not Empty", 27 gt: "Greater than", 28 gte: "Greater than or equal", 29 lt: "Less than", 30 lte: "Less than or equal", 31};