14 lines
3.0 KiB
TypeScript
14 lines
3.0 KiB
TypeScript
import type { Prisma } from '../../generated/prisma';
|
|
import * as z from 'zod';
|
|
import { BackupDestinationOrderByWithRelationInputObjectSchema as BackupDestinationOrderByWithRelationInputObjectSchema } from './objects/BackupDestinationOrderByWithRelationInput.schema';
|
|
import { BackupDestinationWhereInputObjectSchema as BackupDestinationWhereInputObjectSchema } from './objects/BackupDestinationWhereInput.schema';
|
|
import { BackupDestinationWhereUniqueInputObjectSchema as BackupDestinationWhereUniqueInputObjectSchema } from './objects/BackupDestinationWhereUniqueInput.schema';
|
|
import { BackupDestinationCountAggregateInputObjectSchema as BackupDestinationCountAggregateInputObjectSchema } from './objects/BackupDestinationCountAggregateInput.schema';
|
|
import { BackupDestinationMinAggregateInputObjectSchema as BackupDestinationMinAggregateInputObjectSchema } from './objects/BackupDestinationMinAggregateInput.schema';
|
|
import { BackupDestinationMaxAggregateInputObjectSchema as BackupDestinationMaxAggregateInputObjectSchema } from './objects/BackupDestinationMaxAggregateInput.schema';
|
|
import { BackupDestinationAvgAggregateInputObjectSchema as BackupDestinationAvgAggregateInputObjectSchema } from './objects/BackupDestinationAvgAggregateInput.schema';
|
|
import { BackupDestinationSumAggregateInputObjectSchema as BackupDestinationSumAggregateInputObjectSchema } from './objects/BackupDestinationSumAggregateInput.schema';
|
|
|
|
export const BackupDestinationAggregateSchema: z.ZodType<Prisma.BackupDestinationAggregateArgs> = z.object({ orderBy: z.union([BackupDestinationOrderByWithRelationInputObjectSchema, BackupDestinationOrderByWithRelationInputObjectSchema.array()]).optional(), where: BackupDestinationWhereInputObjectSchema.optional(), cursor: BackupDestinationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), BackupDestinationCountAggregateInputObjectSchema ]).optional(), _min: BackupDestinationMinAggregateInputObjectSchema.optional(), _max: BackupDestinationMaxAggregateInputObjectSchema.optional(), _avg: BackupDestinationAvgAggregateInputObjectSchema.optional(), _sum: BackupDestinationSumAggregateInputObjectSchema.optional() }).strict() as unknown as z.ZodType<Prisma.BackupDestinationAggregateArgs>;
|
|
|
|
export const BackupDestinationAggregateZodSchema = z.object({ orderBy: z.union([BackupDestinationOrderByWithRelationInputObjectSchema, BackupDestinationOrderByWithRelationInputObjectSchema.array()]).optional(), where: BackupDestinationWhereInputObjectSchema.optional(), cursor: BackupDestinationWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), _count: z.union([ z.literal(true), BackupDestinationCountAggregateInputObjectSchema ]).optional(), _min: BackupDestinationMinAggregateInputObjectSchema.optional(), _max: BackupDestinationMaxAggregateInputObjectSchema.optional(), _avg: BackupDestinationAvgAggregateInputObjectSchema.optional(), _sum: BackupDestinationSumAggregateInputObjectSchema.optional() }).strict(); |