@wix/auto_sdk_online-programs_quizzes 1.0.28 → 1.0.29
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 +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -1
- package/build/internal/cjs/index.typings.d.ts +5 -3
- package/build/internal/cjs/meta.d.ts +2 -2
- package/build/internal/es/index.d.mts +3 -1
- package/build/internal/es/index.typings.d.mts +5 -3
- package/build/internal/es/meta.d.mts +2 -2
- package/package.json +2 -2
|
@@ -50,7 +50,9 @@ interface BulkCreateQuizzesSignature {
|
|
|
50
50
|
declare function getQuiz$1(httpClient: HttpClient): GetQuizSignature;
|
|
51
51
|
interface GetQuizSignature {
|
|
52
52
|
/**
|
|
53
|
-
* Retrieves a quiz definition by ID.
|
|
53
|
+
* Retrieves a quiz definition by ID.
|
|
54
|
+
*
|
|
55
|
+
* A legacy stored definition whose questions have all been deleted can be returned with an empty fields list. The minimum question requirement for creation and cloning doesn't guarantee a nonempty result from this method.
|
|
54
56
|
*
|
|
55
57
|
* To discover a quiz ID, query or retrieve its quiz-type Online Programs step and read `step.quizOptions.id`.
|
|
56
58
|
* @param - Quiz ID, available from `step.quizOptions.id` on a quiz-type Online Programs step.
|
|
@@ -34,9 +34,9 @@ interface Quiz {
|
|
|
34
34
|
*/
|
|
35
35
|
_updatedDate?: Date | null;
|
|
36
36
|
/**
|
|
37
|
-
* Active questions in the quiz. Each `QuizField` defines one question and its answer input. Creating a quiz requires at least one question.
|
|
37
|
+
* Active questions in the quiz. Each `QuizField` defines one question and its answer input. Creating or cloning a quiz requires at least one active question. GetQuiz can return a legacy stored definition with an empty list; don't assume a retrieved definition has active questions.
|
|
38
38
|
*
|
|
39
|
-
* New submissions use the current questions; stored submissions retain their recorded answer evaluations.
|
|
39
|
+
* New submissions use the current questions; stored submissions retain their recorded answer evaluations.
|
|
40
40
|
* @minSize 1
|
|
41
41
|
* @maxSize 200
|
|
42
42
|
*/
|
|
@@ -637,7 +637,9 @@ interface BulkCreateQuizzesOptions {
|
|
|
637
637
|
returnEntity?: boolean;
|
|
638
638
|
}
|
|
639
639
|
/**
|
|
640
|
-
* Retrieves a quiz definition by ID.
|
|
640
|
+
* Retrieves a quiz definition by ID.
|
|
641
|
+
*
|
|
642
|
+
* A legacy stored definition whose questions have all been deleted can be returned with an empty fields list. The minimum question requirement for creation and cloning doesn't guarantee a nonempty result from this method.
|
|
641
643
|
*
|
|
642
644
|
* To discover a quiz ID, query or retrieve its quiz-type Online Programs step and read `step.quizOptions.id`.
|
|
643
645
|
* @param quizId - Quiz ID, available from `step.quizOptions.id` on a quiz-type Online Programs step.
|
|
@@ -35,9 +35,9 @@ interface Quiz {
|
|
|
35
35
|
*/
|
|
36
36
|
updatedDate?: Date | null;
|
|
37
37
|
/**
|
|
38
|
-
* Active questions in the quiz. Each `QuizField` defines one question and its answer input. Creating a quiz requires at least one question.
|
|
38
|
+
* Active questions in the quiz. Each `QuizField` defines one question and its answer input. Creating or cloning a quiz requires at least one active question. GetQuiz can return a legacy stored definition with an empty list; don't assume a retrieved definition has active questions.
|
|
39
39
|
*
|
|
40
|
-
* New submissions use the current questions; stored submissions retain their recorded answer evaluations.
|
|
40
|
+
* New submissions use the current questions; stored submissions retain their recorded answer evaluations.
|
|
41
41
|
* @minSize 1
|
|
42
42
|
* @maxSize 200
|
|
43
43
|
*/
|
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.29",
|
|
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": "cac1955e6cbdce3aceecf2aec692d681902270ef88cda2d9bbe5cb7b"
|
|
54
54
|
}
|