-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
80bbe41
commit 49cdb0f
Showing
23 changed files
with
496 additions
and
480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
import { BoardModule } from '@modules/board'; | ||
import { LegacySchoolModule } from '@modules/legacy-school'; | ||
import { Module } from '@nestjs/common'; | ||
import { forwardRef, Module } from '@nestjs/common'; | ||
import { ContextExternalToolRepo, SchoolExternalToolRepo } from '@shared/repo'; | ||
import { LoggerModule } from '@src/core/logger'; | ||
import { CommonToolService, CommonToolValidationService } from './service'; | ||
import { CommonToolMetadataService } from './service/common-tool-metadata.service'; | ||
|
||
@Module({ | ||
imports: [LoggerModule, LegacySchoolModule], | ||
imports: [LoggerModule, LegacySchoolModule, forwardRef(() => BoardModule)], | ||
// TODO: make deletion of entities cascading, adjust ExternalToolService.deleteExternalTool and remove the repos from here | ||
providers: [CommonToolService, CommonToolValidationService, SchoolExternalToolRepo, ContextExternalToolRepo], | ||
exports: [CommonToolService, CommonToolValidationService, SchoolExternalToolRepo, ContextExternalToolRepo], | ||
providers: [ | ||
CommonToolService, | ||
CommonToolValidationService, | ||
SchoolExternalToolRepo, | ||
ContextExternalToolRepo, | ||
CommonToolMetadataService, | ||
], | ||
exports: [ | ||
CommonToolService, | ||
CommonToolValidationService, | ||
SchoolExternalToolRepo, | ||
ContextExternalToolRepo, | ||
CommonToolMetadataService, | ||
], | ||
}) | ||
export class CommonToolModule {} |
Oops, something went wrong.