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

10 lines
263 B
TypeScript

import { z } from "zod";
export const ZDeleteCredentialInputSchema = z.object({
id: z.number(),
externalId: z.string().optional(),
teamId: z.number().optional(),
});
export type TDeleteCredentialInputSchema = z.infer<typeof ZDeleteCredentialInputSchema>;