@pocketprep/types 1.19.42 → 1.19.43

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.
Files changed (2) hide show
  1. package/Study/Cloud.d.ts +29 -12
  2. package/package.json +1 -1
package/Study/Cloud.d.ts CHANGED
@@ -433,7 +433,7 @@ export type fetchSerialQuestionInfoLib = (params: { compositeKey: string }) => {
433
433
  }
434
434
  }
435
435
 
436
- export type fetchSerialQuestionInfoLibV2 = (params: {
436
+ export type fetchSerialQuestionInfoLibV2 = (params: {
437
437
  compositeKey?: string
438
438
  examMetadataId?: string
439
439
  }) => {
@@ -543,7 +543,7 @@ export type resetUserExamProgress = (params: { appId: string }) => (
543
543
  UserExamMetadata | TEUserAppMetadata | undefined
544
544
  )
545
545
 
546
- export type resetQuizProgress = (params: {
546
+ export type resetQuizProgress = (params: {
547
547
  examGuid: string
548
548
  examMetadataId?: string
549
549
  }) => UserExamMetadata | undefined
@@ -691,14 +691,14 @@ export type fetchMockExams = () => MockExam[]
691
691
 
692
692
  export type fetchMockExamQuestions = (params: { mockExamId: string }) => ExamData[]
693
693
 
694
- export type fetchMockExamQuestionsV2 = (params: {
694
+ export type fetchMockExamQuestionsV2 = (params: {
695
695
  mockExamId: string
696
696
  includeMatrixQuestions?: boolean
697
697
  includeMPMCQuestions?: boolean
698
698
  includeBuildListQuestions?: boolean
699
699
  }) => Question[]
700
700
 
701
- export type fetchMockExamQuestionsV3 = (params: {
701
+ export type fetchMockExamQuestionsV3 = (params: {
702
702
  mockExamId: string
703
703
  includeMatrixQuestions?: boolean
704
704
  includeMPMCQuestions?: boolean
@@ -792,7 +792,7 @@ export type fetchReferralInfo = (params: { bundleId: string }) => {
792
792
  code: string
793
793
  }
794
794
 
795
- export type fetchPrebuiltQuizQuestions = (params: {
795
+ export type fetchPrebuiltQuizQuestions = (params: {
796
796
  prebuiltQuizId: string
797
797
  includeMPMCQuestions?: boolean
798
798
  includeBuildListQuestions?: boolean
@@ -864,7 +864,7 @@ export type fetchUserExamMetadata = () => Promise<UserExamMetadataJSON[]>
864
864
 
865
865
  export type deleteUserExamData = (params: { examGuid: string }) => Promise<void>
866
866
 
867
- export type fetchRecallQuizQuestions = (params: {
867
+ export type fetchRecallQuizQuestions = (params: {
868
868
  examMetadataId: string
869
869
  includeMPMCQuestions?: boolean
870
870
  includeBuildListQuestions?: boolean
@@ -878,19 +878,36 @@ export type upsertUserExamBackground = (params: {
878
878
  hasTakenExam?: boolean
879
879
  }) => UserExamBackgroundJSON
880
880
 
881
- export type fetchConceptQuizQuestions = (params: {
881
+ export type fetchConceptQuizQuestions = (params: {
882
882
  conceptQuizId: string
883
883
  questionCount: number
884
884
  }) => QuestionJSON[]
885
885
 
886
+ export type TSelectableConcept = {
887
+ conceptQuizId: string
888
+ concept: string
889
+ serials: string[]
890
+ }
891
+
886
892
  export type fetchBYOConcepts = (params: {
887
893
  examMetadataId: string
888
894
  }) => {
889
- concepts: {
890
- conceptQuizId: string
891
- concept: string
892
- serials: string[]
893
- }[]
895
+ concepts: TSelectableConcept[]
896
+ }
897
+
898
+ export type TWeakestConcept = {
899
+ conceptQuizId: string
900
+ concept: string
901
+ totalAnswersCount: number
902
+ totalCorrectAnswersCount: number
903
+ averageScore: number
904
+ }
905
+
906
+ export type fetchWeakestConcepts = (params: {
907
+ examMetadataId: string
908
+ }) => {
909
+ examHasConcepts: boolean
910
+ weakestConcepts: TWeakestConcept[]
894
911
  }
895
912
 
896
913
  export type fetchReadinessReportDetails = (params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.19.42",
3
+ "version": "1.19.43",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",