@pocketprep/types 1.14.10 → 1.14.12

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
@@ -676,4 +676,8 @@ export type fetchQuestionsByExamV2 = (params: {
676
676
  export type fetchQuestionsByExamV3 = (params: {
677
677
  compositeKey: string
678
678
  includeMatrixQuestions?: boolean
679
- }) => QuestionJSON[]
679
+ }) => QuestionJSON[]
680
+
681
+ export type fetchExamNamesByQuestionSerials = (params: { serials: string[] }) => {
682
+ [serial: string]: string[]
683
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.10",
3
+ "version": "1.14.12",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",