"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.StorageModule = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const storage_controller_1 = require("./storage.controller");
const storage_service_1 = require("./services/storage.service");
const s3_provider_1 = require("./providers/s3.provider");
const file_entity_1 = require("./entities/file.entity");
const pending_upload_entity_1 = require("./entities/pending-upload.entity");
const storage_usage_entity_1 = require("./entities/storage-usage.entity");
let StorageModule = class StorageModule {
};
exports.StorageModule = StorageModule;
exports.StorageModule = StorageModule = __decorate([
    (0, common_1.Module)({
        imports: [
            typeorm_1.TypeOrmModule.forFeature([
                file_entity_1.FileEntity,
                pending_upload_entity_1.PendingUploadEntity,
                storage_usage_entity_1.StorageUsageEntity,
            ]),
        ],
        controllers: [storage_controller_1.StorageController],
        providers: [storage_service_1.StorageService, s3_provider_1.S3Provider],
        exports: [storage_service_1.StorageService, s3_provider_1.S3Provider],
    })
], StorageModule);
//# sourceMappingURL=storage.module.js.map