cal.pub0.org/packages/trpc/server/routers/viewer/apiKeys/delete.schema.ts

9 lines
201 B
TypeScript

import { z } from "zod";
export const ZDeleteInputSchema = z.object({
id: z.string(),
eventTypeId: z.number().optional(),
});
export type TDeleteInputSchema = z.infer<typeof ZDeleteInputSchema>;