UNPKG

prisma-zod-generator

Version:

Prisma 2+ generator to emit Zod schemas from your Prisma schema

27 lines 1.08 kB
"use strict"; /** * Variant Management System Types * Defines TypeScript interfaces for schema variant generation system */ Object.defineProperty(exports, "__esModule", { value: true }); exports.VariantType = void 0; /** * Supported schema variant types */ var VariantType; (function (VariantType) { VariantType["PURE"] = "pure"; VariantType["INPUT"] = "input"; VariantType["RESULT"] = "result"; })(VariantType || (exports.VariantType = VariantType = {})); /* * The four DEFAULT_* constant tables that used to live here (naming configs, * field exclusions, validation customizations, schema options) were read only by * src/variants/{generator,config,exports}.ts and src/utils/naming.ts — an * abandoned second implementation of the variants feature. The shipped one lives * in prisma-generator.ts, transformer.ts, generators/model.ts and * utils/naming-resolver.ts. All five files were removed, so the tables went with * them; `VariantConfig` below is what config/parser.ts and config/defaults.ts * actually use. */ //# sourceMappingURL=variants.js.map