refactor: refactoring task manger module
This commit is contained in:
@@ -28,6 +28,9 @@ import { CheckListItemService } from "./providers/check-list-item.service";
|
|||||||
import { TaskPhaseController } from "./controllers/task-phase.controller";
|
import { TaskPhaseController } from "./controllers/task-phase.controller";
|
||||||
import { TaskController } from "./controllers/task.controller";
|
import { TaskController } from "./controllers/task.controller";
|
||||||
import { CheckListItemController } from "./controllers/check-list-item.controller";
|
import { CheckListItemController } from "./controllers/check-list-item.controller";
|
||||||
|
import { RemarkController } from "./controllers/remark.controller";
|
||||||
|
import { RemarkRepository } from "./repositories/remark.repository";
|
||||||
|
import { RemarkService } from "./providers/remark.service";
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
@@ -40,6 +43,7 @@ import { CheckListItemController } from "./controllers/check-list-item.controlle
|
|||||||
TaskPhaseController,
|
TaskPhaseController,
|
||||||
TaskController,
|
TaskController,
|
||||||
CheckListItemController,
|
CheckListItemController,
|
||||||
|
RemarkController
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
WorkspaceRepository,
|
WorkspaceRepository,
|
||||||
@@ -54,20 +58,8 @@ import { CheckListItemController } from "./controllers/check-list-item.controlle
|
|||||||
TaskService,
|
TaskService,
|
||||||
CheckListItemRepository,
|
CheckListItemRepository,
|
||||||
CheckListItemService,
|
CheckListItemService,
|
||||||
],
|
RemarkRepository,
|
||||||
exports: [
|
RemarkService
|
||||||
WorkspaceRepository,
|
]
|
||||||
WorkspaceService,
|
|
||||||
WorkspaceTypeRepository,
|
|
||||||
WorkspaceTypeService,
|
|
||||||
ProjectRepository,
|
|
||||||
ProjectService,
|
|
||||||
TaskPhaseRepository,
|
|
||||||
TaskPhaseService,
|
|
||||||
TaskRepository,
|
|
||||||
TaskService,
|
|
||||||
CheckListItemRepository,
|
|
||||||
CheckListItemService,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class TaskManagerModule {}
|
export class TaskManagerModule {}
|
||||||
|
|||||||
Reference in New Issue
Block a user