UNPKG

@common-grants/cli

Version:
10 lines (9 loc) 357 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PreviewArgsSchema = void 0; const zod_1 = require("zod"); exports.PreviewArgsSchema = zod_1.z.object({ specPath: zod_1.z.string().refine(path => path.endsWith(".yaml") || path.endsWith(".json"), { message: "Spec path must end with .yaml or .json", }), });