cal.pub0.org/apps/web/prisma/zod/remindermail.ts

12 lines
324 B
TypeScript

import * as z from "zod";
import * as imports from "../zod-utils";
import { ReminderType } from "@prisma/client";
export const _ReminderMailModel = z.object({
id: z.number().int(),
referenceId: z.number().int(),
reminderType: z.nativeEnum(ReminderType),
elapsedMinutes: z.number().int(),
createdAt: z.date(),
});