"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppModule = exports.AppDefinition = exports.APP_ID = exports.APP_NAME = void 0;
const common_1 = require("@nestjs/common");
const lodash_1 = require("lodash");
exports.APP_NAME = 'APP_NAME_V3';
exports.APP_ID = 'APP_ID';
function AppDefinition(name) {
    return (0, common_1.applyDecorators)((0, common_1.SetMetadata)(exports.APP_NAME, name), common_1.Injectable);
}
exports.AppDefinition = AppDefinition;
function AppModule(metadata) {
    return (0, common_1.applyDecorators)((0, common_1.SetMetadata)(exports.APP_ID, metadata.appId), (0, common_1.Module)((0, lodash_1.omit)(metadata, 'appId')));
}
exports.AppModule = AppModule;
//# sourceMappingURL=app.decorator.js.map