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.
123456789101112import { createInsertSchema, createSelectSchema } from "drizzle-zod";import type { z } from "zod";
import { viewer } from "./viewer";
export const insertViewerSchema = createInsertSchema(viewer);
export const selectViewerSchema = createSelectSchema(viewer);
export type InsertViewer = z.infer<typeof insertViewerSchema>;export type Viewer = z.infer<typeof selectViewerSchema>;