UNPKG

@nodearch/express

Version:
28 lines 1.21 kB
export var HttpMethod; (function (HttpMethod) { HttpMethod["GET"] = "get"; HttpMethod["POST"] = "post"; HttpMethod["PUT"] = "put"; HttpMethod["DELETE"] = "delete"; HttpMethod["HEAD"] = "head"; HttpMethod["PATCH"] = "patch"; HttpMethod["OPTIONS"] = "options"; })(HttpMethod || (HttpMethod = {})); export var RouteHandlerParam; (function (RouteHandlerParam) { RouteHandlerParam["BODY"] = "body"; RouteHandlerParam["QUERY"] = "query"; RouteHandlerParam["HEADERS"] = "headers"; RouteHandlerParam["PARAMS"] = "params"; RouteHandlerParam["REQ"] = "req"; RouteHandlerParam["RES"] = "res"; })(RouteHandlerParam || (RouteHandlerParam = {})); export var ExpressDecorator; (function (ExpressDecorator) { ExpressDecorator["HTTP_PATH"] = "@nodearch/express/decorators/http-path"; ExpressDecorator["HTTP_METHOD"] = "@nodearch/express/decorators/http-method"; ExpressDecorator["HTTP_PARAM"] = "@nodearch/express/decorators/http-param"; ExpressDecorator["MIDDLEWARE"] = "@nodearch/express/decorators/middleware"; ExpressDecorator["USE"] = "@nodearch/express/decorators/use"; })(ExpressDecorator || (ExpressDecorator = {})); //# sourceMappingURL=enums.js.map