first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { z } from 'zod';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { UserCountOrderByAggregateInputObjectSchema } from './UserCountOrderByAggregateInput.schema';
|
||||
import { UserAvgOrderByAggregateInputObjectSchema } from './UserAvgOrderByAggregateInput.schema';
|
||||
import { UserMaxOrderByAggregateInputObjectSchema } from './UserMaxOrderByAggregateInput.schema';
|
||||
import { UserMinOrderByAggregateInputObjectSchema } from './UserMinOrderByAggregateInput.schema';
|
||||
import { UserSumOrderByAggregateInputObjectSchema } from './UserSumOrderByAggregateInput.schema';
|
||||
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
const Schema: z.ZodType<Prisma.UserOrderByWithAggregationInput> = z
|
||||
.object({
|
||||
id: z.lazy(() => SortOrderSchema).optional(),
|
||||
username: z.lazy(() => SortOrderSchema).optional(),
|
||||
password: z.lazy(() => 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 = Schema;
|
||||
Reference in New Issue
Block a user