initial commit
This commit is contained in:
9
packages/db/shared/schemas/deleteOnePatient.schema.ts
Normal file
9
packages/db/shared/schemas/deleteOnePatient.schema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Prisma } from '../../generated/prisma';
|
||||
import * as z from 'zod';
|
||||
import { PatientSelectObjectSchema as PatientSelectObjectSchema } from './objects/PatientSelect.schema';
|
||||
import { PatientIncludeObjectSchema as PatientIncludeObjectSchema } from './objects/PatientInclude.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './objects/PatientWhereUniqueInput.schema';
|
||||
|
||||
export const PatientDeleteOneSchema: z.ZodType<Prisma.PatientDeleteArgs> = z.object({ select: PatientSelectObjectSchema.optional(), include: PatientIncludeObjectSchema.optional(), where: PatientWhereUniqueInputObjectSchema }).strict() as unknown as z.ZodType<Prisma.PatientDeleteArgs>;
|
||||
|
||||
export const PatientDeleteOneZodSchema = z.object({ select: PatientSelectObjectSchema.optional(), include: PatientIncludeObjectSchema.optional(), where: PatientWhereUniqueInputObjectSchema }).strict();
|
||||
Reference in New Issue
Block a user