@pocketprep/types 1.15.27 → 1.15.29

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/CMS/Cloud.d.ts CHANGED
@@ -21,6 +21,7 @@ import {
21
21
  QuestionJSON,
22
22
  BloomTaxonomyLevel,
23
23
  } from '../Study/Class'
24
+ import { Study } from 'types'
24
25
 
25
26
  export interface JobWithMetrics {
26
27
  objectId: string
@@ -367,4 +368,13 @@ export type deleteOldParseDataV2 = (params: {
367
368
  examMetadataId: string
368
369
  }) => void
369
370
 
370
- export type vectorizeQuestions = (params: { examMetadataId: string; serials: string[] }) => void
371
+ export type vectorizeQuestions = (params: { examMetadataId: string; serials: string[] }) => void
372
+
373
+ export type fetchConceptQuizzes = (params: { examMetadataId: string }) => Study.Class.ConceptQuizJSON[]
374
+
375
+ export type archiveConceptQuiz = (params: { conceptQuizId: string }) => Study.Class.ConceptQuizJSON
376
+
377
+ export type createConceptQuiz = (params: {
378
+ concept: string
379
+ examMetadataId: string
380
+ }) => Study.Class.ConceptQuizJSON
package/Study/Class.d.ts CHANGED
@@ -886,6 +886,7 @@ export type ConceptQuiz = Parse.Object<{
886
886
  score: number
887
887
  }[]
888
888
  lastGenerated?: Date
889
+ isArchived?: boolean
889
890
  }>
890
891
 
891
892
  export type ConceptQuizJSON = ReturnType<ConceptQuiz['toJSON']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.15.27",
3
+ "version": "1.15.29",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",