initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ServiceLineCreateWithoutPaymentInputObjectSchema as ServiceLineCreateWithoutPaymentInputObjectSchema } from './ServiceLineCreateWithoutPaymentInput.schema';
|
||||
import { ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema as ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema } from './ServiceLineUncheckedCreateWithoutPaymentInput.schema';
|
||||
import { ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema as ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema } from './ServiceLineCreateOrConnectWithoutPaymentInput.schema';
|
||||
import { ServiceLineCreateManyPaymentInputEnvelopeObjectSchema as ServiceLineCreateManyPaymentInputEnvelopeObjectSchema } from './ServiceLineCreateManyPaymentInputEnvelope.schema';
|
||||
import { ServiceLineWhereUniqueInputObjectSchema as ServiceLineWhereUniqueInputObjectSchema } from './ServiceLineWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineCreateWithoutPaymentInputObjectSchema).array(), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutPaymentInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema), z.lazy(() => ServiceLineCreateOrConnectWithoutPaymentInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => ServiceLineCreateManyPaymentInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => ServiceLineWhereUniqueInputObjectSchema), z.lazy(() => ServiceLineWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const ServiceLineCreateNestedManyWithoutPaymentInputObjectSchema: z.ZodType<Prisma.ServiceLineCreateNestedManyWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineCreateNestedManyWithoutPaymentInput>;
|
||||
export const ServiceLineCreateNestedManyWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user