@uniteverses/shared 1.0.15 → 1.0.17
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 +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/politicians/community/residents/explore/types.d.ts +3 -1
- package/dist/teachers/prep_center/students/simulate/types.d.ts +61 -0
- package/dist/teachers/prep_center/students/simulate/types.js +2 -0
- package/package.json +1 -1
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);
|
|
@@ -250,7 +250,9 @@ export interface OrgEventOccurrenceApplicant {
|
|
|
250
250
|
userId: string;
|
|
251
251
|
status: string;
|
|
252
252
|
appliedAt: string | Date;
|
|
253
|
-
user: User
|
|
253
|
+
user: User & {
|
|
254
|
+
profile?: Profile | null;
|
|
255
|
+
};
|
|
254
256
|
}
|
|
255
257
|
export interface OrgEventOccurrenceParticipant {
|
|
256
258
|
id: string;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
}
|