@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.
@@ -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. A stored definition whose questions have all been deleted can be returned with no active questions.
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. An existing definition can have no active questions after its questions are deleted through another supported workflow; retrieving that definition doesn't fail solely because this list is empty.
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. Reading an empty definition doesn't imply that it can be used to create a new quiz or accept submissions.
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. A stored definition whose questions have all been deleted can be returned with no active questions.
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. An existing definition can have no active questions after its questions are deleted through another supported workflow; retrieving that definition doesn't fail solely because this list is empty.
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. Reading an empty definition doesn't imply that it can be used to create a new quiz or accept submissions.
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.28",
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": "c296504c5661d6c1f7de3ba10865540325d0e9582bef7e5900770fb8"
53
+ "falconPackageHash": "cac1955e6cbdce3aceecf2aec692d681902270ef88cda2d9bbe5cb7b"
54
54
  }