cal.pub0.org/packages/trpc/server/routers/loggedInViewer/away.schema.ts

8 lines
160 B
TypeScript

import { z } from "zod";
export const ZAwayInputSchema = z.object({
away: z.boolean(),
});
export type TAwayInputSchema = z.infer<typeof ZAwayInputSchema>;