dependencies dependencies cluster_VoteModule cluster_VoteModule_providers cluster_VoteModule_imports cluster_VoteModule_exports RepoModule RepoModule VoteModule VoteModule RepoModule->VoteModule VoteService VoteService VoteModule->VoteService VoteService VoteService VoteService->VoteModule

File

src/vote/vote.module.ts

Providers

Controllers

Imports

Exports

import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";

import { DbRepoWithStats } from "../repo/entities/repo.entity";
import { DbRepoToUserVotes } from "../repo/entities/repo.to.user.votes.entity";
import { RepoModule } from "../repo/repo.module";
import { VoteService } from "./vote.service";
import { RepoVoteController } from "./repo-vote.controller";

@Module({
  imports: [TypeOrmModule.forFeature([DbRepoWithStats, DbRepoToUserVotes], "ApiConnection"), RepoModule],
  controllers: [RepoVoteController],
  providers: [VoteService],
  exports: [VoteService],
})
export class VoteModule {}

results matching ""

    No results matching ""