62 lines
6.2 KiB
JavaScript
62 lines
6.2 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.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = exports.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema = void 0;
|
|
const z = __importStar(require("zod"));
|
|
const BackupDestinationCreateWithoutUserInput_schema_1 = require("./BackupDestinationCreateWithoutUserInput.schema");
|
|
const BackupDestinationUncheckedCreateWithoutUserInput_schema_1 = require("./BackupDestinationUncheckedCreateWithoutUserInput.schema");
|
|
const BackupDestinationCreateOrConnectWithoutUserInput_schema_1 = require("./BackupDestinationCreateOrConnectWithoutUserInput.schema");
|
|
const BackupDestinationUpsertWithWhereUniqueWithoutUserInput_schema_1 = require("./BackupDestinationUpsertWithWhereUniqueWithoutUserInput.schema");
|
|
const BackupDestinationCreateManyUserInputEnvelope_schema_1 = require("./BackupDestinationCreateManyUserInputEnvelope.schema");
|
|
const BackupDestinationWhereUniqueInput_schema_1 = require("./BackupDestinationWhereUniqueInput.schema");
|
|
const BackupDestinationUpdateWithWhereUniqueWithoutUserInput_schema_1 = require("./BackupDestinationUpdateWithWhereUniqueWithoutUserInput.schema");
|
|
const BackupDestinationUpdateManyWithWhereWithoutUserInput_schema_1 = require("./BackupDestinationUpdateManyWithWhereWithoutUserInput.schema");
|
|
const BackupDestinationScalarWhereInput_schema_1 = require("./BackupDestinationScalarWhereInput.schema");
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => BackupDestinationCreateWithoutUserInput_schema_1.BackupDestinationCreateWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationCreateWithoutUserInput_schema_1.BackupDestinationCreateWithoutUserInputObjectSchema).array(), z.lazy(() => BackupDestinationUncheckedCreateWithoutUserInput_schema_1.BackupDestinationUncheckedCreateWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUncheckedCreateWithoutUserInput_schema_1.BackupDestinationUncheckedCreateWithoutUserInputObjectSchema).array()]).optional(),
|
|
connectOrCreate: z.union([z.lazy(() => BackupDestinationCreateOrConnectWithoutUserInput_schema_1.BackupDestinationCreateOrConnectWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationCreateOrConnectWithoutUserInput_schema_1.BackupDestinationCreateOrConnectWithoutUserInputObjectSchema).array()]).optional(),
|
|
upsert: z.union([z.lazy(() => BackupDestinationUpsertWithWhereUniqueWithoutUserInput_schema_1.BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpsertWithWhereUniqueWithoutUserInput_schema_1.BackupDestinationUpsertWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
|
createMany: z.lazy(() => BackupDestinationCreateManyUserInputEnvelope_schema_1.BackupDestinationCreateManyUserInputEnvelopeObjectSchema).optional(),
|
|
set: z.union([z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
|
disconnect: z.union([z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
|
delete: z.union([z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
|
connect: z.union([z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema), z.lazy(() => BackupDestinationWhereUniqueInput_schema_1.BackupDestinationWhereUniqueInputObjectSchema).array()]).optional(),
|
|
update: z.union([z.lazy(() => BackupDestinationUpdateWithWhereUniqueWithoutUserInput_schema_1.BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpdateWithWhereUniqueWithoutUserInput_schema_1.BackupDestinationUpdateWithWhereUniqueWithoutUserInputObjectSchema).array()]).optional(),
|
|
updateMany: z.union([z.lazy(() => BackupDestinationUpdateManyWithWhereWithoutUserInput_schema_1.BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema), z.lazy(() => BackupDestinationUpdateManyWithWhereWithoutUserInput_schema_1.BackupDestinationUpdateManyWithWhereWithoutUserInputObjectSchema).array()]).optional(),
|
|
deleteMany: z.union([z.lazy(() => BackupDestinationScalarWhereInput_schema_1.BackupDestinationScalarWhereInputObjectSchema), z.lazy(() => BackupDestinationScalarWhereInput_schema_1.BackupDestinationScalarWhereInputObjectSchema).array()]).optional()
|
|
}).strict();
|
|
exports.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectSchema = makeSchema();
|
|
exports.BackupDestinationUncheckedUpdateManyWithoutUserNestedInputObjectZodSchema = makeSchema();
|