@pocketprep/types 1.13.8 → 1.13.10

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
@@ -171,6 +171,10 @@ export type Job = Parse.Object<{
171
171
  isCompleted: boolean
172
172
  examDraft: ExamDraft
173
173
  dueDate?: Date
174
+ type?: string
175
+ jobFunction?: string
176
+ keywordStyling?: string
177
+ notesAndLinks?: string
174
178
  references: string[]
175
179
  name: string
176
180
  editor?: User
@@ -179,6 +183,10 @@ export type Job = Parse.Object<{
179
183
  questionTemplates?: {
180
184
  knowledgeAreaDraftId: string
181
185
  count: number
186
+ subtopics?: {
187
+ name: string
188
+ count: number
189
+ } []
182
190
  }[]
183
191
  allowedQuestionTypes: IAllowedQuestionTypes
184
192
  mockExamDraft?: Parse.Pointer | MockExamDraft
package/CMS/Cloud.d.ts CHANGED
@@ -14,12 +14,16 @@ import {
14
14
  export interface JobWithMetrics {
15
15
  objectId: string
16
16
  name: string
17
+ type?: string
18
+ jobFunction?: string
17
19
  editorId?: string
18
20
  writerId?: string
19
21
  leadId?: string
20
22
  references?: string[]
21
23
  dueDate?: string
24
+ notesAndLinks?: string
22
25
  questionDrafts?: QuestionDraftJSON[]
26
+ keywordStyling?: string
23
27
  questionTemplates?: {
24
28
  knowledgeAreaDraftId: string
25
29
  count: number
package/Teach/Class.d.ts CHANGED
@@ -16,6 +16,7 @@ export type OrgGroup = Parse.Object<{
16
16
  orgStudents: OrgStudent[]
17
17
  owner?: OrgInstructor
18
18
  isPubliclyEditable: boolean
19
+ lmsCourseId?: string
19
20
  }>
20
21
  export type OrgGroupJSON = ReturnType<OrgGroup['toJSON']>
21
22
  export type OrgGroupPayload = Payload<OrgGroup>
@@ -55,3 +56,21 @@ export type OrgApiKey = Parse.Object<{
55
56
  }>
56
57
  export type OrgApiKeyJSON = ReturnType<OrgApiKey['toJSON']>
57
58
  export type OrgApiKeyPayload = Payload<OrgApiKey>
59
+
60
+ export type LMS = Parse.Object<{
61
+ iss: string
62
+ clientId?: string
63
+ deploymentIds?: string[]
64
+ name: string
65
+ jwkUrl: string
66
+ oidcAuthUrl: string
67
+ organization: Parse.Pointer | Organization
68
+ }>
69
+
70
+ export type LMSLoginAttempt = Parse.Object<{
71
+ lms: Parse.Pointer | LMS
72
+ state: string
73
+ nonce: string
74
+ loginHint: string
75
+ hasResolved: boolean
76
+ }>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.8",
3
+ "version": "1.13.10",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",