@pocketprep/types 1.14.6 → 1.14.8
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/Study/Cloud.d.ts +11 -0
- package/package.json +1 -1
package/Study/Cloud.d.ts
CHANGED
|
@@ -385,6 +385,7 @@ export type fetchUserDataV2 = (params: {
|
|
|
385
385
|
examGuid: string
|
|
386
386
|
lastFetchedAt?: string // ISO8901 date string
|
|
387
387
|
version?: string
|
|
388
|
+
includeQuestionMetrics?: boolean
|
|
388
389
|
}) => {
|
|
389
390
|
quizzes: Quiz[]
|
|
390
391
|
subscriptions: Subscription[]
|
|
@@ -399,6 +400,16 @@ export type fetchUserDataV2 = (params: {
|
|
|
399
400
|
subjectId: string
|
|
400
401
|
levels: number[]
|
|
401
402
|
}[]
|
|
403
|
+
questionMetrics?: {
|
|
404
|
+
answeredCorrectlyCount: number
|
|
405
|
+
answeredIncorrectlyCount: number
|
|
406
|
+
questionSerial: string
|
|
407
|
+
choiceStats: {
|
|
408
|
+
[key: string]: number
|
|
409
|
+
}
|
|
410
|
+
examGuid: string
|
|
411
|
+
objectId: string
|
|
412
|
+
}[]
|
|
402
413
|
}
|
|
403
414
|
|
|
404
415
|
export type onboardingCompleted = (params: {
|