initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { EnumPdfTitleKeyFilterObjectSchema as EnumPdfTitleKeyFilterObjectSchema } from './EnumPdfTitleKeyFilter.schema';
|
||||
import { PdfTitleKeySchema } from '../enums/PdfTitleKey.schema';
|
||||
import { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema';
|
||||
import { PatientScalarRelationFilterObjectSchema as PatientScalarRelationFilterObjectSchema } from './PatientScalarRelationFilter.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
|
||||
import { PdfFileListRelationFilterObjectSchema as PdfFileListRelationFilterObjectSchema } from './PdfFileListRelationFilter.schema'
|
||||
|
||||
const pdfgroupwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => PdfGroupWhereInputObjectSchema), z.lazy(() => PdfGroupWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => PdfGroupWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => PdfGroupWhereInputObjectSchema), z.lazy(() => PdfGroupWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
title: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
titleKey: z.union([z.lazy(() => EnumPdfTitleKeyFilterObjectSchema), PdfTitleKeySchema]).optional(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
patient: z.union([z.lazy(() => PatientScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInputObjectSchema)]).optional(),
|
||||
pdfs: z.lazy(() => PdfFileListRelationFilterObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PdfGroupWhereInputObjectSchema: z.ZodType<Prisma.PdfGroupWhereInput> = pdfgroupwhereinputSchema as unknown as z.ZodType<Prisma.PdfGroupWhereInput>;
|
||||
export const PdfGroupWhereInputObjectZodSchema = pdfgroupwhereinputSchema;
|
||||
Reference in New Issue
Block a user