UNPKG

1.19 kBTypeScriptView Raw
1import 'reflect-metadata';
2export declare const INCEPTUM_METADATA_KEY = "inceptum";
3export declare class InceptumMetadata {
4 autowire: Map<string, string>;
5 defaultValue: Map<string, string>;
6 lazy: boolean;
7 startMethod: string;
8 stopMethod: string;
9 groups: string[];
10}
11export declare function hasDecoratorMetadata(target: any): boolean;
12export declare function getDecoratorMetadata(target: any): InceptumMetadata;
13export declare function Autowire(what: string): (target: any, key: string) => void;
14export declare function AutowireContext(target: any, key: string): void;
15export declare function AutowireConfig(configKey: string, defaultValue?: any): (target: any, key: string) => void;
16export declare function AutowireGroup(groupName: string): (target: any, key: string) => void;
17export declare function AutowireGroupDefinitions(groupName: string): (target: any, key: string) => void;
18export declare function Lazy(lazy: boolean): (target: any) => void;
19export declare function StartMethod(target: any, key: string): void;
20export declare function StopMethod(target: any, key: string): void;
21export declare function RegisterInGroup(groupName: string): (target: any) => void;