UNPKG

@nestjs/core

Version:

Nest - modern, fast, powerful node.js web framework (@core)

8 lines (7 loc) 624 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const request_method_enum_1 = require("@nestjs/common/enums/request-method.enum"); exports.MODULE_INIT_MESSAGE = (text, module) => `${module} dependencies initialized`; exports.ROUTE_MAPPED_MESSAGE = (path, method) => `Mapped {${path}, ${request_method_enum_1.RequestMethod[method]}} route`; exports.CONTROLLER_MAPPING_MESSAGE = (name, path) => `${name} {${path}}:`; exports.INVALID_EXECUTION_CONTEXT = (methodName, currentContext) => `Calling ${methodName} is not allowed in this context. Your current execution context is "${currentContext}".`;