UNPKG

@gabliam/web-core

Version:
9 lines (8 loc) 682 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebConfigAfterControllers = exports.WebConfig = void 0; /* eslint-disable @typescript-eslint/no-redeclare */ const core_1 = require("@gabliam/core"); const constants_1 = require("../constants"); exports.WebConfig = (0, core_1.makePropDecorator)(constants_1.METADATA_KEY.webConfig, (order = 1) => ({ order }), undefined, true, constants_1.ERRORS_MSGS.DUPLICATED_CONFIG_DECORATOR); exports.WebConfigAfterControllers = (0, core_1.makePropDecorator)(constants_1.METADATA_KEY.webConfigAfterControllers, (order = 1) => ({ order }), undefined, true, constants_1.ERRORS_MSGS.DUPLICATED_CONFIG_DECORATOR);