17 lines
1.6 KiB
TypeScript
17 lines
1.6 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
|
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema'
|
|
|
|
const claimfilescalarwherewithaggregatesinputSchema = z.object({
|
|
AND: z.union([z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
OR: z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
NOT: z.union([z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => ClaimFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
claimId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
|
filename: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
|
mimeType: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional()
|
|
}).strict();
|
|
export const ClaimFileScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.ClaimFileScalarWhereWithAggregatesInput> = claimfilescalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.ClaimFileScalarWhereWithAggregatesInput>;
|
|
export const ClaimFileScalarWhereWithAggregatesInputObjectZodSchema = claimfilescalarwherewithaggregatesinputSchema;
|