@pocketprep/types 1.13.1 → 1.13.2

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
@@ -14,7 +14,7 @@ export type QuestionDraft = Parse.Object<{
14
14
  answers?: string[]
15
15
  knowledgeAreaDraft?: KnowledgeAreaDraft | Parse.Pointer
16
16
  subtopicId?: string
17
- bloomTaxonomyLevel?: Study.Class.TBloomTaxonomyLevel
17
+ bloomTaxonomyLevel?: Study.Class.BloomTaxonomyLevel
18
18
  references?: string[]
19
19
  explanation?: string
20
20
  type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False'
package/CMS/Cloud.d.ts CHANGED
@@ -8,6 +8,7 @@ import {
8
8
  ExamData,
9
9
  MockExam,
10
10
  QuestionJSON,
11
+ BloomTaxonomyLevel,
11
12
  } from '../Study/Class'
12
13
 
13
14
  export interface JobWithMetrics {
@@ -314,3 +315,7 @@ export type sendJobActivityEmails = () => void
314
315
  export type checkQuestionDraftForPlagiarism = (params: { draftId: string }) => void
315
316
 
316
317
  export type checkJobForPlagiarism = (params: { jobId: string }) => void
318
+
319
+ export type getBloomLevelForQuestion = (params: {
320
+ questionDraftId: string
321
+ }) => Promise<BloomTaxonomyLevel>
package/Study/Class.d.ts CHANGED
@@ -349,7 +349,7 @@ export type Subject = Parse.Object<{
349
349
  export type SubjectJSON = ReturnType<Subject['toJSON']>
350
350
 
351
351
  // "Create" is another bloom taxonomy level that we don't currently use
352
- export type TBloomTaxonomyLevel = 'None' | 'Remember' | 'Understand' | 'Apply' | 'Analyze' | 'Evaluate'
352
+ export type BloomTaxonomyLevel = 'None' | 'Remember' | 'Understand' | 'Apply' | 'Analyze' | 'Evaluate'
353
353
 
354
354
  export type Subtopic = {
355
355
  id: string
@@ -360,7 +360,7 @@ export type Question = Parse.Object<{
360
360
  prompt: string
361
361
  subject: Subject | Parse.Pointer
362
362
  subtopicId?: string
363
- bloomTaxonomyLevel?: TBloomTaxonomyLevel
363
+ bloomTaxonomyLevel?: BloomTaxonomyLevel
364
364
  choices: {
365
365
  text: string
366
366
  isCorrect: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",