55 lines
3.7 KiB
JavaScript
55 lines
3.7 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.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectZodSchema = exports.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema = void 0;
|
|
const z = __importStar(require("zod"));
|
|
const PatientCreateWithoutPaymentInput_schema_1 = require("./PatientCreateWithoutPaymentInput.schema");
|
|
const PatientUncheckedCreateWithoutPaymentInput_schema_1 = require("./PatientUncheckedCreateWithoutPaymentInput.schema");
|
|
const PatientCreateOrConnectWithoutPaymentInput_schema_1 = require("./PatientCreateOrConnectWithoutPaymentInput.schema");
|
|
const PatientUpsertWithoutPaymentInput_schema_1 = require("./PatientUpsertWithoutPaymentInput.schema");
|
|
const PatientWhereUniqueInput_schema_1 = require("./PatientWhereUniqueInput.schema");
|
|
const PatientUpdateToOneWithWhereWithoutPaymentInput_schema_1 = require("./PatientUpdateToOneWithWhereWithoutPaymentInput.schema");
|
|
const PatientUpdateWithoutPaymentInput_schema_1 = require("./PatientUpdateWithoutPaymentInput.schema");
|
|
const PatientUncheckedUpdateWithoutPaymentInput_schema_1 = require("./PatientUncheckedUpdateWithoutPaymentInput.schema");
|
|
const makeSchema = () => z.object({
|
|
create: z.union([z.lazy(() => PatientCreateWithoutPaymentInput_schema_1.PatientCreateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutPaymentInput_schema_1.PatientUncheckedCreateWithoutPaymentInputObjectSchema)]).optional(),
|
|
connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutPaymentInput_schema_1.PatientCreateOrConnectWithoutPaymentInputObjectSchema).optional(),
|
|
upsert: z.lazy(() => PatientUpsertWithoutPaymentInput_schema_1.PatientUpsertWithoutPaymentInputObjectSchema).optional(),
|
|
connect: z.lazy(() => PatientWhereUniqueInput_schema_1.PatientWhereUniqueInputObjectSchema).optional(),
|
|
update: z.union([z.lazy(() => PatientUpdateToOneWithWhereWithoutPaymentInput_schema_1.PatientUpdateToOneWithWhereWithoutPaymentInputObjectSchema), z.lazy(() => PatientUpdateWithoutPaymentInput_schema_1.PatientUpdateWithoutPaymentInputObjectSchema), z.lazy(() => PatientUncheckedUpdateWithoutPaymentInput_schema_1.PatientUncheckedUpdateWithoutPaymentInputObjectSchema)]).optional()
|
|
}).strict();
|
|
exports.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectSchema = makeSchema();
|
|
exports.PatientUpdateOneRequiredWithoutPaymentNestedInputObjectZodSchema = makeSchema();
|