initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { DateTimeFilterObjectSchema as DateTimeFilterObjectSchema } from './DateTimeFilter.schema'
|
||||
|
||||
const databasebackupscalarwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema), z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema), z.lazy(() => DatabaseBackupScalarWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
export const DatabaseBackupScalarWhereInputObjectSchema: z.ZodType<Prisma.DatabaseBackupScalarWhereInput> = databasebackupscalarwhereinputSchema as unknown as z.ZodType<Prisma.DatabaseBackupScalarWhereInput>;
|
||||
export const DatabaseBackupScalarWhereInputObjectZodSchema = databasebackupscalarwhereinputSchema;
|
||||
Reference in New Issue
Block a user