initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { UserCountOrderByAggregateInputObjectSchema as UserCountOrderByAggregateInputObjectSchema } from './UserCountOrderByAggregateInput.schema';
|
||||
import { UserAvgOrderByAggregateInputObjectSchema as UserAvgOrderByAggregateInputObjectSchema } from './UserAvgOrderByAggregateInput.schema';
|
||||
import { UserMaxOrderByAggregateInputObjectSchema as UserMaxOrderByAggregateInputObjectSchema } from './UserMaxOrderByAggregateInput.schema';
|
||||
import { UserMinOrderByAggregateInputObjectSchema as UserMinOrderByAggregateInputObjectSchema } from './UserMinOrderByAggregateInput.schema';
|
||||
import { UserSumOrderByAggregateInputObjectSchema as UserSumOrderByAggregateInputObjectSchema } from './UserSumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
username: SortOrderSchema.optional(),
|
||||
password: SortOrderSchema.optional(),
|
||||
_count: z.lazy(() => UserCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => UserAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => UserMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => UserMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => UserSumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const UserOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.UserOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.UserOrderByWithAggregationInput>;
|
||||
export const UserOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user