feat: change scoring strategy

This commit is contained in:
2026-06-20 07:48:33 +03:30
parent 84b9267735
commit afb5045cf0
33 changed files with 634 additions and 34 deletions
+12 -2
View File
@@ -10,9 +10,16 @@ import { QuestionsQueryProvider } from './providers/questions-query.provider';
import { ChoicesCommandProvider } from './providers/choices-command.provider';
import { ChoicesService } from './providers/choices.service';
import { ChoicesQueryProvider } from './providers/choices-query.provider';
import { QuestionRangeRule } from './entities/question-range-rule.entity';
import { QuestionRangeRuleService } from './providers/question-range-rule.service';
import { QuestionRangeRuleCommandProvider } from './providers/question-range-rule-command.provider';
import { QuestionRangeRuleQueryProvider } from './providers/question-range-rule-query.provider';
@Module({
imports: [TypeOrmModule.forFeature([Question, Choice]), TestsModule],
imports: [
TypeOrmModule.forFeature([Question, QuestionRangeRule, Choice]),
TestsModule,
],
controllers: [QuestionsController],
providers: [
QuestionsCommandProvider,
@@ -21,7 +28,10 @@ import { ChoicesQueryProvider } from './providers/choices-query.provider';
ChoicesCommandProvider,
ChoicesQueryProvider,
ChoicesService,
QuestionRangeRuleCommandProvider,
QuestionRangeRuleQueryProvider,
QuestionRangeRuleService,
],
exports: [QuestionsService, ChoicesService],
exports: [QuestionsService, ChoicesService, QuestionRangeRuleService],
})
export class QuestionsModule {}