adding entities for taskmanager
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
import { TMWorkspaceType } from './entities/workspace-type.entity';
|
||||
import { TMWorkspace } from './entities/workspace.entity';
|
||||
import { TMProject } from './entities/project.entity';
|
||||
import { TMTaskPhase } from './entities/task-phase.entity';
|
||||
import { TMTask } from './entities/task.entity';
|
||||
import { TMRemark } from './entities/remark.entity';
|
||||
import { TMAttachment } from './entities/attachment.entity';
|
||||
import { TMCheckListItem } from './entities/check-list-item.entity';
|
||||
import { WorkspaceRepository } from './repositories/workspace.repository';
|
||||
import { TaskManagerController } from './task-manager.controller';
|
||||
import { WorkspaceService } from './providers/workspace.service';
|
||||
|
||||
// import { WorkspaceTypeService } from './providers/workspace-type.service';
|
||||
// import { WorkspaceService } from './providers/workspace.service';
|
||||
// import { ProjectService } from './providers/project.service';
|
||||
// import { TaskPhaseService } from './providers/task-phase.service';
|
||||
// import { TaskService } from './providers/task.service';
|
||||
|
||||
// import { TaskManagerController } from './task-manager.controller';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([
|
||||
TMWorkspaceType,
|
||||
TMWorkspace,
|
||||
TMProject,
|
||||
TMTaskPhase,
|
||||
TMTask,
|
||||
TMRemark,
|
||||
TMAttachment,
|
||||
TMCheckListItem,
|
||||
]),
|
||||
],
|
||||
controllers: [TaskManagerController],
|
||||
providers: [
|
||||
WorkspaceRepository,
|
||||
WorkspaceService,
|
||||
// WorkspaceTypeService,
|
||||
// ProjectService,
|
||||
// TaskPhaseService,
|
||||
// TaskService,
|
||||
],
|
||||
exports: [
|
||||
WorkspaceService,
|
||||
WorkspaceRepository
|
||||
],
|
||||
})
|
||||
export class TaskManagerModule {}
|
||||
Reference in New Issue
Block a user