@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.
Files changed (78) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +6 -0
  2. package/dist/browser-plane/assets.json +5 -5
  3. package/dist/browser-plane/preview-deferred/{11bd915805d61287157c1beca36b2d642d15e8107049a7d0fed28468d2965395.bin → 04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492.bin} +1 -1
  4. package/dist/browser-plane/sw.js +6 -6
  5. package/dist/cli.mjs +44 -41
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/sdk-reference.json +2 -2
  8. package/package.json +2 -2
  9. package/templates/beauty-salon/l10n/en.json +1 -1
  10. package/templates/branded-lite/dev/index.ts +483 -0
  11. package/templates/branded-lite/l10n/ar.json +66 -0
  12. package/templates/branded-lite/l10n/cs.json +66 -0
  13. package/templates/branded-lite/l10n/da.json +66 -0
  14. package/templates/branded-lite/l10n/de.json +66 -0
  15. package/templates/branded-lite/l10n/el.json +66 -0
  16. package/templates/branded-lite/l10n/en.json +8 -1
  17. package/templates/branded-lite/l10n/es.json +66 -0
  18. package/templates/branded-lite/l10n/fi.json +66 -0
  19. package/templates/branded-lite/l10n/fr.json +66 -0
  20. package/templates/branded-lite/l10n/he.json +53 -0
  21. package/templates/branded-lite/l10n/hu.json +66 -0
  22. package/templates/branded-lite/l10n/id.json +66 -0
  23. package/templates/branded-lite/l10n/it.json +66 -0
  24. package/templates/branded-lite/l10n/ja.json +66 -0
  25. package/templates/branded-lite/l10n/ko.json +66 -0
  26. package/templates/branded-lite/l10n/lt.json +66 -0
  27. package/templates/branded-lite/l10n/nl.json +66 -0
  28. package/templates/branded-lite/l10n/no.json +66 -0
  29. package/templates/branded-lite/l10n/pl.json +66 -0
  30. package/templates/branded-lite/l10n/pt.json +66 -0
  31. package/templates/branded-lite/l10n/ru.json +66 -0
  32. package/templates/branded-lite/l10n/sv.json +66 -0
  33. package/templates/branded-lite/l10n/th.json +66 -0
  34. package/templates/branded-lite/l10n/tr.json +66 -0
  35. package/templates/branded-lite/l10n/uk.json +66 -0
  36. package/templates/branded-lite/l10n/vi.json +66 -0
  37. package/templates/branded-lite/l10n/zh.json +66 -0
  38. package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
  39. package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/quiz.ts +114 -0
  40. package/templates/community-club/l10n/en.json +1 -1
  41. package/templates/events-meetups/l10n/en.json +1 -1
  42. package/templates/gym-fitness/l10n/en.json +1 -1
  43. package/templates/nonprofit-cause/l10n/en.json +1 -1
  44. package/templates/podcast-creator/l10n/en.json +1 -1
  45. package/templates/portfolio-creative/l10n/en.json +1 -1
  46. package/templates/restaurant/l10n/en.json +1 -1
  47. package/templates/retail-store/l10n/en.json +1 -1
  48. package/templates/yoga-studio/dev/index.ts +483 -0
  49. package/templates/yoga-studio/l10n/ar.json +66 -0
  50. package/templates/yoga-studio/l10n/cs.json +66 -0
  51. package/templates/yoga-studio/l10n/da.json +66 -0
  52. package/templates/yoga-studio/l10n/de.json +66 -0
  53. package/templates/yoga-studio/l10n/el.json +66 -0
  54. package/templates/yoga-studio/l10n/en.json +8 -1
  55. package/templates/yoga-studio/l10n/es.json +66 -0
  56. package/templates/yoga-studio/l10n/fi.json +66 -0
  57. package/templates/yoga-studio/l10n/fr.json +66 -0
  58. package/templates/yoga-studio/l10n/he.json +53 -0
  59. package/templates/yoga-studio/l10n/hu.json +66 -0
  60. package/templates/yoga-studio/l10n/id.json +66 -0
  61. package/templates/yoga-studio/l10n/it.json +66 -0
  62. package/templates/yoga-studio/l10n/ja.json +66 -0
  63. package/templates/yoga-studio/l10n/ko.json +66 -0
  64. package/templates/yoga-studio/l10n/lt.json +66 -0
  65. package/templates/yoga-studio/l10n/nl.json +66 -0
  66. package/templates/yoga-studio/l10n/no.json +66 -0
  67. package/templates/yoga-studio/l10n/pl.json +66 -0
  68. package/templates/yoga-studio/l10n/pt.json +66 -0
  69. package/templates/yoga-studio/l10n/ru.json +66 -0
  70. package/templates/yoga-studio/l10n/sv.json +66 -0
  71. package/templates/yoga-studio/l10n/th.json +66 -0
  72. package/templates/yoga-studio/l10n/tr.json +66 -0
  73. package/templates/yoga-studio/l10n/uk.json +66 -0
  74. package/templates/yoga-studio/l10n/vi.json +66 -0
  75. package/templates/yoga-studio/l10n/zh.json +66 -0
  76. package/templates/yoga-studio/tier5-src/_shared/branded-form.ts +321 -0
  77. package/templates/yoga-studio/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
  78. 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": 2604464
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/11bd915805d61287157c1beca36b2d642d15e8107049a7d0fed28468d2965395.bin",
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-pCp6nkbl.js",
82
+ "key": "assets/pdf-DbQO6l87.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "11bd915805d61287157c1beca36b2d642d15e8107049a7d0fed28468d2965395",
85
- "file": "preview-deferred/11bd915805d61287157c1beca36b2d642d15e8107049a7d0fed28468d2965395.bin"
84
+ "sha256": "04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492",
85
+ "file": "preview-deferred/04eac2ea24e0edfcc5aaa757dc5d06c6bf35c3c5ce9ccbb448b305db05715492.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",