cal.pub0.org/packages/trpc/server/routers/viewer/admin/sendPasswordReset.schema.ts

8 lines
188 B
TypeScript

import { z } from "zod";
export const ZAdminPasswordResetSchema = z.object({
userId: z.number(),
});
export type TAdminPasswordResetSchema = z.infer<typeof ZAdminPasswordResetSchema>;