2021-03-01 18:14:13 +08:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { PipelineTasksService } from './pipeline-tasks.service';
|
|
|
|
import { PipelineTasksResolver } from './pipeline-tasks.resolver';
|
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { PipelineTask } from './pipeline-task.entity';
|
|
|
|
import { Pipeline } from '../pipelines/pipeline.entity';
|
2021-03-04 11:43:23 +08:00
|
|
|
import { ReposModule } from '../repos/repos.module';
|
2021-03-01 18:14:13 +08:00
|
|
|
|
|
|
|
@Module({
|
2021-03-04 11:43:23 +08:00
|
|
|
imports: [TypeOrmModule.forFeature([PipelineTask, Pipeline]), ReposModule],
|
2021-03-01 18:14:13 +08:00
|
|
|
providers: [PipelineTasksService, PipelineTasksResolver],
|
|
|
|
})
|
|
|
|
export class PipelineTasksModule {}
|