23 lines
949 B
TypeScript
23 lines
949 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
|
|
|
|
const makeSchema = () => z.object({
|
|
id: z.literal(true).optional(),
|
|
patientId: z.literal(true).optional(),
|
|
userId: z.literal(true).optional(),
|
|
staffId: z.literal(true).optional(),
|
|
title: z.literal(true).optional(),
|
|
date: z.literal(true).optional(),
|
|
startTime: z.literal(true).optional(),
|
|
endTime: z.literal(true).optional(),
|
|
type: z.literal(true).optional(),
|
|
notes: z.literal(true).optional(),
|
|
procedureCodeNotes: z.literal(true).optional(),
|
|
status: z.literal(true).optional(),
|
|
createdAt: z.literal(true).optional(),
|
|
eligibilityStatus: z.literal(true).optional()
|
|
}).strict();
|
|
export const AppointmentMaxAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentMaxAggregateInputType>;
|
|
export const AppointmentMaxAggregateInputObjectZodSchema = makeSchema();
|