@pocketprep/types 1.15.34 → 1.16.0
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/Cloud.d.ts +5 -5
- package/Support/Cloud.d.ts +66 -0
- package/Support/index.d.ts +3 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -2
package/CMS/Cloud.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
MockExam,
|
|
21
21
|
QuestionJSON,
|
|
22
22
|
BloomTaxonomyLevel,
|
|
23
|
+
ConceptQuizJSON,
|
|
23
24
|
} from '../Study/Class'
|
|
24
|
-
import { Study } from 'types'
|
|
25
25
|
|
|
26
26
|
export interface JobWithMetrics {
|
|
27
27
|
objectId: string
|
|
@@ -370,13 +370,13 @@ export type deleteOldParseDataV2 = (params: {
|
|
|
370
370
|
|
|
371
371
|
export type vectorizeQuestions = (params: { examMetadataId: string; serials: string[] }) => void
|
|
372
372
|
|
|
373
|
-
export type fetchConceptQuizzes = (params: { examMetadataId: string }) =>
|
|
373
|
+
export type fetchConceptQuizzes = (params: { examMetadataId: string }) => ConceptQuizJSON[]
|
|
374
374
|
|
|
375
|
-
export type archiveConceptQuiz = (params: { conceptQuizId: string }) =>
|
|
375
|
+
export type archiveConceptQuiz = (params: { conceptQuizId: string }) => ConceptQuizJSON
|
|
376
376
|
|
|
377
|
-
export type unarchiveConceptQuiz = (params: { conceptQuizId: string }) =>
|
|
377
|
+
export type unarchiveConceptQuiz = (params: { conceptQuizId: string }) => ConceptQuizJSON
|
|
378
378
|
|
|
379
379
|
export type createConceptQuizzes = (params: {
|
|
380
380
|
concepts: string[]
|
|
381
381
|
examMetadataId: string
|
|
382
|
-
}) =>
|
|
382
|
+
}) => ConceptQuizJSON[]
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Study, Teach } from '../index'
|
|
2
|
+
|
|
3
|
+
export type supportCreateOrganization = (params: { orgName: string }) => Teach.Class.OrganizationJSON
|
|
4
|
+
|
|
5
|
+
export type supportFetchOrganizations = () => Teach.Class.OrganizationJSON[]
|
|
6
|
+
|
|
7
|
+
export type supportAddInstructor = (params: {
|
|
8
|
+
email: string
|
|
9
|
+
firstName: string
|
|
10
|
+
lastName: string
|
|
11
|
+
isAdmin: boolean
|
|
12
|
+
orgId: string
|
|
13
|
+
}) => Teach.Class.OrgInstructorJSON
|
|
14
|
+
|
|
15
|
+
export type supportAddGroup = (params: {
|
|
16
|
+
groupName: string
|
|
17
|
+
orgId: string
|
|
18
|
+
orgExamId: string
|
|
19
|
+
ownerId?: string
|
|
20
|
+
}) => Teach.Class.OrgGroupJSON
|
|
21
|
+
|
|
22
|
+
export type supportAddDemoStudents = (params: {
|
|
23
|
+
orgId: string
|
|
24
|
+
orgExamIds: string[]
|
|
25
|
+
numStudents: number
|
|
26
|
+
}) => Teach.Class.OrgStudentJSON[]
|
|
27
|
+
|
|
28
|
+
export type supportCreateDemoStudentActivity = (params: {
|
|
29
|
+
studentId: string
|
|
30
|
+
examGuid: string
|
|
31
|
+
version: string
|
|
32
|
+
examMetadataId?: string
|
|
33
|
+
}) => Study.Class.QuizJSON[]
|
|
34
|
+
|
|
35
|
+
export type createLicenses = (params: {
|
|
36
|
+
organizationId: string
|
|
37
|
+
examGuid: string
|
|
38
|
+
numLicenses: number
|
|
39
|
+
disableAdminNotification?: boolean
|
|
40
|
+
}) => Study.Class.LicenseJSON[]
|
|
41
|
+
|
|
42
|
+
export type updateLicenseExam = (
|
|
43
|
+
params: {
|
|
44
|
+
objectId: string
|
|
45
|
+
examGuid: string
|
|
46
|
+
appId: string
|
|
47
|
+
examName: string
|
|
48
|
+
}
|
|
49
|
+
) => Study.Class.LicenseJSON
|
|
50
|
+
|
|
51
|
+
export type deleteLicense = (params: { licenseId: string }) => void
|
|
52
|
+
|
|
53
|
+
export type addExams = (params: {
|
|
54
|
+
exams: { examMetadataId: string; displayName: string }[]
|
|
55
|
+
organizationId: string
|
|
56
|
+
}) => Teach.Class.OrgExamJSON[]
|
|
57
|
+
|
|
58
|
+
export type archiveOrganization = (
|
|
59
|
+
params: {
|
|
60
|
+
organizationId: string
|
|
61
|
+
}
|
|
62
|
+
) => Teach.Class.OrganizationJSON
|
|
63
|
+
|
|
64
|
+
export type createMagicToken = (params: {
|
|
65
|
+
email: string
|
|
66
|
+
}) => string
|
package/index.d.ts
CHANGED
package/package.json
CHANGED