@pocketprep/types 1.19.24 → 1.19.25
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/API/QuestionMetric.d.ts +32 -0
- package/API/index.d.ts +1 -0
- package/CMS/Class.d.ts +0 -2
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseResource } from './BaseResource'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Per-choice answer statistics. Keys follow Parse's `aX` (answers) / `dX`
|
|
5
|
+
* (distractors) form where X is 1-10; only the choices a question actually has
|
|
6
|
+
* are present.
|
|
7
|
+
*/
|
|
8
|
+
export type ChoiceStats = Partial<Record<string, number>>
|
|
9
|
+
|
|
10
|
+
/** Flat, Parse-free global answer statistics for a single question. */
|
|
11
|
+
export interface QuestionMetric extends BaseResource {
|
|
12
|
+
/** Stable exam identifier the metric belongs to. */
|
|
13
|
+
examGuid: string
|
|
14
|
+
/** Serial of the question these stats describe. */
|
|
15
|
+
questionSerial: string
|
|
16
|
+
answeredCorrectlyCount: number
|
|
17
|
+
answeredIncorrectlyCount: number
|
|
18
|
+
choiceStats: ChoiceStats
|
|
19
|
+
/** @deprecated Use examMetadataId instead. */
|
|
20
|
+
examMetadata?: string
|
|
21
|
+
examMetadataId?: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface SearchQuestionMetricsParams {
|
|
25
|
+
examMetadataId: string
|
|
26
|
+
/** Omit (or empty) to fetch every metric for the exam. */
|
|
27
|
+
serials?: string[]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface SearchQuestionMetricsResponse {
|
|
31
|
+
questionMetrics: QuestionMetric[]
|
|
32
|
+
}
|
package/API/index.d.ts
CHANGED
package/CMS/Class.d.ts
CHANGED
|
@@ -421,7 +421,6 @@ export type ExamContentPlan = Parse.Object<{
|
|
|
421
421
|
planningStartDate?: Date
|
|
422
422
|
expectedExportDate?: Date
|
|
423
423
|
outlineDate?: Date
|
|
424
|
-
newOutline?: boolean
|
|
425
424
|
versionFrequency?: 'annually' | '2years' | '3years' | '4years'
|
|
426
425
|
| '5years' | '6years' | '7years' | '8years' | '9years'
|
|
427
426
|
objectives?: ('newExam' | 'newMockExam' | 'newQuestions'
|
|
@@ -429,7 +428,6 @@ export type ExamContentPlan = Parse.Object<{
|
|
|
429
428
|
| 'memberConcern' | 'referenceUpdate' | 'other')[]
|
|
430
429
|
upcomingJobSummary?: string
|
|
431
430
|
expectedExport?: 'major' | 'minor' | 'patch'
|
|
432
|
-
examLinks?: string
|
|
433
431
|
lead?: User | Parse.Pointer
|
|
434
432
|
expectedJobStartDate?: Date
|
|
435
433
|
updateToExamLinks?: boolean
|