ㅑ후
This commit is contained in:
parent
734f34f4f6
commit
88469945b0
|
@ -9,10 +9,15 @@ import {
|
||||||
TypeUtil,
|
TypeUtil,
|
||||||
} from '@overflow/commons/core/type';
|
} from '@overflow/commons/core/type';
|
||||||
|
|
||||||
|
import {
|
||||||
|
Injectable,
|
||||||
|
} from '@overflow/commons/di/decorators';
|
||||||
|
|
||||||
export interface ConfigurationAnnotationAttributes {
|
export interface ConfigurationAnnotationAttributes {
|
||||||
name?: string[];
|
name?: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Injectable()
|
||||||
export class ConfigurationAnnotation implements Annotation {
|
export class ConfigurationAnnotation implements Annotation {
|
||||||
public readonly attributes: ConfigurationAnnotationAttributes;
|
public readonly attributes: ConfigurationAnnotationAttributes;
|
||||||
|
|
||||||
|
|
0
src/ts/@overflow/commons/di/decorators/named.ts
Normal file
0
src/ts/@overflow/commons/di/decorators/named.ts
Normal file
0
src/ts/@overflow/commons/di/decorators/qualifier.ts
Normal file
0
src/ts/@overflow/commons/di/decorators/qualifier.ts
Normal file
0
src/ts/@overflow/commons/di/decorators/scope.ts
Normal file
0
src/ts/@overflow/commons/di/decorators/scope.ts
Normal file
|
@ -4,3 +4,8 @@ import {
|
||||||
|
|
||||||
export type InstanceNameType = IdentityType<string>;
|
export type InstanceNameType = IdentityType<string>;
|
||||||
export type InstanceFactoryType = (...args: any[]) => any;
|
export type InstanceFactoryType = (...args: any[]) => any;
|
||||||
|
|
||||||
|
export enum ScopeType {
|
||||||
|
Singleton = 'Singleton',
|
||||||
|
Transiant = 'Transiant',
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user