12 lines
604 B
TypeScript
12 lines
604 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentSelectObjectSchema as AppointmentSelectObjectSchema } from './AppointmentSelect.schema';
|
|
import { AppointmentIncludeObjectSchema as AppointmentIncludeObjectSchema } from './AppointmentInclude.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
select: z.lazy(() => AppointmentSelectObjectSchema).optional(),
|
|
include: z.lazy(() => AppointmentIncludeObjectSchema).optional()
|
|
}).strict();
|
|
export const AppointmentArgsObjectSchema = makeSchema();
|
|
export const AppointmentArgsObjectZodSchema = makeSchema();
|