cal.pub0.org/packages/trpc/server/routers/viewer/teams/setInviteExpiration.schema.ts

9 lines
245 B
TypeScript

import { z } from "zod";
export const ZSetInviteExpirationInputSchema = z.object({
token: z.string(),
expiresInDays: z.number().optional(),
});
export type TSetInviteExpirationInputSchema = z.infer<typeof ZSetInviteExpirationInputSchema>;