"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.FavoriteModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const favorite_controller_1 = require("../../appapi/favorite/favorite.controller");
const favorite_service_1 = require("../../appapi/favorite/favorite.service");
const favorite_controller_2 = require("../../adminapi/favorite/favorite.controller");
const favorite_service_2 = require("../../adminapi/favorite/favorite.service");
const favorite_entity_1 = require("./favorite.entity");
const shop_entity_1 = require("../shop/shop.entity");
const review_entity_1 = require("../review/review.entity");
const offer_entity_1 = require("../offer/offer.entity");
const car_listing_entity_1 = require("../carmarketplace/car-listing.entity");
const numberplate_listing_entity_1 = require("../numberplate/numberplate-listing.entity");
let FavoriteModule = class FavoriteModule {
};
exports.FavoriteModule = FavoriteModule;
exports.FavoriteModule = FavoriteModule = __decorate([
    (0, common_1.Module)({
        imports: [typeorm_1.TypeOrmModule.forFeature([favorite_entity_1.Favorite, shop_entity_1.Shop, review_entity_1.Review, offer_entity_1.Offer, car_listing_entity_1.CarListing, numberplate_listing_entity_1.NumberPlateListing])],
        controllers: [favorite_controller_2.AdminFavoriteController, favorite_controller_1.FavoriteController],
        providers: [favorite_service_2.AdminFavoriteService, favorite_service_1.FavoriteService],
        exports: [favorite_service_1.FavoriteService],
    })
], FavoriteModule);
//# sourceMappingURL=favorite.module.js.map