initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CommunicationWhereUniqueInputObjectSchema as CommunicationWhereUniqueInputObjectSchema } from './CommunicationWhereUniqueInput.schema';
|
||||
import { CommunicationUpdateWithoutPatientInputObjectSchema as CommunicationUpdateWithoutPatientInputObjectSchema } from './CommunicationUpdateWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedUpdateWithoutPatientInputObjectSchema as CommunicationUncheckedUpdateWithoutPatientInputObjectSchema } from './CommunicationUncheckedUpdateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CommunicationWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => CommunicationUpdateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedUpdateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const CommunicationUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.CommunicationUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CommunicationUpdateWithWhereUniqueWithoutPatientInput>;
|
||||
export const CommunicationUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user