declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
18 lines • 814 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProjectCheckContext = void 0;
const domain_objects_1 = require("domain-objects");
const joi_1 = __importDefault(require("joi"));
const schema = joi_1.default.object().keys({
projectVariables: joi_1.default.object().required(),
projectPractices: joi_1.default.array().items(joi_1.default.string()).required(),
getProjectRootDirectory: joi_1.default.function().required(),
});
class ProjectCheckContext extends domain_objects_1.DomainObject {
}
exports.ProjectCheckContext = ProjectCheckContext;
ProjectCheckContext.schema = schema;
//# sourceMappingURL=ProjectCheckContext.js.map
;