UNPKG

declapract

Version:

A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.

22 lines 932 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ActionDeclarePracticesConfigInput = void 0; const domain_objects_1 = require("domain-objects"); const joi_1 = __importDefault(require("joi")); const schema = joi_1.default.object().keys({ declare: joi_1.default.object() .keys({ examples: joi_1.default.string().optional(), 'use-cases': joi_1.default.string().required(), practices: joi_1.default.string().required(), }) .required(), }); class ActionDeclarePracticesConfigInput extends domain_objects_1.DomainObject { } exports.ActionDeclarePracticesConfigInput = ActionDeclarePracticesConfigInput; ActionDeclarePracticesConfigInput.schema = schema; //# sourceMappingURL=ActionDeclarePracticesConfigInput.js.map