first commit

This commit is contained in:
2025-05-08 21:27:29 +05:30
commit 230d5c89f0
343 changed files with 42391 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { z } from 'zod';
import { PatientWhereInputObjectSchema } from './objects/PatientWhereInput.schema';
import { PatientOrderByWithAggregationInputObjectSchema } from './objects/PatientOrderByWithAggregationInput.schema';
import { PatientScalarWhereWithAggregatesInputObjectSchema } from './objects/PatientScalarWhereWithAggregatesInput.schema';
import { PatientScalarFieldEnumSchema } from './enums/PatientScalarFieldEnum.schema';
export const PatientGroupBySchema = z.object({
where: PatientWhereInputObjectSchema.optional(),
orderBy: z
.union([
PatientOrderByWithAggregationInputObjectSchema,
PatientOrderByWithAggregationInputObjectSchema.array(),
])
.optional(),
having: PatientScalarWhereWithAggregatesInputObjectSchema.optional(),
take: z.number().optional(),
skip: z.number().optional(),
by: z.array(PatientScalarFieldEnumSchema),
});