1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.ENHANCER_TOKEN_TO_SUBTYPE_MAP = exports.APP_FILTER = exports.APP_GUARD = exports.APP_PIPE = exports.APP_INTERCEPTOR = exports.MESSAGES = void 0;
|
4 | exports.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 | };
|
12 | exports.APP_INTERCEPTOR = 'APP_INTERCEPTOR';
|
13 | exports.APP_PIPE = 'APP_PIPE';
|
14 | exports.APP_GUARD = 'APP_GUARD';
|
15 | exports.APP_FILTER = 'APP_FILTER';
|
16 | exports.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 | };
|