@wix/himalaya-cli 0.1795.0 → 0.1797.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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +6 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{11bd915805d61287157c1beca36b2d642d15e8107049a7d0fed28468d2965395.bin → 04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +44 -41
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/sdk-reference.json +2 -2
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/branded-lite/dev/index.ts +483 -0
- package/templates/branded-lite/l10n/ar.json +66 -0
- package/templates/branded-lite/l10n/cs.json +66 -0
- package/templates/branded-lite/l10n/da.json +66 -0
- package/templates/branded-lite/l10n/de.json +66 -0
- package/templates/branded-lite/l10n/el.json +66 -0
- package/templates/branded-lite/l10n/en.json +8 -1
- package/templates/branded-lite/l10n/es.json +66 -0
- package/templates/branded-lite/l10n/fi.json +66 -0
- package/templates/branded-lite/l10n/fr.json +66 -0
- package/templates/branded-lite/l10n/he.json +53 -0
- package/templates/branded-lite/l10n/hu.json +66 -0
- package/templates/branded-lite/l10n/id.json +66 -0
- package/templates/branded-lite/l10n/it.json +66 -0
- package/templates/branded-lite/l10n/ja.json +66 -0
- package/templates/branded-lite/l10n/ko.json +66 -0
- package/templates/branded-lite/l10n/lt.json +66 -0
- package/templates/branded-lite/l10n/nl.json +66 -0
- package/templates/branded-lite/l10n/no.json +66 -0
- package/templates/branded-lite/l10n/pl.json +66 -0
- package/templates/branded-lite/l10n/pt.json +66 -0
- package/templates/branded-lite/l10n/ru.json +66 -0
- package/templates/branded-lite/l10n/sv.json +66 -0
- package/templates/branded-lite/l10n/th.json +66 -0
- package/templates/branded-lite/l10n/tr.json +66 -0
- package/templates/branded-lite/l10n/uk.json +66 -0
- package/templates/branded-lite/l10n/vi.json +66 -0
- package/templates/branded-lite/l10n/zh.json +66 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/quiz.ts +114 -0
- package/templates/community-club/l10n/en.json +1 -1
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/podcast-creator/l10n/en.json +1 -1
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/yoga-studio/dev/index.ts +483 -0
- package/templates/yoga-studio/l10n/ar.json +66 -0
- package/templates/yoga-studio/l10n/cs.json +66 -0
- package/templates/yoga-studio/l10n/da.json +66 -0
- package/templates/yoga-studio/l10n/de.json +66 -0
- package/templates/yoga-studio/l10n/el.json +66 -0
- package/templates/yoga-studio/l10n/en.json +8 -1
- package/templates/yoga-studio/l10n/es.json +66 -0
- package/templates/yoga-studio/l10n/fi.json +66 -0
- package/templates/yoga-studio/l10n/fr.json +66 -0
- package/templates/yoga-studio/l10n/he.json +53 -0
- package/templates/yoga-studio/l10n/hu.json +66 -0
- package/templates/yoga-studio/l10n/id.json +66 -0
- package/templates/yoga-studio/l10n/it.json +66 -0
- package/templates/yoga-studio/l10n/ja.json +66 -0
- package/templates/yoga-studio/l10n/ko.json +66 -0
- package/templates/yoga-studio/l10n/lt.json +66 -0
- package/templates/yoga-studio/l10n/nl.json +66 -0
- package/templates/yoga-studio/l10n/no.json +66 -0
- package/templates/yoga-studio/l10n/pl.json +66 -0
- package/templates/yoga-studio/l10n/pt.json +66 -0
- package/templates/yoga-studio/l10n/ru.json +66 -0
- package/templates/yoga-studio/l10n/sv.json +66 -0
- package/templates/yoga-studio/l10n/th.json +66 -0
- package/templates/yoga-studio/l10n/tr.json +66 -0
- package/templates/yoga-studio/l10n/uk.json +66 -0
- package/templates/yoga-studio/l10n/vi.json +66 -0
- package/templates/yoga-studio/l10n/zh.json +66 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-form.ts +321 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-step/quiz.ts +114 -0
|
@@ -575,6 +575,9 @@ export interface WixQuiz {
|
|
|
575
575
|
/** GET /online-programs/v1/quizzes/{quizId} — a quiz with its questions. `quizId` is the step's `quizOptions.id`.
|
|
576
576
|
* NOT callable by a member: on amit1 the gateway answers a member token with an empty 403 (the lock lists
|
|
577
577
|
* only the APP identity for this route). The submission route below does accept a member.
|
|
578
|
+
* A member reads the questions from the quiz's Wix Forms form instead: a quiz IS a form in the namespace
|
|
579
|
+
* `wix.achievements.quizzes.v1.quiz` with the same id, so `getForm(quizId)` of `@himalaya/wix-forms` answers
|
|
580
|
+
* a member with the questions and the settings and without the right answers (verified on amit1, 2026-11-19).
|
|
578
581
|
* @scope owner — the quiz definition is app-identity only, so a member session cannot read it. */
|
|
579
582
|
export declare function getQuiz(quizId: string, readOptions?: WixCallOptions): Promise<{
|
|
580
583
|
quiz?: WixQuiz;
|
|
@@ -598,6 +601,9 @@ export interface WixQuizSubmission {
|
|
|
598
601
|
evaluationStatus?: string;
|
|
599
602
|
}
|
|
600
603
|
/** POST /online-programs/v1/quiz-submissions — submit answers; the response carries the evaluation.
|
|
604
|
+
* A submission does not resolve the step: pass its id to `completeStep` (`quizSubmissionId`), and the site
|
|
605
|
+
* resolves the step COMPLETED (passed) or FAILED with the score. A pass answers `evaluationStatus` COMPLETED,
|
|
606
|
+
* not PASSED (amit1, 2026-11-19). Past the quiz's `settings.attempts` the site answers 428.
|
|
601
607
|
* @scope member */
|
|
602
608
|
export declare function createQuizSubmission(submission: {
|
|
603
609
|
quizId: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2604628
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 24320
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-DbQO6l87.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492",
|
|
85
|
+
"file": "preview-deferred/04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|