@wix/auto_sdk_online-programs_quizzes 1.0.32 → 1.0.33
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/build/cjs/index.d.ts +0 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +0 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +0 -4
- package/build/internal/cjs/index.typings.d.ts +5 -9
- package/build/internal/cjs/meta.d.ts +5 -5
- package/build/internal/es/index.d.mts +0 -4
- package/build/internal/es/index.typings.d.mts +5 -9
- package/build/internal/es/meta.d.mts +5 -5
- package/package.json +2 -2
|
@@ -76,8 +76,6 @@ interface DeleteQuizSignature {
|
|
|
76
76
|
* This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
77
77
|
*
|
|
78
78
|
* To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
|
|
79
|
-
*
|
|
80
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
|
|
81
79
|
* @param - ID of the quiz definition to permanently delete.
|
|
82
80
|
*/
|
|
83
81
|
(quizId: string): Promise<NonNullablePaths<DeleteQuizResponse, `quiz.fields` | `quiz.fields.${number}._id`, 3> & {
|
|
@@ -94,8 +92,6 @@ interface BulkDeleteQuizzesSignature {
|
|
|
94
92
|
* This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
95
93
|
*
|
|
96
94
|
* To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
|
|
97
|
-
*
|
|
98
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
|
|
99
95
|
* @param - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
|
|
100
96
|
*/
|
|
101
97
|
(quizIds: string[]): Promise<NonNullablePaths<BulkDeleteQuizzesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
@@ -52,7 +52,7 @@ interface QuizSettings {
|
|
|
52
52
|
*/
|
|
53
53
|
title?: string | null;
|
|
54
54
|
/**
|
|
55
|
-
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
55
|
+
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. Submissions grouped together share an attempt count, even across quizzes. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
56
56
|
* @min 1
|
|
57
57
|
*/
|
|
58
58
|
attempts?: number | null;
|
|
@@ -138,7 +138,7 @@ interface NumericField {
|
|
|
138
138
|
/**
|
|
139
139
|
* Correct numeric value. Matching is exact. If no correct value is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
140
140
|
*
|
|
141
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
141
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
142
142
|
*/
|
|
143
143
|
rightAnswer?: number | null;
|
|
144
144
|
}
|
|
@@ -146,7 +146,7 @@ interface ShortTextField {
|
|
|
146
146
|
/**
|
|
147
147
|
* Correct text. Matching trims leading and trailing whitespace and is case-insensitive. If no correct text is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
148
148
|
*
|
|
149
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
149
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
150
150
|
* @minLength 1
|
|
151
151
|
* @maxLength 200
|
|
152
152
|
*/
|
|
@@ -159,7 +159,7 @@ interface SingleChoiceField {
|
|
|
159
159
|
/**
|
|
160
160
|
* Correct option. When supplied, it must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers is exact. If no correct option is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
161
161
|
*
|
|
162
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
162
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
163
163
|
* @minLength 1
|
|
164
164
|
* @maxLength 350
|
|
165
165
|
*/
|
|
@@ -178,7 +178,7 @@ interface MultiChoiceField {
|
|
|
178
178
|
/**
|
|
179
179
|
* Correct options. Every supplied value must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers ignores option order but doesn't ignore duplicate values. If no correct options are stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
180
180
|
*
|
|
181
|
-
* Empty in responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
181
|
+
* Empty in responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
182
182
|
* @maxSize 90
|
|
183
183
|
* @minLength 1
|
|
184
184
|
* @maxLength 350
|
|
@@ -667,8 +667,6 @@ declare function getQuiz(quizId: string): Promise<NonNullablePaths<Quiz, `fields
|
|
|
667
667
|
* This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
668
668
|
*
|
|
669
669
|
* To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
|
|
670
|
-
*
|
|
671
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
|
|
672
670
|
* @param quizId - ID of the quiz definition to permanently delete.
|
|
673
671
|
* @public
|
|
674
672
|
* @requiredField quizId
|
|
@@ -687,8 +685,6 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
|
|
|
687
685
|
* This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
688
686
|
*
|
|
689
687
|
* To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
|
|
690
|
-
*
|
|
691
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
|
|
692
688
|
* @param quizIds - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
|
|
693
689
|
* @public
|
|
694
690
|
* @documentationMaturity preview
|
|
@@ -53,7 +53,7 @@ interface QuizSettings {
|
|
|
53
53
|
*/
|
|
54
54
|
title?: string | null;
|
|
55
55
|
/**
|
|
56
|
-
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
56
|
+
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. Submissions grouped together share an attempt count, even across quizzes. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
57
57
|
* @min 1
|
|
58
58
|
*/
|
|
59
59
|
attempts?: number | null;
|
|
@@ -139,7 +139,7 @@ interface NumericField {
|
|
|
139
139
|
/**
|
|
140
140
|
* Correct numeric value. Matching is exact. If no correct value is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
141
141
|
*
|
|
142
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
142
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
143
143
|
*/
|
|
144
144
|
rightAnswer?: number | null;
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ interface ShortTextField {
|
|
|
147
147
|
/**
|
|
148
148
|
* Correct text. Matching trims leading and trailing whitespace and is case-insensitive. If no correct text is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
149
149
|
*
|
|
150
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
150
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
151
151
|
* @minLength 1
|
|
152
152
|
* @maxLength 200
|
|
153
153
|
*/
|
|
@@ -160,7 +160,7 @@ interface SingleChoiceField {
|
|
|
160
160
|
/**
|
|
161
161
|
* Correct option. When supplied, it must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers is exact. If no correct option is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
162
162
|
*
|
|
163
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
163
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
164
164
|
* @minLength 1
|
|
165
165
|
* @maxLength 350
|
|
166
166
|
*/
|
|
@@ -179,7 +179,7 @@ interface MultiChoiceField {
|
|
|
179
179
|
/**
|
|
180
180
|
* Correct options. Every supplied value must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers ignores option order but doesn't ignore duplicate values. If no correct options are stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
181
181
|
*
|
|
182
|
-
* Empty in responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
182
|
+
* Empty in responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
183
183
|
* @maxSize 90
|
|
184
184
|
* @minLength 1
|
|
185
185
|
* @maxLength 350
|
|
@@ -76,8 +76,6 @@ interface DeleteQuizSignature {
|
|
|
76
76
|
* This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
77
77
|
*
|
|
78
78
|
* To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
|
|
79
|
-
*
|
|
80
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
|
|
81
79
|
* @param - ID of the quiz definition to permanently delete.
|
|
82
80
|
*/
|
|
83
81
|
(quizId: string): Promise<NonNullablePaths<DeleteQuizResponse, `quiz.fields` | `quiz.fields.${number}._id`, 3> & {
|
|
@@ -94,8 +92,6 @@ interface BulkDeleteQuizzesSignature {
|
|
|
94
92
|
* This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
95
93
|
*
|
|
96
94
|
* To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
|
|
97
|
-
*
|
|
98
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
|
|
99
95
|
* @param - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
|
|
100
96
|
*/
|
|
101
97
|
(quizIds: string[]): Promise<NonNullablePaths<BulkDeleteQuizzesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
@@ -52,7 +52,7 @@ interface QuizSettings {
|
|
|
52
52
|
*/
|
|
53
53
|
title?: string | null;
|
|
54
54
|
/**
|
|
55
|
-
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
55
|
+
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. Submissions grouped together share an attempt count, even across quizzes. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
56
56
|
* @min 1
|
|
57
57
|
*/
|
|
58
58
|
attempts?: number | null;
|
|
@@ -138,7 +138,7 @@ interface NumericField {
|
|
|
138
138
|
/**
|
|
139
139
|
* Correct numeric value. Matching is exact. If no correct value is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
140
140
|
*
|
|
141
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
141
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
142
142
|
*/
|
|
143
143
|
rightAnswer?: number | null;
|
|
144
144
|
}
|
|
@@ -146,7 +146,7 @@ interface ShortTextField {
|
|
|
146
146
|
/**
|
|
147
147
|
* Correct text. Matching trims leading and trailing whitespace and is case-insensitive. If no correct text is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
148
148
|
*
|
|
149
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
149
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
150
150
|
* @minLength 1
|
|
151
151
|
* @maxLength 200
|
|
152
152
|
*/
|
|
@@ -159,7 +159,7 @@ interface SingleChoiceField {
|
|
|
159
159
|
/**
|
|
160
160
|
* Correct option. When supplied, it must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers is exact. If no correct option is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
161
161
|
*
|
|
162
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
162
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
163
163
|
* @minLength 1
|
|
164
164
|
* @maxLength 350
|
|
165
165
|
*/
|
|
@@ -178,7 +178,7 @@ interface MultiChoiceField {
|
|
|
178
178
|
/**
|
|
179
179
|
* Correct options. Every supplied value must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers ignores option order but doesn't ignore duplicate values. If no correct options are stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
180
180
|
*
|
|
181
|
-
* Empty in responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
181
|
+
* Empty in responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
182
182
|
* @maxSize 90
|
|
183
183
|
* @minLength 1
|
|
184
184
|
* @maxLength 350
|
|
@@ -667,8 +667,6 @@ declare function getQuiz(quizId: string): Promise<NonNullablePaths<Quiz, `fields
|
|
|
667
667
|
* This operation doesn't check whether Online Programs steps reference the quiz. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
668
668
|
*
|
|
669
669
|
* To delete multiple quiz definitions in a single API call, call [Bulk Delete Quizzes](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/bulk-delete-quizzes).
|
|
670
|
-
*
|
|
671
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New delete APIs should provide an authoritative server-side reference safeguard.
|
|
672
670
|
* @param quizId - ID of the quiz definition to permanently delete.
|
|
673
671
|
* @public
|
|
674
672
|
* @requiredField quizId
|
|
@@ -687,8 +685,6 @@ declare function deleteQuiz(quizId: string): Promise<NonNullablePaths<DeleteQuiz
|
|
|
687
685
|
* This operation doesn't check whether Online Programs steps reference the quizzes. Coordinate deletion with the Steps API and remove known step references first. Otherwise, steps can retain dangling quiz references.
|
|
688
686
|
*
|
|
689
687
|
* To delete a single quiz definition, call [Delete Quiz](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/delete-quiz).
|
|
690
|
-
*
|
|
691
|
-
* NOT-PRECEDENT: This caller-responsibility behavior is retained as a production v1 compatibility exception. New bulk-delete APIs should provide an authoritative server-side reference safeguard.
|
|
692
688
|
* @param quizIds - IDs of the quiz definitions to permanently delete. Coordinate deletion with the Steps API and remove known step references first.
|
|
693
689
|
* @public
|
|
694
690
|
* @documentationMaturity preview
|
|
@@ -53,7 +53,7 @@ interface QuizSettings {
|
|
|
53
53
|
*/
|
|
54
54
|
title?: string | null;
|
|
55
55
|
/**
|
|
56
|
-
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
56
|
+
* Maximum number of submissions allowed per submitter. If omitted, no attempt-limit check is applied. Submissions grouped together share an attempt count, even across quizzes. See [Attempt limits](https://dev.wix.com/docs/api-reference/business-management/online-programs/quizzes/quiz-grading#attempt-limits) for how submissions are counted.
|
|
57
57
|
* @min 1
|
|
58
58
|
*/
|
|
59
59
|
attempts?: number | null;
|
|
@@ -139,7 +139,7 @@ interface NumericField {
|
|
|
139
139
|
/**
|
|
140
140
|
* Correct numeric value. Matching is exact. If no correct value is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
141
141
|
*
|
|
142
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
142
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct value is stored.
|
|
143
143
|
*/
|
|
144
144
|
rightAnswer?: number | null;
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ interface ShortTextField {
|
|
|
147
147
|
/**
|
|
148
148
|
* Correct text. Matching trims leading and trailing whitespace and is case-insensitive. If no correct text is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
149
149
|
*
|
|
150
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
150
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct text is stored.
|
|
151
151
|
* @minLength 1
|
|
152
152
|
* @maxLength 200
|
|
153
153
|
*/
|
|
@@ -160,7 +160,7 @@ interface SingleChoiceField {
|
|
|
160
160
|
/**
|
|
161
161
|
* Correct option. When supplied, it must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers is exact. If no correct option is stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
162
162
|
*
|
|
163
|
-
* Omitted from responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
163
|
+
* Omitted from responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove the stored key or change grading; an absent response value doesn't mean no correct option is stored.
|
|
164
164
|
* @minLength 1
|
|
165
165
|
* @maxLength 350
|
|
166
166
|
*/
|
|
@@ -179,7 +179,7 @@ interface MultiChoiceField {
|
|
|
179
179
|
/**
|
|
180
180
|
* Correct options. Every supplied value must exactly match an entry in `options`; otherwise, creation fails with INVALID_QUIZ. Matching submitted answers ignores option order but doesn't ignore duplicate values. If no correct options are stored for this question, its submitted answer is non-evaluable and counts as correct when calculating the earned grade.
|
|
181
181
|
*
|
|
182
|
-
* Empty in responses when the caller lacks achievements:quizzes:v1:quiz:read_sensitive_fields permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
182
|
+
* Empty in responses when the caller lacks `achievements:quizzes:v1:quiz:read_sensitive_fields` permission. Response filtering doesn't remove stored keys or change grading; an empty response list doesn't mean no correct options are stored.
|
|
183
183
|
* @maxSize 90
|
|
184
184
|
* @minLength 1
|
|
185
185
|
* @maxLength 350
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_online-programs_quizzes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.achievements.quizzes.v1.quiz"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "08105b81737a18749598520eed031ac138ab3a1f4497860cac9a95f1"
|
|
54
54
|
}
|