@easyedu/js-lsm-api 1.91.0 → 1.93.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/.openapi-generator/FILES +50 -0
- package/README.md +52 -2
- package/dist/apis/ContentLibraryQuizApi.d.ts +451 -0
- package/dist/apis/ContentLibraryQuizApi.js +1162 -0
- package/dist/apis/PlayerApi.d.ts +15 -0
- package/dist/apis/PlayerApi.js +44 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +451 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +1158 -0
- package/dist/esm/apis/PlayerApi.d.ts +15 -0
- package/dist/esm/apis/PlayerApi.js +44 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +14 -0
- package/dist/esm/models/GetCourseVersionItem.js +9 -0
- package/dist/esm/models/GetLibraryQuiz.d.ts +124 -0
- package/dist/esm/models/GetLibraryQuiz.js +100 -0
- package/dist/esm/models/GetLibraryQuizAnalytics.d.ts +68 -0
- package/dist/esm/models/GetLibraryQuizAnalytics.js +67 -0
- package/dist/esm/models/GetLibraryQuizList.d.ts +57 -0
- package/dist/esm/models/GetLibraryQuizList.js +60 -0
- package/dist/esm/models/GetLibraryQuizResult.d.ts +94 -0
- package/dist/esm/models/GetLibraryQuizResult.js +79 -0
- package/dist/esm/models/GetLibraryQuizSession.d.ts +177 -0
- package/dist/esm/models/GetLibraryQuizSession.js +129 -0
- package/dist/esm/models/GetLibraryQuizSessionList.d.ts +57 -0
- package/dist/esm/models/GetLibraryQuizSessionList.js +60 -0
- package/dist/esm/models/GetLibraryQuizUsage.d.ts +56 -0
- package/dist/esm/models/GetLibraryQuizUsage.js +59 -0
- package/dist/esm/models/GetLibraryQuizVersion.d.ts +170 -0
- package/dist/esm/models/GetLibraryQuizVersion.js +125 -0
- package/dist/esm/models/GetQuestion.d.ts +7 -1
- package/dist/esm/models/GetQuestion.js +3 -0
- package/dist/esm/models/LibraryQuizCriterion.d.ts +95 -0
- package/dist/esm/models/LibraryQuizCriterion.js +76 -0
- package/dist/esm/models/LibraryQuizQuestion.d.ts +113 -0
- package/dist/esm/models/LibraryQuizQuestion.js +93 -0
- package/dist/esm/models/LibraryQuizQuestionInput.d.ts +50 -0
- package/dist/esm/models/LibraryQuizQuestionInput.js +51 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.js +54 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.d.ts +96 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.js +84 -0
- package/dist/esm/models/PostCourseLibraryQuizSession.d.ts +32 -0
- package/dist/esm/models/PostCourseLibraryQuizSession.js +41 -0
- package/dist/esm/models/PostLibraryQuiz.d.ts +107 -0
- package/dist/esm/models/PostLibraryQuiz.js +70 -0
- package/dist/esm/models/PostLibraryQuizSession.d.ts +32 -0
- package/dist/esm/models/PostLibraryQuizSession.js +41 -0
- package/dist/esm/models/PostLibraryQuizVersion.d.ts +32 -0
- package/dist/esm/models/PostLibraryQuizVersion.js +41 -0
- package/dist/esm/models/PutLibraryQuiz.d.ts +38 -0
- package/dist/esm/models/PutLibraryQuiz.js +43 -0
- package/dist/esm/models/PutLibraryQuizCriteria.d.ts +33 -0
- package/dist/esm/models/PutLibraryQuizCriteria.js +44 -0
- package/dist/esm/models/PutLibraryQuizQuestions.d.ts +33 -0
- package/dist/esm/models/PutLibraryQuizQuestions.js +44 -0
- package/dist/esm/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
- package/dist/esm/models/PutLibraryQuizSessionAnswer.js +45 -0
- package/dist/esm/models/PutLibraryQuizSessionGrade.d.ts +38 -0
- package/dist/esm/models/PutLibraryQuizSessionGrade.js +45 -0
- package/dist/esm/models/PutLibraryQuizVersion.d.ts +101 -0
- package/dist/esm/models/PutLibraryQuizVersion.js +64 -0
- package/dist/esm/models/QuestionSelectionMethod.d.ts +25 -0
- package/dist/esm/models/QuestionSelectionMethod.js +43 -0
- package/dist/esm/models/index.d.ts +24 -0
- package/dist/esm/models/index.js +24 -0
- package/dist/models/GetCourseVersionItem.d.ts +14 -0
- package/dist/models/GetCourseVersionItem.js +10 -1
- package/dist/models/GetLibraryQuiz.d.ts +124 -0
- package/dist/models/GetLibraryQuiz.js +108 -0
- package/dist/models/GetLibraryQuizAnalytics.d.ts +68 -0
- package/dist/models/GetLibraryQuizAnalytics.js +74 -0
- package/dist/models/GetLibraryQuizList.d.ts +57 -0
- package/dist/models/GetLibraryQuizList.js +67 -0
- package/dist/models/GetLibraryQuizResult.d.ts +94 -0
- package/dist/models/GetLibraryQuizResult.js +86 -0
- package/dist/models/GetLibraryQuizSession.d.ts +177 -0
- package/dist/models/GetLibraryQuizSession.js +137 -0
- package/dist/models/GetLibraryQuizSessionList.d.ts +57 -0
- package/dist/models/GetLibraryQuizSessionList.js +67 -0
- package/dist/models/GetLibraryQuizUsage.d.ts +56 -0
- package/dist/models/GetLibraryQuizUsage.js +66 -0
- package/dist/models/GetLibraryQuizVersion.d.ts +170 -0
- package/dist/models/GetLibraryQuizVersion.js +132 -0
- package/dist/models/GetQuestion.d.ts +7 -1
- package/dist/models/GetQuestion.js +3 -0
- package/dist/models/LibraryQuizCriterion.d.ts +95 -0
- package/dist/models/LibraryQuizCriterion.js +84 -0
- package/dist/models/LibraryQuizQuestion.d.ts +113 -0
- package/dist/models/LibraryQuizQuestion.js +101 -0
- package/dist/models/LibraryQuizQuestionInput.d.ts +50 -0
- package/dist/models/LibraryQuizQuestionInput.js +58 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.js +61 -0
- package/dist/models/LibraryQuizSessionQuestion.d.ts +96 -0
- package/dist/models/LibraryQuizSessionQuestion.js +92 -0
- package/dist/models/PostCourseLibraryQuizSession.d.ts +32 -0
- package/dist/models/PostCourseLibraryQuizSession.js +48 -0
- package/dist/models/PostLibraryQuiz.d.ts +107 -0
- package/dist/models/PostLibraryQuiz.js +77 -0
- package/dist/models/PostLibraryQuizSession.d.ts +32 -0
- package/dist/models/PostLibraryQuizSession.js +48 -0
- package/dist/models/PostLibraryQuizVersion.d.ts +32 -0
- package/dist/models/PostLibraryQuizVersion.js +48 -0
- package/dist/models/PutLibraryQuiz.d.ts +38 -0
- package/dist/models/PutLibraryQuiz.js +50 -0
- package/dist/models/PutLibraryQuizCriteria.d.ts +33 -0
- package/dist/models/PutLibraryQuizCriteria.js +51 -0
- package/dist/models/PutLibraryQuizQuestions.d.ts +33 -0
- package/dist/models/PutLibraryQuizQuestions.js +51 -0
- package/dist/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
- package/dist/models/PutLibraryQuizSessionAnswer.js +52 -0
- package/dist/models/PutLibraryQuizSessionGrade.d.ts +38 -0
- package/dist/models/PutLibraryQuizSessionGrade.js +52 -0
- package/dist/models/PutLibraryQuizVersion.d.ts +101 -0
- package/dist/models/PutLibraryQuizVersion.js +71 -0
- package/dist/models/QuestionSelectionMethod.d.ts +25 -0
- package/dist/models/QuestionSelectionMethod.js +51 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/docs/ContentLibraryQuizApi.md +1780 -0
- package/docs/GetCourseVersionItem.md +2 -0
- package/docs/GetLibraryQuiz.md +62 -0
- package/docs/GetLibraryQuizAnalytics.md +46 -0
- package/docs/GetLibraryQuizList.md +42 -0
- package/docs/GetLibraryQuizResult.md +54 -0
- package/docs/GetLibraryQuizSession.md +78 -0
- package/docs/GetLibraryQuizSessionList.md +42 -0
- package/docs/GetLibraryQuizUsage.md +42 -0
- package/docs/GetLibraryQuizVersion.md +78 -0
- package/docs/GetQuestion.md +2 -0
- package/docs/LibraryQuizCriterion.md +48 -0
- package/docs/LibraryQuizQuestion.md +56 -0
- package/docs/LibraryQuizQuestionInput.md +40 -0
- package/docs/LibraryQuizSessionAnswerChoice.md +40 -0
- package/docs/LibraryQuizSessionQuestion.md +50 -0
- package/docs/PlayerApi.md +66 -0
- package/docs/PostCourseLibraryQuizSession.md +34 -0
- package/docs/PostLibraryQuiz.md +58 -0
- package/docs/PostLibraryQuizSession.md +34 -0
- package/docs/PostLibraryQuizVersion.md +34 -0
- package/docs/PutLibraryQuiz.md +36 -0
- package/docs/PutLibraryQuizCriteria.md +34 -0
- package/docs/PutLibraryQuizQuestions.md +34 -0
- package/docs/PutLibraryQuizSessionAnswer.md +36 -0
- package/docs/PutLibraryQuizSessionGrade.md +36 -0
- package/docs/PutLibraryQuizVersion.md +56 -0
- package/docs/QuestionSelectionMethod.md +32 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryQuizApi.ts +1624 -0
- package/src/apis/PlayerApi.ts +53 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetCourseVersionItem.ts +17 -0
- package/src/models/GetLibraryQuiz.ts +207 -0
- package/src/models/GetLibraryQuizAnalytics.ts +120 -0
- package/src/models/GetLibraryQuizList.ts +110 -0
- package/src/models/GetLibraryQuizResult.ts +154 -0
- package/src/models/GetLibraryQuizSession.ts +286 -0
- package/src/models/GetLibraryQuizSessionList.ts +110 -0
- package/src/models/GetLibraryQuizUsage.ts +102 -0
- package/src/models/GetLibraryQuizVersion.ts +290 -0
- package/src/models/GetQuestion.ts +9 -1
- package/src/models/LibraryQuizCriterion.ts +147 -0
- package/src/models/LibraryQuizQuestion.ts +185 -0
- package/src/models/LibraryQuizQuestionInput.ts +91 -0
- package/src/models/LibraryQuizSessionAnswerChoice.ts +100 -0
- package/src/models/LibraryQuizSessionQuestion.ts +166 -0
- package/src/models/PostCourseLibraryQuizSession.ts +65 -0
- package/src/models/PostLibraryQuiz.ts +173 -0
- package/src/models/PostLibraryQuizSession.ts +65 -0
- package/src/models/PostLibraryQuizVersion.ts +65 -0
- package/src/models/PutLibraryQuiz.ts +73 -0
- package/src/models/PutLibraryQuizCriteria.ts +74 -0
- package/src/models/PutLibraryQuizQuestions.ts +74 -0
- package/src/models/PutLibraryQuizSessionAnswer.ts +74 -0
- package/src/models/PutLibraryQuizSessionGrade.ts +74 -0
- package/src/models/PutLibraryQuizVersion.ts +163 -0
- package/src/models/QuestionSelectionMethod.ts +53 -0
- package/src/models/index.ts +24 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GetLibraryQuizUsage interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetLibraryQuizUsage(value) {
|
|
18
|
+
if (!('quizId' in value) || value['quizId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('publishedCourseCount' in value) || value['publishedCourseCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('draftCourseCount' in value) || value['draftCourseCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('historicalCourseCount' in value) || value['historicalCourseCount'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('activeLearnerCount' in value) || value['activeLearnerCount'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function GetLibraryQuizUsageFromJSON(json) {
|
|
31
|
+
return GetLibraryQuizUsageFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function GetLibraryQuizUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'quizId': json['quiz_id'],
|
|
39
|
+
'publishedCourseCount': json['published_course_count'],
|
|
40
|
+
'draftCourseCount': json['draft_course_count'],
|
|
41
|
+
'historicalCourseCount': json['historical_course_count'],
|
|
42
|
+
'activeLearnerCount': json['active_learner_count'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function GetLibraryQuizUsageToJSON(json) {
|
|
46
|
+
return GetLibraryQuizUsageToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function GetLibraryQuizUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'quiz_id': value['quizId'],
|
|
54
|
+
'published_course_count': value['publishedCourseCount'],
|
|
55
|
+
'draft_course_count': value['draftCourseCount'],
|
|
56
|
+
'historical_course_count': value['historicalCourseCount'],
|
|
57
|
+
'active_learner_count': value['activeLearnerCount'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LibraryQuizCriterion } from './LibraryQuizCriterion';
|
|
13
|
+
import type { ContentLibraryVersionStatus } from './ContentLibraryVersionStatus';
|
|
14
|
+
import type { QuestionSelectionMethod } from './QuestionSelectionMethod';
|
|
15
|
+
import type { LibraryQuizQuestion } from './LibraryQuizQuestion';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetLibraryQuizVersion
|
|
20
|
+
*/
|
|
21
|
+
export interface GetLibraryQuizVersion {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetLibraryQuizVersion
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof GetLibraryQuizVersion
|
|
32
|
+
*/
|
|
33
|
+
versionNumber: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ContentLibraryVersionStatus}
|
|
37
|
+
* @memberof GetLibraryQuizVersion
|
|
38
|
+
*/
|
|
39
|
+
status: ContentLibraryVersionStatus;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GetLibraryQuizVersion
|
|
44
|
+
*/
|
|
45
|
+
changeNotes?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {QuestionSelectionMethod}
|
|
49
|
+
* @memberof GetLibraryQuizVersion
|
|
50
|
+
*/
|
|
51
|
+
questionSelectionMethod: QuestionSelectionMethod;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof GetLibraryQuizVersion
|
|
56
|
+
*/
|
|
57
|
+
maxQuestions?: number | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof GetLibraryQuizVersion
|
|
62
|
+
*/
|
|
63
|
+
passingScore: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof GetLibraryQuizVersion
|
|
68
|
+
*/
|
|
69
|
+
timeLimitMinutes?: number | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof GetLibraryQuizVersion
|
|
74
|
+
*/
|
|
75
|
+
randomizeQuestions: boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof GetLibraryQuizVersion
|
|
80
|
+
*/
|
|
81
|
+
randomizeAnswers: boolean;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof GetLibraryQuizVersion
|
|
86
|
+
*/
|
|
87
|
+
showResults: boolean;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof GetLibraryQuizVersion
|
|
92
|
+
*/
|
|
93
|
+
showCorrectAnswers: boolean;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof GetLibraryQuizVersion
|
|
98
|
+
*/
|
|
99
|
+
allowReview: boolean;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof GetLibraryQuizVersion
|
|
104
|
+
*/
|
|
105
|
+
requireAllQuestions: boolean;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {{ [key: string]: any; }}
|
|
109
|
+
* @memberof GetLibraryQuizVersion
|
|
110
|
+
*/
|
|
111
|
+
settings: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<LibraryQuizQuestion>}
|
|
117
|
+
* @memberof GetLibraryQuizVersion
|
|
118
|
+
*/
|
|
119
|
+
questions: Array<LibraryQuizQuestion>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<LibraryQuizCriterion>}
|
|
123
|
+
* @memberof GetLibraryQuizVersion
|
|
124
|
+
*/
|
|
125
|
+
criteria: Array<LibraryQuizCriterion>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {number}
|
|
129
|
+
* @memberof GetLibraryQuizVersion
|
|
130
|
+
*/
|
|
131
|
+
questionCount: number;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof GetLibraryQuizVersion
|
|
136
|
+
*/
|
|
137
|
+
createdBy: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {number}
|
|
141
|
+
* @memberof GetLibraryQuizVersion
|
|
142
|
+
*/
|
|
143
|
+
createdAt: number;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {number}
|
|
147
|
+
* @memberof GetLibraryQuizVersion
|
|
148
|
+
*/
|
|
149
|
+
updatedAt: number;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {number}
|
|
153
|
+
* @memberof GetLibraryQuizVersion
|
|
154
|
+
*/
|
|
155
|
+
publishedAt?: number | null;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {number}
|
|
159
|
+
* @memberof GetLibraryQuizVersion
|
|
160
|
+
*/
|
|
161
|
+
archivedAt?: number | null;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Check if a given object implements the GetLibraryQuizVersion interface.
|
|
165
|
+
*/
|
|
166
|
+
export declare function instanceOfGetLibraryQuizVersion(value: object): value is GetLibraryQuizVersion;
|
|
167
|
+
export declare function GetLibraryQuizVersionFromJSON(json: any): GetLibraryQuizVersion;
|
|
168
|
+
export declare function GetLibraryQuizVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLibraryQuizVersion;
|
|
169
|
+
export declare function GetLibraryQuizVersionToJSON(json: any): GetLibraryQuizVersion;
|
|
170
|
+
export declare function GetLibraryQuizVersionToJSONTyped(value?: GetLibraryQuizVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { LibraryQuizCriterionFromJSON, LibraryQuizCriterionToJSON, } from './LibraryQuizCriterion';
|
|
15
|
+
import { ContentLibraryVersionStatusFromJSON, ContentLibraryVersionStatusToJSON, } from './ContentLibraryVersionStatus';
|
|
16
|
+
import { QuestionSelectionMethodFromJSON, QuestionSelectionMethodToJSON, } from './QuestionSelectionMethod';
|
|
17
|
+
import { LibraryQuizQuestionFromJSON, LibraryQuizQuestionToJSON, } from './LibraryQuizQuestion';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the GetLibraryQuizVersion interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfGetLibraryQuizVersion(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('versionNumber' in value) || value['versionNumber'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('questionSelectionMethod' in value) || value['questionSelectionMethod'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('passingScore' in value) || value['passingScore'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('randomizeQuestions' in value) || value['randomizeQuestions'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('randomizeAnswers' in value) || value['randomizeAnswers'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('showResults' in value) || value['showResults'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('showCorrectAnswers' in value) || value['showCorrectAnswers'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('allowReview' in value) || value['allowReview'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('requireAllQuestions' in value) || value['requireAllQuestions'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('settings' in value) || value['settings'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('questions' in value) || value['questions'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('criteria' in value) || value['criteria'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('questionCount' in value) || value['questionCount'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
export function GetLibraryQuizVersionFromJSON(json) {
|
|
61
|
+
return GetLibraryQuizVersionFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function GetLibraryQuizVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
'versionNumber': json['version_number'],
|
|
70
|
+
'status': ContentLibraryVersionStatusFromJSON(json['status']),
|
|
71
|
+
'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
|
|
72
|
+
'questionSelectionMethod': QuestionSelectionMethodFromJSON(json['question_selection_method']),
|
|
73
|
+
'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
|
|
74
|
+
'passingScore': json['passing_score'],
|
|
75
|
+
'timeLimitMinutes': json['time_limit_minutes'] == null ? undefined : json['time_limit_minutes'],
|
|
76
|
+
'randomizeQuestions': json['randomize_questions'],
|
|
77
|
+
'randomizeAnswers': json['randomize_answers'],
|
|
78
|
+
'showResults': json['show_results'],
|
|
79
|
+
'showCorrectAnswers': json['show_correct_answers'],
|
|
80
|
+
'allowReview': json['allow_review'],
|
|
81
|
+
'requireAllQuestions': json['require_all_questions'],
|
|
82
|
+
'settings': json['settings'],
|
|
83
|
+
'questions': (json['questions'].map(LibraryQuizQuestionFromJSON)),
|
|
84
|
+
'criteria': (json['criteria'].map(LibraryQuizCriterionFromJSON)),
|
|
85
|
+
'questionCount': json['question_count'],
|
|
86
|
+
'createdBy': json['created_by'],
|
|
87
|
+
'createdAt': json['created_at'],
|
|
88
|
+
'updatedAt': json['updated_at'],
|
|
89
|
+
'publishedAt': json['published_at'] == null ? undefined : json['published_at'],
|
|
90
|
+
'archivedAt': json['archived_at'] == null ? undefined : json['archived_at'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export function GetLibraryQuizVersionToJSON(json) {
|
|
94
|
+
return GetLibraryQuizVersionToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
export function GetLibraryQuizVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
'id': value['id'],
|
|
102
|
+
'version_number': value['versionNumber'],
|
|
103
|
+
'status': ContentLibraryVersionStatusToJSON(value['status']),
|
|
104
|
+
'change_notes': value['changeNotes'],
|
|
105
|
+
'question_selection_method': QuestionSelectionMethodToJSON(value['questionSelectionMethod']),
|
|
106
|
+
'max_questions': value['maxQuestions'],
|
|
107
|
+
'passing_score': value['passingScore'],
|
|
108
|
+
'time_limit_minutes': value['timeLimitMinutes'],
|
|
109
|
+
'randomize_questions': value['randomizeQuestions'],
|
|
110
|
+
'randomize_answers': value['randomizeAnswers'],
|
|
111
|
+
'show_results': value['showResults'],
|
|
112
|
+
'show_correct_answers': value['showCorrectAnswers'],
|
|
113
|
+
'allow_review': value['allowReview'],
|
|
114
|
+
'require_all_questions': value['requireAllQuestions'],
|
|
115
|
+
'settings': value['settings'],
|
|
116
|
+
'questions': (value['questions'].map(LibraryQuizQuestionToJSON)),
|
|
117
|
+
'criteria': (value['criteria'].map(LibraryQuizCriterionToJSON)),
|
|
118
|
+
'question_count': value['questionCount'],
|
|
119
|
+
'created_by': value['createdBy'],
|
|
120
|
+
'created_at': value['createdAt'],
|
|
121
|
+
'updated_at': value['updatedAt'],
|
|
122
|
+
'published_at': value['publishedAt'],
|
|
123
|
+
'archived_at': value['archivedAt'],
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -78,6 +78,12 @@ export interface GetQuestion {
|
|
|
78
78
|
* @memberof GetQuestion
|
|
79
79
|
*/
|
|
80
80
|
version?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Canonical numeric version within the question's version history
|
|
83
|
+
* @type {number}
|
|
84
|
+
* @memberof GetQuestion
|
|
85
|
+
*/
|
|
86
|
+
readonly versionNumber: number;
|
|
81
87
|
/**
|
|
82
88
|
* When the question was created
|
|
83
89
|
* @type {Date}
|
|
@@ -137,4 +143,4 @@ export declare function instanceOfGetQuestion(value: object): value is GetQuesti
|
|
|
137
143
|
export declare function GetQuestionFromJSON(json: any): GetQuestion;
|
|
138
144
|
export declare function GetQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetQuestion;
|
|
139
145
|
export declare function GetQuestionToJSON(json: any): GetQuestion;
|
|
140
|
-
export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
|
|
146
|
+
export declare function GetQuestionToJSONTyped(value?: Omit<GetQuestion, 'id' | 'version_number' | 'created_date' | 'updated_date' | 'created_by' | 'quiz_count' | 'quizzes'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -47,6 +47,8 @@ export function instanceOfGetQuestion(value) {
|
|
|
47
47
|
return false;
|
|
48
48
|
if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined)
|
|
49
49
|
return false;
|
|
50
|
+
if (!('versionNumber' in value) || value['versionNumber'] === undefined)
|
|
51
|
+
return false;
|
|
50
52
|
if (!('createdDate' in value) || value['createdDate'] === undefined)
|
|
51
53
|
return false;
|
|
52
54
|
if (!('updatedDate' in value) || value['updatedDate'] === undefined)
|
|
@@ -71,6 +73,7 @@ export function GetQuestionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
73
|
'difficultyLevel': json['difficulty_level'],
|
|
72
74
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
73
75
|
'version': json['version'] == null ? undefined : json['version'],
|
|
76
|
+
'versionNumber': json['version_number'],
|
|
74
77
|
'createdDate': (new Date(json['created_date'])),
|
|
75
78
|
'updatedDate': (new Date(json['updated_date'])),
|
|
76
79
|
'createdBy': json['created_by'] == null ? undefined : json['created_by'],
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LibraryQuizCriterion
|
|
16
|
+
*/
|
|
17
|
+
export interface LibraryQuizCriterion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LibraryQuizCriterion
|
|
22
|
+
*/
|
|
23
|
+
id?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LibraryQuizCriterion
|
|
28
|
+
*/
|
|
29
|
+
topic?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {LibraryQuizCriterionDifficultyLevelEnum}
|
|
33
|
+
* @memberof LibraryQuizCriterion
|
|
34
|
+
*/
|
|
35
|
+
difficultyLevel?: LibraryQuizCriterionDifficultyLevelEnum | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {LibraryQuizCriterionQuestionTypeEnum}
|
|
39
|
+
* @memberof LibraryQuizCriterion
|
|
40
|
+
*/
|
|
41
|
+
questionType?: LibraryQuizCriterionQuestionTypeEnum | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof LibraryQuizCriterion
|
|
46
|
+
*/
|
|
47
|
+
tags?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof LibraryQuizCriterion
|
|
52
|
+
*/
|
|
53
|
+
minQuestions?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof LibraryQuizCriterion
|
|
58
|
+
*/
|
|
59
|
+
maxQuestions?: number | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof LibraryQuizCriterion
|
|
64
|
+
*/
|
|
65
|
+
priority: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const LibraryQuizCriterionDifficultyLevelEnum: {
|
|
71
|
+
readonly Beginner: "beginner";
|
|
72
|
+
readonly Intermediate: "intermediate";
|
|
73
|
+
readonly Advanced: "advanced";
|
|
74
|
+
};
|
|
75
|
+
export type LibraryQuizCriterionDifficultyLevelEnum = typeof LibraryQuizCriterionDifficultyLevelEnum[keyof typeof LibraryQuizCriterionDifficultyLevelEnum];
|
|
76
|
+
/**
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export declare const LibraryQuizCriterionQuestionTypeEnum: {
|
|
80
|
+
readonly SingleAnswer: "single_answer";
|
|
81
|
+
readonly MultipleAnswer: "multiple_answer";
|
|
82
|
+
readonly FillInBlank: "fill_in_blank";
|
|
83
|
+
readonly ShortAnswer: "short_answer";
|
|
84
|
+
readonly Matching: "matching";
|
|
85
|
+
readonly Essay: "essay";
|
|
86
|
+
};
|
|
87
|
+
export type LibraryQuizCriterionQuestionTypeEnum = typeof LibraryQuizCriterionQuestionTypeEnum[keyof typeof LibraryQuizCriterionQuestionTypeEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the LibraryQuizCriterion interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfLibraryQuizCriterion(value: object): value is LibraryQuizCriterion;
|
|
92
|
+
export declare function LibraryQuizCriterionFromJSON(json: any): LibraryQuizCriterion;
|
|
93
|
+
export declare function LibraryQuizCriterionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryQuizCriterion;
|
|
94
|
+
export declare function LibraryQuizCriterionToJSON(json: any): LibraryQuizCriterion;
|
|
95
|
+
export declare function LibraryQuizCriterionToJSONTyped(value?: LibraryQuizCriterion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const LibraryQuizCriterionDifficultyLevelEnum = {
|
|
18
|
+
Beginner: 'beginner',
|
|
19
|
+
Intermediate: 'intermediate',
|
|
20
|
+
Advanced: 'advanced'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const LibraryQuizCriterionQuestionTypeEnum = {
|
|
26
|
+
SingleAnswer: 'single_answer',
|
|
27
|
+
MultipleAnswer: 'multiple_answer',
|
|
28
|
+
FillInBlank: 'fill_in_blank',
|
|
29
|
+
ShortAnswer: 'short_answer',
|
|
30
|
+
Matching: 'matching',
|
|
31
|
+
Essay: 'essay'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the LibraryQuizCriterion interface.
|
|
35
|
+
*/
|
|
36
|
+
export function instanceOfLibraryQuizCriterion(value) {
|
|
37
|
+
if (!('priority' in value) || value['priority'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
export function LibraryQuizCriterionFromJSON(json) {
|
|
42
|
+
return LibraryQuizCriterionFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function LibraryQuizCriterionFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
+
'topic': json['topic'] == null ? undefined : json['topic'],
|
|
51
|
+
'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
|
|
52
|
+
'questionType': json['question_type'] == null ? undefined : json['question_type'],
|
|
53
|
+
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
54
|
+
'minQuestions': json['min_questions'] == null ? undefined : json['min_questions'],
|
|
55
|
+
'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
|
|
56
|
+
'priority': json['priority'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export function LibraryQuizCriterionToJSON(json) {
|
|
60
|
+
return LibraryQuizCriterionToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
export function LibraryQuizCriterionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'topic': value['topic'],
|
|
69
|
+
'difficulty_level': value['difficultyLevel'],
|
|
70
|
+
'question_type': value['questionType'],
|
|
71
|
+
'tags': value['tags'],
|
|
72
|
+
'min_questions': value['minQuestions'],
|
|
73
|
+
'max_questions': value['maxQuestions'],
|
|
74
|
+
'priority': value['priority'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RichTextDocument } from './RichTextDocument';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LibraryQuizQuestion
|
|
17
|
+
*/
|
|
18
|
+
export interface LibraryQuizQuestion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LibraryQuizQuestion
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LibraryQuizQuestion
|
|
29
|
+
*/
|
|
30
|
+
questionId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LibraryQuizQuestion
|
|
35
|
+
*/
|
|
36
|
+
questionGroupId?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Exact question version currently represented by this quiz selection
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof LibraryQuizQuestion
|
|
41
|
+
*/
|
|
42
|
+
effectiveQuestionId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {RichTextDocument}
|
|
46
|
+
* @memberof LibraryQuizQuestion
|
|
47
|
+
*/
|
|
48
|
+
questionText: RichTextDocument;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {LibraryQuizQuestionQuestionTypeEnum}
|
|
52
|
+
* @memberof LibraryQuizQuestion
|
|
53
|
+
*/
|
|
54
|
+
questionType: LibraryQuizQuestionQuestionTypeEnum;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof LibraryQuizQuestion
|
|
59
|
+
*/
|
|
60
|
+
questionVersionNumber: number;
|
|
61
|
+
/**
|
|
62
|
+
* Optional human-readable identifier for the represented question version
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof LibraryQuizQuestion
|
|
65
|
+
*/
|
|
66
|
+
questionVersion?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof LibraryQuizQuestion
|
|
71
|
+
*/
|
|
72
|
+
displayOrder: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof LibraryQuizQuestion
|
|
77
|
+
*/
|
|
78
|
+
points: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LibraryQuizQuestion
|
|
83
|
+
*/
|
|
84
|
+
versionLocked: boolean;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {{ [key: string]: any; }}
|
|
88
|
+
* @memberof LibraryQuizQuestion
|
|
89
|
+
*/
|
|
90
|
+
snapshot?: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
} | null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const LibraryQuizQuestionQuestionTypeEnum: {
|
|
98
|
+
readonly SingleAnswer: "single_answer";
|
|
99
|
+
readonly MultipleAnswer: "multiple_answer";
|
|
100
|
+
readonly FillInBlank: "fill_in_blank";
|
|
101
|
+
readonly ShortAnswer: "short_answer";
|
|
102
|
+
readonly Matching: "matching";
|
|
103
|
+
readonly Essay: "essay";
|
|
104
|
+
};
|
|
105
|
+
export type LibraryQuizQuestionQuestionTypeEnum = typeof LibraryQuizQuestionQuestionTypeEnum[keyof typeof LibraryQuizQuestionQuestionTypeEnum];
|
|
106
|
+
/**
|
|
107
|
+
* Check if a given object implements the LibraryQuizQuestion interface.
|
|
108
|
+
*/
|
|
109
|
+
export declare function instanceOfLibraryQuizQuestion(value: object): value is LibraryQuizQuestion;
|
|
110
|
+
export declare function LibraryQuizQuestionFromJSON(json: any): LibraryQuizQuestion;
|
|
111
|
+
export declare function LibraryQuizQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryQuizQuestion;
|
|
112
|
+
export declare function LibraryQuizQuestionToJSON(json: any): LibraryQuizQuestion;
|
|
113
|
+
export declare function LibraryQuizQuestionToJSONTyped(value?: LibraryQuizQuestion | null, ignoreDiscriminator?: boolean): any;
|