@uniteverses/shared 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,8 @@ export interface SatExamCorrectAnswer {
18
18
  questionId: string;
19
19
  value: string;
20
20
  }
21
+ export type SatExamQuestionDifficulty = 'easy' | 'medium' | 'hard';
22
+ export declare const DEFAULT_QUESTION_DIFFICULTY: SatExamQuestionDifficulty;
21
23
  export interface SatExamQuestion {
22
24
  id: string;
23
25
  sectionId: string;
@@ -26,10 +28,16 @@ export interface SatExamQuestion {
26
28
  order: number;
27
29
  correctOptionId: string | null;
28
30
  explanation: string | null;
31
+ difficulty: SatExamQuestionDifficulty;
32
+ difficultyValue: number;
33
+ discrimination: number;
34
+ guessing: number;
29
35
  type: SatExamQuestionType;
30
36
  options: SatExamOption[];
31
37
  correctAnswers: SatExamCorrectAnswer[];
32
38
  }
39
+ export type SatExamSectionDifficulty = 'standard' | 'easy' | 'hard';
40
+ export declare const DEFAULT_SECTION_DIFFICULTY: SatExamSectionDifficulty;
33
41
  export interface SatExamSection {
34
42
  id: string;
35
43
  examId: string;
@@ -37,6 +45,10 @@ export interface SatExamSection {
37
45
  order: number;
38
46
  timeLimitMinutes: number | null;
39
47
  module: number | null;
48
+ difficulty: SatExamSectionDifficulty;
49
+ routingThreshold: number | null;
50
+ easyNextSectionId: string | null;
51
+ hardNextSectionId: string | null;
40
52
  questions: SatExamQuestion[];
41
53
  }
42
54
  export interface SatExam {
@@ -65,12 +77,20 @@ export interface CreateSatExamSectionInput {
65
77
  order: number;
66
78
  timeLimitMinutes?: number;
67
79
  module?: number;
80
+ difficulty?: SatExamSectionDifficulty;
81
+ routingThreshold?: number;
82
+ easyNextSectionId?: string;
83
+ hardNextSectionId?: string;
68
84
  }
69
85
  export interface UpdateSatExamSectionInput {
70
86
  name?: string;
71
87
  order?: number;
72
88
  timeLimitMinutes?: number | null;
73
89
  module?: number | null;
90
+ difficulty?: SatExamSectionDifficulty;
91
+ routingThreshold?: number | null;
92
+ easyNextSectionId?: string | null;
93
+ hardNextSectionId?: string | null;
74
94
  }
75
95
  export interface CreateSatExamQuestionInput {
76
96
  sectionId: string;
@@ -79,6 +99,10 @@ export interface CreateSatExamQuestionInput {
79
99
  order: number;
80
100
  correctOptionId?: string;
81
101
  explanation?: string;
102
+ difficulty?: SatExamQuestionDifficulty;
103
+ difficultyValue?: number;
104
+ discrimination?: number;
105
+ guessing?: number;
82
106
  options?: {
83
107
  text: string;
84
108
  order: number;
@@ -90,6 +114,10 @@ export interface UpdateSatExamQuestionInput {
90
114
  order?: number;
91
115
  correctOptionId?: string | null;
92
116
  explanation?: string | null;
117
+ difficulty?: SatExamQuestionDifficulty;
118
+ difficultyValue?: number;
119
+ discrimination?: number;
120
+ guessing?: number;
93
121
  }
94
122
  export interface CreateSatExamQuestionTypeInput {
95
123
  name: string;
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_SECTION_DIFFICULTY = exports.DEFAULT_QUESTION_DIFFICULTY = void 0;
4
+ exports.DEFAULT_QUESTION_DIFFICULTY = 'medium';
5
+ exports.DEFAULT_SECTION_DIFFICULTY = 'standard';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [