UNPKG

979 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.ENHANCER_TOKEN_TO_SUBTYPE_MAP = exports.APP_FILTER = exports.APP_GUARD = exports.APP_PIPE = exports.APP_INTERCEPTOR = exports.MESSAGES = void 0;
4exports.MESSAGES = {
5 APPLICATION_START: `Starting Nest application...`,
6 APPLICATION_READY: `Nest application successfully started`,
7 MICROSERVICE_READY: `Nest microservice successfully started`,
8 UNKNOWN_EXCEPTION_MESSAGE: 'Internal server error',
9 ERROR_DURING_SHUTDOWN: 'Error happened during shutdown',
10 CALL_LISTEN_FIRST: 'app.listen() needs to be called before calling app.getUrl()',
11};
12exports.APP_INTERCEPTOR = 'APP_INTERCEPTOR';
13exports.APP_PIPE = 'APP_PIPE';
14exports.APP_GUARD = 'APP_GUARD';
15exports.APP_FILTER = 'APP_FILTER';
16exports.ENHANCER_TOKEN_TO_SUBTYPE_MAP = {
17 [exports.APP_GUARD]: 'guard',
18 [exports.APP_INTERCEPTOR]: 'interceptor',
19 [exports.APP_PIPE]: 'pipe',
20 [exports.APP_FILTER]: 'filter',
21};