11 lines
765 B
TypeScript
11 lines
765 B
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { AppointmentCreateManyStaffInputObjectSchema as AppointmentCreateManyStaffInputObjectSchema } from './AppointmentCreateManyStaffInput.schema'
|
|
|
|
const makeSchema = () => z.object({
|
|
data: z.union([z.lazy(() => AppointmentCreateManyStaffInputObjectSchema), z.lazy(() => AppointmentCreateManyStaffInputObjectSchema).array()]),
|
|
skipDuplicates: z.boolean().optional()
|
|
}).strict();
|
|
export const AppointmentCreateManyStaffInputEnvelopeObjectSchema: z.ZodType<Prisma.AppointmentCreateManyStaffInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateManyStaffInputEnvelope>;
|
|
export const AppointmentCreateManyStaffInputEnvelopeObjectZodSchema = makeSchema();
|