"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.UserLevelModule = void 0;
const common_1 = require("@nestjs/common");
const database_module_1 = require("../../core/database/database.module");
const user_level_provider_datasource_1 = require("./providers/user_level_provider_datasource");
const user_level_repository_service_1 = require("./repositories/user_level.repository.service");
const user_level_resolver_1 = require("./user_level.resolver");
const user_level_service_1 = require("./services/user_level.service");
let UserLevelModule = class UserLevelModule {
};
exports.UserLevelModule = UserLevelModule;
exports.UserLevelModule = UserLevelModule = __decorate([
    (0, common_1.Module)({
        imports: [database_module_1.DatabaseModule],
        providers: [
            user_level_resolver_1.UserLevelResolver,
            ...user_level_provider_datasource_1.userLevelProviderDatasource,
            {
                provide: 'IUserLevelService',
                useClass: user_level_service_1.UserLevelService,
            },
            {
                provide: 'IUserLevelRepository',
                useClass: user_level_repository_service_1.UserLevelRepository,
            },
        ],
    })
], UserLevelModule);
