// Code generated by automation script, DO NOT EDIT. // Automated by pulling database and generating zod schema // To update. Just run npm run generate:schema // Written by akhilmhdh. import { z } from "zod"; import { TImmutableDBKeys } from "./models"; export const RemindersSchema = z.object({ id: z.string().uuid(), secretId: z.string().uuid().nullable().optional(), message: z.string().nullable().optional(), repeatDays: z.number().nullable().optional(), nextReminderDate: z.date(), createdAt: z.date(), updatedAt: z.date(), fromDate: z.date().nullable().optional() }); export type TReminders = z.infer; export type TRemindersInsert = Omit, TImmutableDBKeys>; export type TRemindersUpdate = Partial, TImmutableDBKeys>>;