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.
365 B 路 11 lines
TypeScript
123456789101112import { z } from "zod";
export const preferencesSchema = z .object({ combinedRegions: z.boolean().nullable().prefault(false).optional(), // ... other settings to store user preferences // accessible via document.cookie in the client and cookies() on the server }) .optional();
export type PreferredSettings = z.infer<typeof preferencesSchema>;