initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { BackupDestinationCountOrderByAggregateInputObjectSchema as BackupDestinationCountOrderByAggregateInputObjectSchema } from './BackupDestinationCountOrderByAggregateInput.schema';
|
||||
import { BackupDestinationAvgOrderByAggregateInputObjectSchema as BackupDestinationAvgOrderByAggregateInputObjectSchema } from './BackupDestinationAvgOrderByAggregateInput.schema';
|
||||
import { BackupDestinationMaxOrderByAggregateInputObjectSchema as BackupDestinationMaxOrderByAggregateInputObjectSchema } from './BackupDestinationMaxOrderByAggregateInput.schema';
|
||||
import { BackupDestinationMinOrderByAggregateInputObjectSchema as BackupDestinationMinOrderByAggregateInputObjectSchema } from './BackupDestinationMinOrderByAggregateInput.schema';
|
||||
import { BackupDestinationSumOrderByAggregateInputObjectSchema as BackupDestinationSumOrderByAggregateInputObjectSchema } from './BackupDestinationSumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
path: SortOrderSchema.optional(),
|
||||
isActive: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
_count: z.lazy(() => BackupDestinationCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => BackupDestinationAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => BackupDestinationMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => BackupDestinationMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => BackupDestinationSumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const BackupDestinationOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.BackupDestinationOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.BackupDestinationOrderByWithAggregationInput>;
|
||||
export const BackupDestinationOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
Reference in New Issue
Block a user