initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUpdateWithoutServiceLineTransactionsInput.schema';
|
||||
import { ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInput.schema';
|
||||
import { ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineCreateWithoutServiceLineTransactionsInput.schema';
|
||||
import { ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema as ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema } from './ServiceLineUncheckedCreateWithoutServiceLineTransactionsInput.schema';
|
||||
import { ServiceLineWhereInputObjectSchema as ServiceLineWhereInputObjectSchema } from './ServiceLineWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
update: z.union([z.lazy(() => ServiceLineUpdateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedUpdateWithoutServiceLineTransactionsInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => ServiceLineCreateWithoutServiceLineTransactionsInputObjectSchema), z.lazy(() => ServiceLineUncheckedCreateWithoutServiceLineTransactionsInputObjectSchema)]),
|
||||
where: z.lazy(() => ServiceLineWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const ServiceLineUpsertWithoutServiceLineTransactionsInputObjectSchema: z.ZodType<Prisma.ServiceLineUpsertWithoutServiceLineTransactionsInput> = makeSchema() as unknown as z.ZodType<Prisma.ServiceLineUpsertWithoutServiceLineTransactionsInput>;
|
||||
export const ServiceLineUpsertWithoutServiceLineTransactionsInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user