@pocketprep/types 1.16.2 → 1.16.4
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 +4 -1
- package/Study/Class.d.ts +1 -1
- package/package.json +1 -1
package/CMS/Cloud.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
QuestionJSON,
|
|
22
22
|
BloomTaxonomyLevel,
|
|
23
23
|
ConceptQuizJSON,
|
|
24
|
+
ReferenceJSON,
|
|
24
25
|
} from '../Study/Class'
|
|
25
26
|
|
|
26
27
|
export interface JobWithMetrics {
|
|
@@ -379,4 +380,6 @@ export type unarchiveConceptQuiz = (params: { conceptQuizId: string }) => Concep
|
|
|
379
380
|
export type createConceptQuizzes = (params: {
|
|
380
381
|
concepts: string[]
|
|
381
382
|
examMetadataId: string
|
|
382
|
-
}) => ConceptQuizJSON[]
|
|
383
|
+
}) => ConceptQuizJSON[]
|
|
384
|
+
|
|
385
|
+
export type fetchReferencesByExam = (params: { examMetadataId: string }) => ReferenceJSON[]
|
package/Study/Class.d.ts
CHANGED
|
@@ -632,7 +632,7 @@ export type ExamMetadata = Parse.Object<{
|
|
|
632
632
|
itemCount: number
|
|
633
633
|
classicQuestions: number
|
|
634
634
|
specialQuestions: number
|
|
635
|
-
references?: Reference[]
|
|
635
|
+
references?: (Reference | Parse.Pointer)[]
|
|
636
636
|
}>
|
|
637
637
|
|
|
638
638
|
export type ExamMetadataJSON = ReturnType<ExamMetadata['toJSON']>
|