@pocketprep/types 1.14.47 → 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.
Files changed (2) hide show
  1. package/Teach/Cloud.d.ts +17 -0
  2. package/package.json +1 -1
package/Teach/Cloud.d.ts CHANGED
@@ -88,4 +88,21 @@ export type fetchAssignments = (params: {
88
88
 
89
89
  export type cloneAssignment = (params: {
90
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'
91
108
  }) => Study.Class.PrebuiltQuiz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.47",
3
+ "version": "1.14.48",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",