initial commit
This commit is contained in:
11
packages/db/shared/schemas/updateOneNotification.schema.ts
Normal file
11
packages/db/shared/schemas/updateOneNotification.schema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { NotificationSelectObjectSchema as NotificationSelectObjectSchema } from './objects/NotificationSelect.schema';
|
||||
import { NotificationIncludeObjectSchema as NotificationIncludeObjectSchema } from './objects/NotificationInclude.schema';
|
||||
import { NotificationUpdateInputObjectSchema as NotificationUpdateInputObjectSchema } from './objects/NotificationUpdateInput.schema';
|
||||
import { NotificationUncheckedUpdateInputObjectSchema as NotificationUncheckedUpdateInputObjectSchema } from './objects/NotificationUncheckedUpdateInput.schema';
|
||||
import { NotificationWhereUniqueInputObjectSchema as NotificationWhereUniqueInputObjectSchema } from './objects/NotificationWhereUniqueInput.schema';
|
||||
|
||||
export const NotificationUpdateOneSchema: z.ZodType<Prisma.NotificationUpdateArgs> = z.object({ select: NotificationSelectObjectSchema.optional(), include: NotificationIncludeObjectSchema.optional(), data: z.union([NotificationUpdateInputObjectSchema, NotificationUncheckedUpdateInputObjectSchema]), where: NotificationWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.NotificationUpdateArgs>;
|
||||
|
||||
export const NotificationUpdateOneZodSchema = z.object({ select: NotificationSelectObjectSchema.optional(), include: NotificationIncludeObjectSchema.optional(), data: z.union([NotificationUpdateInputObjectSchema, NotificationUncheckedUpdateInputObjectSchema]), where: NotificationWhereUniqueInputObjectSchema }).strict();
|
||||
Reference in New Issue
Block a user