49 lines
4.9 KiB
JavaScript
49 lines
4.9 KiB
JavaScript
"use strict";
|
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
}
|
|
Object.defineProperty(o, k2, desc);
|
|
}) : (function(o, m, k, k2) {
|
|
if (k2 === undefined) k2 = k;
|
|
o[k2] = m[k];
|
|
}));
|
|
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
}) : function(o, v) {
|
|
o["default"] = v;
|
|
});
|
|
var __importStar = (this && this.__importStar) || (function () {
|
|
var ownKeys = function(o) {
|
|
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
var ar = [];
|
|
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
return ar;
|
|
};
|
|
return ownKeys(o);
|
|
};
|
|
return function (mod) {
|
|
if (mod && mod.__esModule) return mod;
|
|
var result = {};
|
|
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
__setModuleDefault(result, mod);
|
|
return result;
|
|
};
|
|
})();
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.CloudFileChunkGroupByZodSchema = exports.CloudFileChunkGroupBySchema = void 0;
|
|
const z = __importStar(require("zod"));
|
|
const CloudFileChunkWhereInput_schema_1 = require("./objects/CloudFileChunkWhereInput.schema");
|
|
const CloudFileChunkOrderByWithAggregationInput_schema_1 = require("./objects/CloudFileChunkOrderByWithAggregationInput.schema");
|
|
const CloudFileChunkScalarWhereWithAggregatesInput_schema_1 = require("./objects/CloudFileChunkScalarWhereWithAggregatesInput.schema");
|
|
const CloudFileChunkScalarFieldEnum_schema_1 = require("./enums/CloudFileChunkScalarFieldEnum.schema");
|
|
const CloudFileChunkCountAggregateInput_schema_1 = require("./objects/CloudFileChunkCountAggregateInput.schema");
|
|
const CloudFileChunkMinAggregateInput_schema_1 = require("./objects/CloudFileChunkMinAggregateInput.schema");
|
|
const CloudFileChunkMaxAggregateInput_schema_1 = require("./objects/CloudFileChunkMaxAggregateInput.schema");
|
|
const CloudFileChunkAvgAggregateInput_schema_1 = require("./objects/CloudFileChunkAvgAggregateInput.schema");
|
|
const CloudFileChunkSumAggregateInput_schema_1 = require("./objects/CloudFileChunkSumAggregateInput.schema");
|
|
exports.CloudFileChunkGroupBySchema = z.object({ where: CloudFileChunkWhereInput_schema_1.CloudFileChunkWhereInputObjectSchema.optional(), orderBy: z.union([CloudFileChunkOrderByWithAggregationInput_schema_1.CloudFileChunkOrderByWithAggregationInputObjectSchema, CloudFileChunkOrderByWithAggregationInput_schema_1.CloudFileChunkOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CloudFileChunkScalarWhereWithAggregatesInput_schema_1.CloudFileChunkScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CloudFileChunkScalarFieldEnum_schema_1.CloudFileChunkScalarFieldEnumSchema), _count: z.union([z.literal(true), CloudFileChunkCountAggregateInput_schema_1.CloudFileChunkCountAggregateInputObjectSchema]).optional(), _min: CloudFileChunkMinAggregateInput_schema_1.CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInput_schema_1.CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInput_schema_1.CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInput_schema_1.CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict();
|
|
exports.CloudFileChunkGroupByZodSchema = z.object({ where: CloudFileChunkWhereInput_schema_1.CloudFileChunkWhereInputObjectSchema.optional(), orderBy: z.union([CloudFileChunkOrderByWithAggregationInput_schema_1.CloudFileChunkOrderByWithAggregationInputObjectSchema, CloudFileChunkOrderByWithAggregationInput_schema_1.CloudFileChunkOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CloudFileChunkScalarWhereWithAggregatesInput_schema_1.CloudFileChunkScalarWhereWithAggregatesInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), by: z.array(CloudFileChunkScalarFieldEnum_schema_1.CloudFileChunkScalarFieldEnumSchema), _count: z.union([z.literal(true), CloudFileChunkCountAggregateInput_schema_1.CloudFileChunkCountAggregateInputObjectSchema]).optional(), _min: CloudFileChunkMinAggregateInput_schema_1.CloudFileChunkMinAggregateInputObjectSchema.optional(), _max: CloudFileChunkMaxAggregateInput_schema_1.CloudFileChunkMaxAggregateInputObjectSchema.optional(), _avg: CloudFileChunkAvgAggregateInput_schema_1.CloudFileChunkAvgAggregateInputObjectSchema.optional(), _sum: CloudFileChunkSumAggregateInput_schema_1.CloudFileChunkSumAggregateInputObjectSchema.optional() }).strict();
|