@pocketprep/types 1.14.9 → 1.14.11

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/Class.d.ts CHANGED
@@ -638,6 +638,7 @@ export type ReadinessStats = {
638
638
  latestWeightedScoreMean: number
639
639
  latestWeightedScoreSum: number
640
640
  daysOfStudy: number
641
+ nonQotdDaysOfStudy: number
641
642
  durationDaysOfStudy: number
642
643
  mockExamCount: number
643
644
  numberOfAnswers: number
@@ -657,6 +658,8 @@ export type ReadinessStats = {
657
658
  qotdPerDay: number
658
659
  avgSecondsPerQuestion: number
659
660
  attemptsPerQuestion: number
661
+ uniqueQuizzesRetaken: number
662
+ totalRetakes: number
660
663
  }
661
664
  type AnswerStats = {
662
665
  [serial: string]: {
@@ -669,6 +672,7 @@ type AnswerStats = {
669
672
  }
670
673
  }
671
674
  type QuizStats = {
675
+ nonQotdTimestamps: Date[]
672
676
  timestamps: Date[]
673
677
  lastMockExamScore: number
674
678
  lastMockExamDate: Date
@@ -722,6 +726,10 @@ export type AggregateStats = Parse.Object<{
722
726
  readinessStats?: ReadinessStats
723
727
  statsVersion?: number
724
728
  recentActivity?: RecentActivity[]
729
+ quizRetakes?: {
730
+ retakes: number
731
+ signature: string
732
+ }[]
725
733
  }>
726
734
 
727
735
  export type PrebuiltQuiz = Parse.Object<{
package/Study/Cloud.d.ts CHANGED
@@ -345,6 +345,8 @@ export type fetchQuestionsByQuizIds = (params: { quizIds: string[]; compositeKey
345
345
 
346
346
  export type fetchQuestionsByQuizIdsV2 = (params: { quizIds: string[]; compositeKey: string }) => Question[]
347
347
 
348
+ export type fetchQuestionsByQuizIdsV3 = (params: { quizIds: string[]; compositeKey: string }) => QuestionJSON[]
349
+
348
350
  export type fetchSerialQuestionInfoLib = (params: { compositeKey: string }) => {
349
351
  [key: string]: {
350
352
  subject: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.9",
3
+ "version": "1.14.11",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",