UNPKG

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