@pocketprep/types 1.14.43 → 1.14.44

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/Class.d.ts +10 -2
  2. package/package.json +1 -1
package/Study/Class.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { IQuizAnswer, IStreakInfo, TChoiceKey } from './Cloud'
2
2
  import { Payload, Teach, CMS } from '../index'
3
+ import { OrgStudent } from '../Teach/Class'
3
4
 
4
5
  export type MagicToken = Parse.Object<{
5
6
  code: string
@@ -809,12 +810,14 @@ export type AggregateStatsPayload = Payload<AggregateStats>
809
810
 
810
811
  export type PrebuiltQuiz = Parse.Object<{
811
812
  name: string
812
- key: string
813
813
  questionSerials: string[]
814
814
  creator: User | Parse.Pointer
815
- orgGroup?: Teach.Class.OrgGroup | Parse.Pointer
816
815
  organization?: Teach.Class.Organization | Parse.Pointer
817
816
  examMetadata: ExamMetadata | Parse.Pointer
817
+ assignedOrgStudents?: (OrgStudent | Parse.Pointer)[]
818
+ dueDate?: Date
819
+ availableDate?: Date
820
+ status?: 'draft' | 'active' | 'deleted'
818
821
  config: {
819
822
  difficulties?: ('easy' | 'medium' | 'hard')[]
820
823
  questionCount: number
@@ -825,8 +828,13 @@ export type PrebuiltQuiz = Parse.Object<{
825
828
  incorrectCount: number
826
829
  correctCount: number
827
830
  attemptedAt: string
831
+ durationSeconds?: number
828
832
  }[]
829
833
  }
834
+
835
+ // DEPRECATED
836
+ orgGroup?: Teach.Class.OrgGroup | Parse.Pointer
837
+ key?: string
830
838
  }>
831
839
 
832
840
  export type PrebuiltQuizJSON = ReturnType<PrebuiltQuiz['toJSON']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.14.43",
3
+ "version": "1.14.44",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",