UNPKG

declapract

Version:

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

17 lines 705 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExampleDeclaration = void 0; const domain_objects_1 = require("domain-objects"); const joi_1 = __importDefault(require("joi")); const schema = joi_1.default.object().keys({ name: joi_1.default.string().required(), exampleRootDirectory: joi_1.default.string().required(), }); class ExampleDeclaration extends domain_objects_1.DomainObject { } exports.ExampleDeclaration = ExampleDeclaration; ExampleDeclaration.schema = schema; //# sourceMappingURL=ExampleDeclaration.js.map