@pocketprep/types 1.14.46 → 1.14.48

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
@@ -429,6 +429,7 @@ export type fetchUserDataV2 = (params: {
429
429
  examGuid: string
430
430
  objectId: string
431
431
  }[]
432
+ assignments: PrebuiltQuiz[]
432
433
  }
433
434
 
434
435
  export type onboardingCompleted = (params: {
package/Teach/Cloud.d.ts CHANGED
@@ -84,4 +84,25 @@ export type fetchAssignments = (params: {
84
84
  organizationId: string
85
85
  }) => {
86
86
  [assignmentId: string]: Study.Class.PrebuiltQuiz
87
- }
87
+ }
88
+
89
+ export type cloneAssignment = (params: {
90
+ assignmentId: string
91
+ }) => Study.Class.PrebuiltQuiz
92
+
93
+ export type upsertAssignment = (params: {
94
+ name?: string
95
+ organizationId: string
96
+ questionIds?: string[]
97
+ config: {
98
+ difficulties?: ('easy' | 'medium' | 'hard')[]
99
+ questionCount?: number
100
+ subjectIds?: string[]
101
+ }
102
+ examMetadataId: string
103
+ assignmentId?: string
104
+ assignedOrgStudentIds: string[]
105
+ availableDate: string
106
+ dueDate: string
107
+ status: 'draft' | 'active'
108
+ }) => Study.Class.PrebuiltQuiz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.46",
3
+ "version": "1.14.48",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",