contexify
Version:
A TypeScript library providing a powerful dependency injection container with context-based IoC capabilities, inspired by LoopBack's Context system.
28 lines • 1.21 kB
JavaScript
import { BindingKey } from "../binding/binding-key.js";
(function(ContextTags2) {
ContextTags2.CLASS = "class";
ContextTags2.PROVIDER = "provider";
ContextTags2.DYNAMIC_VALUE_PROVIDER = "dynamicValueProvider";
ContextTags2.TYPE = "type";
ContextTags2.NAMESPACE = "namespace";
ContextTags2.NAME = "name";
ContextTags2.KEY = "key";
ContextTags2.CONFIGURATION_FOR = "configurationFor";
ContextTags2.GLOBAL_INTERCEPTOR = "globalInterceptor";
ContextTags2.GLOBAL_INTERCEPTOR_SOURCE = "globalInterceptorSource";
ContextTags2.GLOBAL_INTERCEPTOR_GROUP = "globalInterceptorGroup";
})(ContextTags || (ContextTags = {}));
const GLOBAL_INTERCEPTOR_NAMESPACE = "globalInterceptors";
const LOCAL_INTERCEPTOR_NAMESPACE = "interceptors";
(function(ContextBindings2) {
ContextBindings2.CONFIGURATION_RESOLVER = BindingKey.create(`${BindingKey.CONFIG_NAMESPACE}.resolver`);
ContextBindings2.GLOBAL_INTERCEPTOR_ORDERED_GROUPS = BindingKey.create("globalInterceptor.orderedGroups");
})(ContextBindings || (ContextBindings = {}));
var ContextTags, ContextBindings;
export {
ContextBindings,
ContextTags,
GLOBAL_INTERCEPTOR_NAMESPACE,
LOCAL_INTERCEPTOR_NAMESPACE
};
//# sourceMappingURL=keys.js.map