@pocketprep/types 1.14.44 → 1.14.45

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 CHANGED
@@ -96,6 +96,7 @@ export interface IRecordQuizPayload {
96
96
  appBundleId?: string
97
97
  prebuiltQuizId?: string
98
98
  examMetadataId?: string
99
+ currentISODate?: string // YYYY-MM-DD
99
100
  }
100
101
 
101
102
  export type TLevelUpProgress = NonNullable<UserExamMetadataJSON['levelUpProgress']>
@@ -687,7 +688,10 @@ export type fetchReferralInfo = (params: { bundleId: string }) => {
687
688
  code: string
688
689
  }
689
690
 
690
- export type fetchPrebuiltQuizQuestions = (params: { prebuiltQuizId: string }) => {
691
+ export type fetchPrebuiltQuizQuestions = (params: {
692
+ prebuiltQuizId: string
693
+ currentISODate?: string // YYYY-MM-DD
694
+ }) => {
691
695
  prebuiltQuiz: PrebuiltQuiz
692
696
  questions: QuestionJSON[]
693
697
  } | Quiz
package/Teach/Cloud.d.ts CHANGED
@@ -52,6 +52,7 @@ export type fetchStudentStats = (params: {
52
52
  compositeKey: string
53
53
  }) => StudentStats
54
54
 
55
+ // DEPRECATED use `upsertAssignment` instead
55
56
  export type createAssignment = (params: {
56
57
  name: string
57
58
  examGuid: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.44",
3
+ "version": "1.14.45",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",