UNPKG

arch-unit-ts

Version:
30 lines 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClassesThatInternal = void 0; const TypeScriptClass_1 = require("../../core/domain/TypeScriptClass"); class ClassesThatInternal { addPredicate; constructor(addPredicate) { this.addPredicate = addPredicate; } resideInAPackage(packageIdentifier) { return this.addPredicate(TypeScriptClass_1.TypeScriptClass.resideInAPackage(packageIdentifier)); } resideInAnyPackage(...packageIdentifiers) { return this.addPredicate(TypeScriptClass_1.TypeScriptClass.resideInAnyPackage(packageIdentifiers)); } haveSimpleNameStartingWith(prefix) { return this.givenWith(TypeScriptClass_1.TypeScriptClass.simpleNameStartingWith(prefix)); } haveSimpleNameEndingWith(prefix) { return this.givenWith(TypeScriptClass_1.TypeScriptClass.simpleNameEndingWith(prefix)); } areDecoratedWith(decorator) { return this.givenWith(TypeScriptClass_1.TypeScriptClass.areDecoratedWith(decorator)); } givenWith(predicate) { return this.addPredicate(predicate); } } exports.ClassesThatInternal = ClassesThatInternal; //# sourceMappingURL=ClassesThatInternal.js.map