@pocketprep/types 1.6.31 → 1.6.34
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/Study/Class.d.ts +8 -0
- package/Study/Cloud.d.ts +22 -3
- package/package.json +1 -1
package/Study/Class.d.ts
CHANGED
|
@@ -174,6 +174,14 @@ export type License = Parse.Object<{
|
|
|
174
174
|
invitedBy?: Teach.Class.OrgInstructor
|
|
175
175
|
archivedBy?: Teach.Class.OrgInstructor
|
|
176
176
|
retryCount?: number
|
|
177
|
+
emailDeliveryInfo?: {
|
|
178
|
+
event: string
|
|
179
|
+
message: string
|
|
180
|
+
description: string
|
|
181
|
+
code: number
|
|
182
|
+
'attempt-no': number
|
|
183
|
+
'session-seconds': number
|
|
184
|
+
}
|
|
177
185
|
}>
|
|
178
186
|
|
|
179
187
|
export type LicensePayload = Payload<License>
|
package/Study/Cloud.d.ts
CHANGED
|
@@ -268,8 +268,13 @@ export type fetchExamDataFromAnswerRecordIds = (params: {
|
|
|
268
268
|
|
|
269
269
|
export type fetchQuestionsByQuizIds = (params: { quizIds: string[]; compositeKey: string }) => ExamData[]
|
|
270
270
|
|
|
271
|
-
export type fetchSerialQuestionInfoLib = (params: { compositeKey: string }) =>
|
|
272
|
-
|
|
271
|
+
export type fetchSerialQuestionInfoLib = (params: { compositeKey: string }) => {
|
|
272
|
+
[key: string]: {
|
|
273
|
+
subject: string
|
|
274
|
+
isSpecial?: boolean
|
|
275
|
+
isMockQuestion?: boolean
|
|
276
|
+
}
|
|
277
|
+
}
|
|
273
278
|
|
|
274
279
|
export type fetchQuizHistoryData = (params: {
|
|
275
280
|
compositeKey: string
|
|
@@ -413,4 +418,18 @@ export type migrateUserToContainer = (params: { bundleId: string }) => {
|
|
|
413
418
|
|
|
414
419
|
export type fetchLicenseOrgName = () => Promise<string | undefined>
|
|
415
420
|
|
|
416
|
-
export type fetchOrgNameFromLicenseCode = (params: { licenseCode: string }) => Promise<string | undefined>
|
|
421
|
+
export type fetchOrgNameFromLicenseCode = (params: { licenseCode: string }) => Promise<string | undefined>
|
|
422
|
+
|
|
423
|
+
export type updateStudentInviteEmailStatus = (
|
|
424
|
+
params: {
|
|
425
|
+
status: {
|
|
426
|
+
message: string
|
|
427
|
+
description: string
|
|
428
|
+
code: number
|
|
429
|
+
'attempt-no': number
|
|
430
|
+
'session-seconds': number
|
|
431
|
+
}
|
|
432
|
+
email: string
|
|
433
|
+
event: string
|
|
434
|
+
}
|
|
435
|
+
) => Promise<License>
|