"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.BookingModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const booking_controller_1 = require("../../appapi/booking/booking.controller");
const booking_service_1 = require("../../appapi/booking/booking.service");
const booking_entity_1 = require("../booking/booking.entity");
const bookingrequest_entity_1 = require("../booking/bookingrequest.entity");
const userlocation_entity_1 = require("../userlocation/userlocation.entity");
const userlocation_module_1 = require("../userlocation/userlocation.module");
const user_module_1 = require("../../appapi/user/user.module");
const admin_driver_service_1 = require("../../adminapi/driver/admin.driver.service");
const driver_module_1 = require("../driver/driver.module");
const driver_review_module_1 = require("../driverreview/driver-review.module");
const booking_gateway_1 = require("./booking.gateway");
const driver_entity_1 = require("../driver/driver.entity");
const shop_entity_1 = require("../shop/shop.entity");
const userlocation_service_1 = require("../../appapi/userlocation/userlocation.service");
const user_services_1 = require("../../appapi/user/user.services");
const FirebaseModule_1 = require("../../appapi/fcm/FirebaseModule");
let BookingModule = class BookingModule {
};
exports.BookingModule = BookingModule;
exports.BookingModule = BookingModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                booking_entity_1.Booking,
                bookingrequest_entity_1.BookingRequest,
                userlocation_entity_1.UserLocation,
                driver_entity_1.Driver,
                shop_entity_1.Shop,
            ]),
            userlocation_module_1.UserLocationModule,
            user_module_1.UserModule,
            driver_module_1.DriverModule,
            (0, common_1.forwardRef)(() => driver_review_module_1.DriverReviewModule),
            FirebaseModule_1.FirebaseModule,
        ],
        controllers: [booking_controller_1.BookingController],
        providers: [
            booking_service_1.BookingService,
            booking_gateway_1.BookingGateway,
            admin_driver_service_1.AdminDriverService,
            user_services_1.UserService,
            userlocation_service_1.UserLocationService,
        ],
        exports: [booking_service_1.BookingService],
    })
], BookingModule);
//# sourceMappingURL=booking.module.js.map