@vulcan-sql/core
Version:
Core package of VulcanSQL
15 lines • 668 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.validatorLoaderModule = void 0;
const tslib_1 = require("tslib");
const inversify_1 = require("inversify");
const validators_1 = require("../../lib/validators/index");
const types_1 = require("../types");
const validatorLoaderModule = () => new inversify_1.AsyncContainerModule((bind) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
// Validator Loader
bind(types_1.TYPES.ValidatorLoader)
.to(validators_1.ValidatorLoader)
.inSingletonScope();
}));
exports.validatorLoaderModule = validatorLoaderModule;
//# sourceMappingURL=validatorLoader.js.map