@pocketprep/types 1.19.0 → 1.19.1

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/Class.d.ts CHANGED
@@ -340,4 +340,26 @@ export type KeywordGenerationQueueMessage = Parse.Object<{
340
340
  failed?: boolean
341
341
  isProcessing: boolean
342
342
  attemptCount: number
343
- }>
343
+ }>
344
+
345
+ export type ExamExportQuestionTypeCounts = {
346
+ mcqCount: number
347
+ mcrCount: number
348
+ trueFalseCount: number
349
+ mrbCount: number
350
+ mcbCount: number
351
+ blCount: number
352
+ mpmcCount: number
353
+ }
354
+
355
+ export type ExamExportLog = Parse.Object<{
356
+ questionTypeCounts: ExamExportQuestionTypeCounts
357
+ scenarioCount: number
358
+ isSignificant: boolean
359
+ examMetadataId: string
360
+ examGuid: string
361
+ type: 'Patch' | 'Minor' | 'Major'
362
+ user: User | Parse.Pointer
363
+ }>
364
+
365
+ export type ExamExportLogJSON = ReturnType<ExamExportLog['toJSON']>
package/CMS/Cloud.d.ts CHANGED
@@ -10,6 +10,7 @@ import {
10
10
  QuestionScenarioDraftJSON,
11
11
  MockExamDraftJSON,
12
12
  ExamDraftJSON,
13
+ ExamExportLogJSON,
13
14
  } from './Class'
14
15
  import {
15
16
  GlobalQuestionMetricJSON,
@@ -390,4 +391,10 @@ export type fetchQuestionBySerialInExam = (params: {serial: string, examMetadata
390
391
  export type bulkRemoveReferences = (params: {
391
392
  search: string
392
393
  jobId: string
393
- }) => { referencesRemoved: number }
394
+ }) => { referencesRemoved: number }
395
+
396
+ export type ExamExportLogPayload = Omit<ExamExportLogJSON, 'user'>
397
+
398
+ export type createExamExportLog = (params: ExamExportLogPayload) => void
399
+
400
+ export type fetchLatestExamExportLogs = () => { [examMetadataId: string]: ExamExportLogJSON }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",