@uniteverses/shared 1.0.16 → 1.0.18
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.
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./politicians/community/residents/explore/types"), exports);
|
|
18
18
|
__exportStar(require("./politicians/community/residents/explore/constants"), exports);
|
|
19
|
+
__exportStar(require("./teachers/prep_center/students/simulate/types"), exports);
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export interface SatExamOrganization {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SatExamQuestionType {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SatExamOption {
|
|
11
|
+
id: string;
|
|
12
|
+
questionId: string;
|
|
13
|
+
text: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SatExamCorrectAnswer {
|
|
17
|
+
id: string;
|
|
18
|
+
questionId: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SatExamQuestion {
|
|
22
|
+
id: string;
|
|
23
|
+
sectionId: string;
|
|
24
|
+
typeId: string;
|
|
25
|
+
text: string;
|
|
26
|
+
order: number;
|
|
27
|
+
correctOptionId: string | null;
|
|
28
|
+
explanation: string | null;
|
|
29
|
+
type: SatExamQuestionType;
|
|
30
|
+
options: SatExamOption[];
|
|
31
|
+
correctAnswers: SatExamCorrectAnswer[];
|
|
32
|
+
}
|
|
33
|
+
export interface SatExamSection {
|
|
34
|
+
id: string;
|
|
35
|
+
examId: string;
|
|
36
|
+
name: string;
|
|
37
|
+
order: number;
|
|
38
|
+
timeLimitMinutes: number | null;
|
|
39
|
+
module: number | null;
|
|
40
|
+
questions: SatExamQuestion[];
|
|
41
|
+
}
|
|
42
|
+
export interface SatExam {
|
|
43
|
+
id: string;
|
|
44
|
+
organizationId: string;
|
|
45
|
+
title: string;
|
|
46
|
+
description: string | null;
|
|
47
|
+
createdAt: string;
|
|
48
|
+
updatedAt: string;
|
|
49
|
+
organization: SatExamOrganization;
|
|
50
|
+
sections: SatExamSection[];
|
|
51
|
+
}
|
|
52
|
+
export interface CreateSatExamInput {
|
|
53
|
+
organizationId: string;
|
|
54
|
+
title: string;
|
|
55
|
+
description?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface UpdateSatExamInput {
|
|
58
|
+
title?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
organizationId?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface CreateSatExamSectionInput {
|
|
63
|
+
examId: string;
|
|
64
|
+
name: string;
|
|
65
|
+
order: number;
|
|
66
|
+
timeLimitMinutes?: number;
|
|
67
|
+
module?: number;
|
|
68
|
+
}
|
|
69
|
+
export interface UpdateSatExamSectionInput {
|
|
70
|
+
name?: string;
|
|
71
|
+
order?: number;
|
|
72
|
+
timeLimitMinutes?: number | null;
|
|
73
|
+
module?: number | null;
|
|
74
|
+
}
|
|
75
|
+
export interface CreateSatExamQuestionInput {
|
|
76
|
+
sectionId: string;
|
|
77
|
+
typeId: string;
|
|
78
|
+
text: string;
|
|
79
|
+
order: number;
|
|
80
|
+
correctOptionId?: string;
|
|
81
|
+
explanation?: string;
|
|
82
|
+
options?: {
|
|
83
|
+
text: string;
|
|
84
|
+
order: number;
|
|
85
|
+
}[];
|
|
86
|
+
}
|
|
87
|
+
export interface UpdateSatExamQuestionInput {
|
|
88
|
+
typeId?: string;
|
|
89
|
+
text?: string;
|
|
90
|
+
order?: number;
|
|
91
|
+
correctOptionId?: string | null;
|
|
92
|
+
explanation?: string | null;
|
|
93
|
+
}
|