text: "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.PostsModule = void 0;
  const sequelize_1 = require("@nestjs/sequelize");
  const common_1 = require("@nestjs/common");
  const posts_service_1 = require("./service/posts.service");
  const posts_controller_1 = require("./controller/posts.controller");
  const users_model_1 = require("../users/users.model");
  const posts_model_1 = require("./posts.model");
  const files_module_1 = require("../files/files.module");
  let PostsModule = class PostsModule {
  };
  PostsModule = __decorate([
      common_1.Module({
          providers: [posts_service_1.PostsService],
          controllers: [posts_controller_1.PostsController],
          imports: [
              sequelize_1.SequelizeModule.forFeature([users_model_1.User, posts_model_1.Post]),
              files_module_1.FilesModule
          ]
      })
  ], PostsModule);
  exports.PostsModule = PostsModule;
  //# sourceMappingURL=posts.module.js.map