UNPKG

renovate

Version:

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

20 lines 625 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MiseFile = void 0; const zod_1 = require("zod"); const schema_utils_1 = require("../../../util/schema-utils"); const MiseToolOptions = zod_1.z.object({ // ubi backend only tag_regex: zod_1.z.string().optional(), }); const MiseTool = zod_1.z.union([ zod_1.z.string(), MiseToolOptions.extend({ version: zod_1.z.string().optional(), }), zod_1.z.array(zod_1.z.string()), ]); exports.MiseFile = schema_utils_1.Toml.pipe(zod_1.z.object({ tools: zod_1.z.record(MiseTool), })); //# sourceMappingURL=schema.js.map