@pocketprep/types 1.14.0 → 1.14.2
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/CMS/Class.d.ts +1 -0
- package/Study/Class.d.ts +11 -14
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
package/Study/Class.d.ts
CHANGED
|
@@ -15,6 +15,14 @@ export type OrderedQuestions = Parse.Object<{
|
|
|
15
15
|
|
|
16
16
|
export type OrderedQuestionsPayload = Payload<OrderedQuestions>
|
|
17
17
|
|
|
18
|
+
export type LevelUpProgress = {
|
|
19
|
+
subjectName: string
|
|
20
|
+
subjectId?: string
|
|
21
|
+
level: number
|
|
22
|
+
score: number
|
|
23
|
+
goal: number
|
|
24
|
+
}
|
|
25
|
+
|
|
18
26
|
export type Quiz = Parse.Object<{
|
|
19
27
|
answers: IQuizAnswer[]
|
|
20
28
|
correctCount: number
|
|
@@ -27,13 +35,7 @@ export type Quiz = Parse.Object<{
|
|
|
27
35
|
startedAt: Date
|
|
28
36
|
user: User | Parse.Pointer
|
|
29
37
|
readinessScore?: number
|
|
30
|
-
levelUpProgress?:
|
|
31
|
-
subjectName: string
|
|
32
|
-
subjectId?: string
|
|
33
|
-
level: number
|
|
34
|
-
score: number
|
|
35
|
-
goal: number
|
|
36
|
-
}
|
|
38
|
+
levelUpProgress?: LevelUpProgress
|
|
37
39
|
prebuiltQuiz?: PrebuiltQuiz | Parse.Pointer
|
|
38
40
|
}>
|
|
39
41
|
|
|
@@ -101,13 +103,7 @@ export type UserExamMetadata = Parse.Object<{
|
|
|
101
103
|
disabledSubjects?: string[] // DEPRECATED
|
|
102
104
|
disabledSubjectIds?: string[]
|
|
103
105
|
streakInfo?: IStreakInfo
|
|
104
|
-
levelUpProgress?:
|
|
105
|
-
subjectName: string
|
|
106
|
-
subjectId?: string
|
|
107
|
-
level: number
|
|
108
|
-
score: number
|
|
109
|
-
goal: number
|
|
110
|
-
}[]
|
|
106
|
+
levelUpProgress?: LevelUpProgress[]
|
|
111
107
|
levelUpResetDates?: Date[]
|
|
112
108
|
aggregateStats?: UEMAggregateStats
|
|
113
109
|
messageConfig?: MessageConfig
|
|
@@ -419,6 +415,7 @@ export type QuestionScenario = Parse.Object<{
|
|
|
419
415
|
serial: string
|
|
420
416
|
}[]
|
|
421
417
|
sharedPassage?: string
|
|
418
|
+
isUnfolding?: boolean
|
|
422
419
|
}>
|
|
423
420
|
|
|
424
421
|
export type QuestionScenarioJSON = ReturnType<QuestionScenario['toJSON']>
|