Initial commit - Event Planner application
This commit is contained in:
31
dist/gift/gift.module.js
vendored
Normal file
31
dist/gift/gift.module.js
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GiftModule = void 0;
|
||||
const common_1 = require("@nestjs/common");
|
||||
const nestjs_1 = require("@mikro-orm/nestjs");
|
||||
const core_module_1 = require("../core/core.module");
|
||||
const gift_service_1 = require("./services/gift.service");
|
||||
const gift_controller_1 = require("./api/gift.controller");
|
||||
const gift_subscriber_1 = require("./subscribers/gift.subscriber");
|
||||
const gift_entity_1 = require("./entities/gift.entity");
|
||||
const gift_registration_1 = require("./gift.registration");
|
||||
let GiftModule = class GiftModule {
|
||||
};
|
||||
exports.GiftModule = GiftModule;
|
||||
exports.GiftModule = GiftModule = __decorate([
|
||||
(0, common_1.Module)({
|
||||
imports: [
|
||||
core_module_1.CoreModule,
|
||||
nestjs_1.MikroOrmModule.forFeature({ entities: [gift_entity_1.GiftSchema, gift_entity_1.GiftContributionSchema] }),
|
||||
],
|
||||
providers: [gift_service_1.GiftService, gift_subscriber_1.GiftSubscriber, gift_registration_1.GiftModuleRegistration],
|
||||
controllers: [gift_controller_1.GiftController],
|
||||
exports: [gift_service_1.GiftService],
|
||||
})
|
||||
], GiftModule);
|
||||
Reference in New Issue
Block a user