import { z } from 'zod'; export const ZCreateTokenMutationSchema = z.object({ teamId: z.number(), tokenName: z.string().min(3, { message: 'The token name should be 3 characters or longer' }), expirationDate: z.string().nullable(), }); export type TCreateTokenMutationSchema = z.infer; export const ZDeleteTokenByIdMutationSchema = z.object({ id: z.number().min(1), teamId: z.number(), }); export type TDeleteTokenByIdMutationSchema = z.infer;