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.
539 B Β· 11 lines
TypeScript
123456789101112import { z } from "zod";
export const GetUserInput = z.object({ userId: z.number().int() });export type GetUserInput = z.infer<typeof GetUserInput>;
// `userId` is intentionally absent β the service derives it from// `ctx.actor` so the caller can't target a different user's account.// The schema is empty today and kept as a forward-compat object for// future fields (e.g., reason / confirmation token).export const DeleteAccountInput = z.object({}).strict();export type DeleteAccountInput = z.infer<typeof DeleteAccountInput>;