@common-grants/cli
Version:
The CommonGrants protocol CLI tool
10 lines (9 loc) • 357 B
JavaScript
;
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",
}),
});