"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.AdminModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const admin_users_controller_1 = require("./admin-users.controller");
const admin_users_service_1 = require("./admin-users.service");
const admin_rbac_controller_1 = require("./admin-rbac.controller");
const admin_rbac_service_1 = require("./admin-rbac.service");
const user_entity_1 = require("../auth/entities/user.entity");
const user_profile_entity_1 = require("../auth/entities/user-profile.entity");
const user_verification_entity_1 = require("../auth/entities/user-verification.entity");
const role_entity_1 = require("../auth/entities/role.entity");
const permission_entity_1 = require("../auth/entities/permission.entity");
const role_permission_entity_1 = require("../auth/entities/role-permission.entity");
let AdminModule = class AdminModule {
};
exports.AdminModule = AdminModule;
exports.AdminModule = AdminModule = __decorate([
    (0, common_1.Module)({
        imports: [typeorm_1.TypeOrmModule.forFeature([user_entity_1.User, user_profile_entity_1.UserProfile, user_verification_entity_1.UserVerification, role_entity_1.Role, permission_entity_1.Permission, role_permission_entity_1.RolePermission])],
        controllers: [admin_users_controller_1.AdminUsersController, admin_rbac_controller_1.AdminRbacController],
        providers: [admin_users_service_1.AdminUsersService, admin_rbac_service_1.AdminRbacService],
    })
], AdminModule);
//# sourceMappingURL=admin.module.js.map