inversify-express-utils
Version:
Some utilities for the development of express applications with Inversify
40 lines • 959 B
TypeScript
export declare const TYPE: {
AuthProvider: symbol;
Controller: symbol;
HttpContext: symbol;
};
export declare const METADATA_KEY: {
controller: string;
controllerMethod: string;
controllerParameter: string;
httpContext: string;
middleware: string;
};
export declare enum PARAMETER_TYPE {
REQUEST = 0,
RESPONSE = 1,
PARAMS = 2,
QUERY = 3,
BODY = 4,
HEADERS = 5,
COOKIES = 6,
NEXT = 7,
PRINCIPAL = 8
}
export declare enum HTTP_VERBS_ENUM {
all = "all",
connect = "connect",
delete = "delete",
get = "get",
head = "head",
options = "options",
patch = "patch",
post = "post",
propfind = "propfind",
put = "put",
trace = "trace"
}
export declare const DUPLICATED_CONTROLLER_NAME: (name: string) => string;
export declare const NO_CONTROLLERS_FOUND: string;
export declare const DEFAULT_ROUTING_ROOT_PATH: string;
//# sourceMappingURL=constants.d.ts.map