@navios/core 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +34 -11
- package/dist/index.d.ts +34 -11
- package/dist/index.js +155 -121
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +158 -127
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/config/config.provider.mts +11 -20
- package/src/service-locator/__tests__/injectable.spec.mts +2 -1
- package/src/service-locator/__tests__/injection-token.spec.mts +124 -0
- package/src/service-locator/decorators/get-injectable-token.mts +2 -6
- package/src/service-locator/decorators/injectable.decorator.mts +7 -46
- package/src/service-locator/errors/errors.enum.mts +1 -0
- package/src/service-locator/errors/factory-token-not-resolved.mts +10 -0
- package/src/service-locator/errors/index.mts +1 -0
- package/src/service-locator/index.mts +1 -0
- package/src/service-locator/inject.mts +4 -18
- package/src/service-locator/injection-token.mts +57 -6
- package/src/service-locator/resolve-service.mts +46 -0
- package/src/service-locator/service-locator.mts +87 -35
- package/src/service-locator/sync-injector.mts +0 -8
package/dist/index.d.mts
CHANGED
|
@@ -163,12 +163,27 @@ declare class InjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObjec
|
|
|
163
163
|
constructor(name: string | symbol | ClassType, schema: AnyZodObject | undefined);
|
|
164
164
|
static create<T extends ClassType>(name: T): InjectionToken<InstanceType<T>, undefined>;
|
|
165
165
|
static create<T extends ClassType, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: T, schema: Schema): InjectionToken<InstanceType<T>, Schema>;
|
|
166
|
-
static create<T>(name: string): InjectionToken<T, undefined>;
|
|
167
|
-
static create<T, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: string, schema: Schema): InjectionToken<T, Schema>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
166
|
+
static create<T>(name: string | symbol): InjectionToken<T, undefined>;
|
|
167
|
+
static create<T, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: string | any, schema: Schema): InjectionToken<T, Schema>;
|
|
168
|
+
static bound<T, S extends AnyZodObject | ZodOptional<AnyZodObject>>(token: InjectionToken<T, S>, value: z.input<S>): BoundInjectionToken<T, S>;
|
|
169
|
+
static factory<T, S extends AnyZodObject | ZodOptional<AnyZodObject>>(token: InjectionToken<T, S>, factory: () => Promise<z.input<S>>): FactoryInjectionToken<T, S>;
|
|
170
|
+
static refineType<T>(token: BoundInjectionToken<any, any>): BoundInjectionToken<T, any>;
|
|
171
|
+
}
|
|
172
|
+
declare class BoundInjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObject>> extends InjectionToken<T, undefined> {
|
|
173
|
+
readonly token: InjectionToken<T, S>;
|
|
174
|
+
readonly value: z.input<S>;
|
|
175
|
+
constructor(token: InjectionToken<T, S>, value: z.input<S>);
|
|
176
|
+
}
|
|
177
|
+
declare class FactoryInjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObject>> extends InjectionToken<T, S> {
|
|
178
|
+
readonly token: InjectionToken<T, S>;
|
|
179
|
+
readonly factory: () => Promise<z.input<S>>;
|
|
180
|
+
value?: z.input<S>;
|
|
181
|
+
resolved: boolean;
|
|
182
|
+
constructor(token: InjectionToken<T, S>, factory: () => Promise<z.input<S>>);
|
|
183
|
+
resolve(): Promise<z.input<S>>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare function getInjectableToken<R>(target: ClassType): R extends {
|
|
172
187
|
create(...args: any[]): infer V;
|
|
173
188
|
} ? InjectionToken<V> : InjectionToken<R>;
|
|
174
189
|
|
|
@@ -200,7 +215,8 @@ declare enum ErrorsEnum {
|
|
|
200
215
|
InstanceNotFound = "InstanceNotFound",
|
|
201
216
|
InstanceDestroying = "InstanceDestroying",
|
|
202
217
|
UnknownError = "UnknownError",
|
|
203
|
-
FactoryNotFound = "FactoryNotFound"
|
|
218
|
+
FactoryNotFound = "FactoryNotFound",
|
|
219
|
+
FactoryTokenNotResolved = "FactoryTokenNotResolved"
|
|
204
220
|
}
|
|
205
221
|
|
|
206
222
|
declare class FactoryNotFound extends Error {
|
|
@@ -209,6 +225,11 @@ declare class FactoryNotFound extends Error {
|
|
|
209
225
|
constructor(name: string);
|
|
210
226
|
}
|
|
211
227
|
|
|
228
|
+
declare class FactoryTokenNotResolved extends Error {
|
|
229
|
+
code: ErrorsEnum;
|
|
230
|
+
constructor(name: string | symbol | ClassType);
|
|
231
|
+
}
|
|
232
|
+
|
|
212
233
|
declare class InstanceDestroying extends Error {
|
|
213
234
|
name: string;
|
|
214
235
|
code: ErrorsEnum;
|
|
@@ -291,6 +312,7 @@ declare class ServiceLocator {
|
|
|
291
312
|
registerInstance<Instance>(token: InjectionToken<Instance, undefined>, instance: Instance): void;
|
|
292
313
|
removeInstance<Instance>(token: InjectionToken<Instance, undefined>): Promise<any>;
|
|
293
314
|
registerAbstractFactory<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, factory: (ctx: ServiceLocatorAbstractFactoryContext, values: Schema extends AnyZodObject ? z.output<Schema> : undefined) => Promise<Instance>, type?: InjectableScope): void;
|
|
315
|
+
private resolveTokenArgs;
|
|
294
316
|
getInstanceIdentifier<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): string;
|
|
295
317
|
getInstance<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): Promise<[undefined, Instance] | [UnknownError | FactoryNotFound]>;
|
|
296
318
|
getOrThrowInstance<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): Promise<Instance>;
|
|
@@ -384,6 +406,8 @@ declare function syncInject<T, S extends ZodOptional<AnyZodObject>>(token: Injec
|
|
|
384
406
|
declare function syncInject<T>(token: InjectionToken<T, undefined>): T;
|
|
385
407
|
declare function setPromiseCollector(collector: null | ((promise: Promise<any>) => void)): typeof promiseCollector;
|
|
386
408
|
|
|
409
|
+
declare function resolveService<T extends ClassType>(ctx: ServiceLocatorAbstractFactoryContext, target: T, args?: any[]): Promise<InstanceType<T>>;
|
|
410
|
+
|
|
387
411
|
declare const clc: {
|
|
388
412
|
bold: (text: string) => string;
|
|
389
413
|
green: (text: string) => string;
|
|
@@ -676,7 +700,6 @@ declare class ConfigServiceInstance<Config = Record<string, unknown>> implements
|
|
|
676
700
|
getOrThrow<Key extends Path<Config>>(key: Key, errorMessage?: string): PathValue<Config, Key>;
|
|
677
701
|
}
|
|
678
702
|
|
|
679
|
-
declare const ConfigProviderInjectionToken = "ConfigProvider";
|
|
680
703
|
declare const ConfigProviderOptions: z.ZodObject<{
|
|
681
704
|
load: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
|
|
682
705
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -692,10 +715,10 @@ declare const ConfigProvider: InjectionToken<ConfigService<Record<string, unknow
|
|
|
692
715
|
load: (...args: unknown[]) => unknown;
|
|
693
716
|
}>>;
|
|
694
717
|
declare class ConfigProviderFactory {
|
|
695
|
-
logger:
|
|
718
|
+
logger: LoggerInstance;
|
|
696
719
|
create(ctx: any, args: z.infer<typeof ConfigProviderOptions>): Promise<ConfigServiceInstance<unknown>>;
|
|
697
720
|
}
|
|
698
|
-
declare function
|
|
721
|
+
declare function provideConfig<ConfigMap extends Record<string, unknown>>(options: z.input<typeof ConfigProviderOptions>): InjectionToken<ConfigServiceInstance<ConfigMap>, undefined>;
|
|
699
722
|
|
|
700
723
|
interface ControllerOptions {
|
|
701
724
|
guards?: ClassType[] | Set<ClassType>;
|
|
@@ -914,4 +937,4 @@ declare class NaviosFactory {
|
|
|
914
937
|
private static registerLoggerConfiguration;
|
|
915
938
|
}
|
|
916
939
|
|
|
917
|
-
export { Application, AttributeFactory, BadRequestException, type CanActivate, type ChannelEmitter, type ClassAttribute, type ClassSchemaAttribute, type ClassType, type ClassTypeWithInstance, ConfigProvider, ConfigProviderFactory,
|
|
940
|
+
export { Application, AttributeFactory, BadRequestException, BoundInjectionToken, type CanActivate, type ChannelEmitter, type ClassAttribute, type ClassSchemaAttribute, type ClassType, type ClassTypeWithInstance, ConfigProvider, ConfigProviderFactory, ConfigProviderOptions, type ConfigService, ConfigServiceInstance, ConflictException, ConsoleLogger, type ConsoleLoggerOptions, Controller, ControllerAdapterService, type ControllerMetadata, ControllerMetadataKey, type ControllerOptions, Endpoint, type EndpointMetadata, EndpointMetadataKey, type EndpointParams, EndpointType, ErrorsEnum, EventEmitter, type EventEmitterInterface, type EventsArgs, type EventsConfig, type EventsNames, ExecutionContext, ExecutionContextInjectionToken, ExecutionContextToken, FactoryInjectionToken, FactoryNotFound, FactoryTokenNotResolved, ForbiddenException, GuardRunnerService, Header, HttpCode, HttpException, Injectable, type InjectableMetadata, type InjectableOptions, InjectableScope, InjectableTokenMeta, InjectableType, InjectionToken, InstanceDestroying, InstanceExpired, InstanceNotFound, InternalServerErrorException, LOG_LEVELS, type LogLevel, Logger, LoggerFactory, LoggerInjectionToken, LoggerInstance, LoggerOptions, type LoggerService, Module, ModuleLoaderService, type ModuleMetadata, ModuleMetadataKey, type ModuleOptions, NaviosApplication, type NaviosApplicationContextOptions, type NaviosApplicationOptions, NaviosFactory, type NaviosModule, NotFoundException, type Path, type PathImpl, type PathImpl2, type PathValue, PinoWrapper, Reply, Request, ServiceLocator, type ServiceLocatorAbstractFactoryContext, ServiceLocatorEventBus, type ServiceLocatorInstanceDestroyListener, type ServiceLocatorInstanceEffect, type ServiceLocatorInstanceHolder, type ServiceLocatorInstanceHolderCreated, type ServiceLocatorInstanceHolderCreating, type ServiceLocatorInstanceHolderDestroying, ServiceLocatorInstanceHolderKind, ServiceLocatorInstanceHolderStatus, ServiceLocatorManager, UnauthorizedException, UnknownError, UseGuards, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getInjectableToken, getModuleMetadata, getServiceLocator, hasControllerMetadata, hasModuleMetadata, inject, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, normalizePath, override, provideConfig, provideServiceLocator, resolveService, setPromiseCollector, stripEndSlash, syncInject, yellow };
|
package/dist/index.d.ts
CHANGED
|
@@ -163,12 +163,27 @@ declare class InjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObjec
|
|
|
163
163
|
constructor(name: string | symbol | ClassType, schema: AnyZodObject | undefined);
|
|
164
164
|
static create<T extends ClassType>(name: T): InjectionToken<InstanceType<T>, undefined>;
|
|
165
165
|
static create<T extends ClassType, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: T, schema: Schema): InjectionToken<InstanceType<T>, Schema>;
|
|
166
|
-
static create<T>(name: string): InjectionToken<T, undefined>;
|
|
167
|
-
static create<T, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: string, schema: Schema): InjectionToken<T, Schema>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
166
|
+
static create<T>(name: string | symbol): InjectionToken<T, undefined>;
|
|
167
|
+
static create<T, Schema extends AnyZodObject | ZodOptional<AnyZodObject>>(name: string | any, schema: Schema): InjectionToken<T, Schema>;
|
|
168
|
+
static bound<T, S extends AnyZodObject | ZodOptional<AnyZodObject>>(token: InjectionToken<T, S>, value: z.input<S>): BoundInjectionToken<T, S>;
|
|
169
|
+
static factory<T, S extends AnyZodObject | ZodOptional<AnyZodObject>>(token: InjectionToken<T, S>, factory: () => Promise<z.input<S>>): FactoryInjectionToken<T, S>;
|
|
170
|
+
static refineType<T>(token: BoundInjectionToken<any, any>): BoundInjectionToken<T, any>;
|
|
171
|
+
}
|
|
172
|
+
declare class BoundInjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObject>> extends InjectionToken<T, undefined> {
|
|
173
|
+
readonly token: InjectionToken<T, S>;
|
|
174
|
+
readonly value: z.input<S>;
|
|
175
|
+
constructor(token: InjectionToken<T, S>, value: z.input<S>);
|
|
176
|
+
}
|
|
177
|
+
declare class FactoryInjectionToken<T, S extends AnyZodObject | ZodOptional<AnyZodObject>> extends InjectionToken<T, S> {
|
|
178
|
+
readonly token: InjectionToken<T, S>;
|
|
179
|
+
readonly factory: () => Promise<z.input<S>>;
|
|
180
|
+
value?: z.input<S>;
|
|
181
|
+
resolved: boolean;
|
|
182
|
+
constructor(token: InjectionToken<T, S>, factory: () => Promise<z.input<S>>);
|
|
183
|
+
resolve(): Promise<z.input<S>>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare function getInjectableToken<R>(target: ClassType): R extends {
|
|
172
187
|
create(...args: any[]): infer V;
|
|
173
188
|
} ? InjectionToken<V> : InjectionToken<R>;
|
|
174
189
|
|
|
@@ -200,7 +215,8 @@ declare enum ErrorsEnum {
|
|
|
200
215
|
InstanceNotFound = "InstanceNotFound",
|
|
201
216
|
InstanceDestroying = "InstanceDestroying",
|
|
202
217
|
UnknownError = "UnknownError",
|
|
203
|
-
FactoryNotFound = "FactoryNotFound"
|
|
218
|
+
FactoryNotFound = "FactoryNotFound",
|
|
219
|
+
FactoryTokenNotResolved = "FactoryTokenNotResolved"
|
|
204
220
|
}
|
|
205
221
|
|
|
206
222
|
declare class FactoryNotFound extends Error {
|
|
@@ -209,6 +225,11 @@ declare class FactoryNotFound extends Error {
|
|
|
209
225
|
constructor(name: string);
|
|
210
226
|
}
|
|
211
227
|
|
|
228
|
+
declare class FactoryTokenNotResolved extends Error {
|
|
229
|
+
code: ErrorsEnum;
|
|
230
|
+
constructor(name: string | symbol | ClassType);
|
|
231
|
+
}
|
|
232
|
+
|
|
212
233
|
declare class InstanceDestroying extends Error {
|
|
213
234
|
name: string;
|
|
214
235
|
code: ErrorsEnum;
|
|
@@ -291,6 +312,7 @@ declare class ServiceLocator {
|
|
|
291
312
|
registerInstance<Instance>(token: InjectionToken<Instance, undefined>, instance: Instance): void;
|
|
292
313
|
removeInstance<Instance>(token: InjectionToken<Instance, undefined>): Promise<any>;
|
|
293
314
|
registerAbstractFactory<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, factory: (ctx: ServiceLocatorAbstractFactoryContext, values: Schema extends AnyZodObject ? z.output<Schema> : undefined) => Promise<Instance>, type?: InjectableScope): void;
|
|
315
|
+
private resolveTokenArgs;
|
|
294
316
|
getInstanceIdentifier<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): string;
|
|
295
317
|
getInstance<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): Promise<[undefined, Instance] | [UnknownError | FactoryNotFound]>;
|
|
296
318
|
getOrThrowInstance<Instance, Schema extends AnyZodObject | ZodOptional<AnyZodObject> | undefined>(token: InjectionToken<Instance, Schema>, args: Schema extends AnyZodObject ? z.input<Schema> : Schema extends ZodOptional<AnyZodObject> ? z.input<Schema> | undefined : undefined): Promise<Instance>;
|
|
@@ -384,6 +406,8 @@ declare function syncInject<T, S extends ZodOptional<AnyZodObject>>(token: Injec
|
|
|
384
406
|
declare function syncInject<T>(token: InjectionToken<T, undefined>): T;
|
|
385
407
|
declare function setPromiseCollector(collector: null | ((promise: Promise<any>) => void)): typeof promiseCollector;
|
|
386
408
|
|
|
409
|
+
declare function resolveService<T extends ClassType>(ctx: ServiceLocatorAbstractFactoryContext, target: T, args?: any[]): Promise<InstanceType<T>>;
|
|
410
|
+
|
|
387
411
|
declare const clc: {
|
|
388
412
|
bold: (text: string) => string;
|
|
389
413
|
green: (text: string) => string;
|
|
@@ -676,7 +700,6 @@ declare class ConfigServiceInstance<Config = Record<string, unknown>> implements
|
|
|
676
700
|
getOrThrow<Key extends Path<Config>>(key: Key, errorMessage?: string): PathValue<Config, Key>;
|
|
677
701
|
}
|
|
678
702
|
|
|
679
|
-
declare const ConfigProviderInjectionToken = "ConfigProvider";
|
|
680
703
|
declare const ConfigProviderOptions: z.ZodObject<{
|
|
681
704
|
load: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
|
|
682
705
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -692,10 +715,10 @@ declare const ConfigProvider: InjectionToken<ConfigService<Record<string, unknow
|
|
|
692
715
|
load: (...args: unknown[]) => unknown;
|
|
693
716
|
}>>;
|
|
694
717
|
declare class ConfigProviderFactory {
|
|
695
|
-
logger:
|
|
718
|
+
logger: LoggerInstance;
|
|
696
719
|
create(ctx: any, args: z.infer<typeof ConfigProviderOptions>): Promise<ConfigServiceInstance<unknown>>;
|
|
697
720
|
}
|
|
698
|
-
declare function
|
|
721
|
+
declare function provideConfig<ConfigMap extends Record<string, unknown>>(options: z.input<typeof ConfigProviderOptions>): InjectionToken<ConfigServiceInstance<ConfigMap>, undefined>;
|
|
699
722
|
|
|
700
723
|
interface ControllerOptions {
|
|
701
724
|
guards?: ClassType[] | Set<ClassType>;
|
|
@@ -914,4 +937,4 @@ declare class NaviosFactory {
|
|
|
914
937
|
private static registerLoggerConfiguration;
|
|
915
938
|
}
|
|
916
939
|
|
|
917
|
-
export { Application, AttributeFactory, BadRequestException, type CanActivate, type ChannelEmitter, type ClassAttribute, type ClassSchemaAttribute, type ClassType, type ClassTypeWithInstance, ConfigProvider, ConfigProviderFactory,
|
|
940
|
+
export { Application, AttributeFactory, BadRequestException, BoundInjectionToken, type CanActivate, type ChannelEmitter, type ClassAttribute, type ClassSchemaAttribute, type ClassType, type ClassTypeWithInstance, ConfigProvider, ConfigProviderFactory, ConfigProviderOptions, type ConfigService, ConfigServiceInstance, ConflictException, ConsoleLogger, type ConsoleLoggerOptions, Controller, ControllerAdapterService, type ControllerMetadata, ControllerMetadataKey, type ControllerOptions, Endpoint, type EndpointMetadata, EndpointMetadataKey, type EndpointParams, EndpointType, ErrorsEnum, EventEmitter, type EventEmitterInterface, type EventsArgs, type EventsConfig, type EventsNames, ExecutionContext, ExecutionContextInjectionToken, ExecutionContextToken, FactoryInjectionToken, FactoryNotFound, FactoryTokenNotResolved, ForbiddenException, GuardRunnerService, Header, HttpCode, HttpException, Injectable, type InjectableMetadata, type InjectableOptions, InjectableScope, InjectableTokenMeta, InjectableType, InjectionToken, InstanceDestroying, InstanceExpired, InstanceNotFound, InternalServerErrorException, LOG_LEVELS, type LogLevel, Logger, LoggerFactory, LoggerInjectionToken, LoggerInstance, LoggerOptions, type LoggerService, Module, ModuleLoaderService, type ModuleMetadata, ModuleMetadataKey, type ModuleOptions, NaviosApplication, type NaviosApplicationContextOptions, type NaviosApplicationOptions, NaviosFactory, type NaviosModule, NotFoundException, type Path, type PathImpl, type PathImpl2, type PathValue, PinoWrapper, Reply, Request, ServiceLocator, type ServiceLocatorAbstractFactoryContext, ServiceLocatorEventBus, type ServiceLocatorInstanceDestroyListener, type ServiceLocatorInstanceEffect, type ServiceLocatorInstanceHolder, type ServiceLocatorInstanceHolderCreated, type ServiceLocatorInstanceHolderCreating, type ServiceLocatorInstanceHolderDestroying, ServiceLocatorInstanceHolderKind, ServiceLocatorInstanceHolderStatus, ServiceLocatorManager, UnauthorizedException, UnknownError, UseGuards, addLeadingSlash, clc, envInt, envString, extractControllerMetadata, extractModuleMetadata, filterLogLevels, getAllEndpointMetadata, getControllerMetadata, getEndpointMetadata, getInjectableToken, getModuleMetadata, getServiceLocator, hasControllerMetadata, hasModuleMetadata, inject, isConstructor, isEmpty, isFunction, isLogLevel, isLogLevelEnabled, isNil, isNumber, isObject, isPlainObject, isString, isSymbol, isUndefined, normalizePath, override, provideConfig, provideServiceLocator, resolveService, setPromiseCollector, stripEndSlash, syncInject, yellow };
|