UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

15 lines 597 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MiseFileSchemaToml = exports.MiseFileSchema = void 0; const zod_1 = require("zod"); const schema_utils_1 = require("../../../util/schema-utils"); const MiseToolSchema = zod_1.z.union([ zod_1.z.string(), zod_1.z.object({ version: zod_1.z.string().optional() }), zod_1.z.array(zod_1.z.string()), ]); exports.MiseFileSchema = zod_1.z.object({ tools: zod_1.z.record(MiseToolSchema), }); exports.MiseFileSchemaToml = schema_utils_1.Toml.pipe(exports.MiseFileSchema); //# sourceMappingURL=schema.js.map