@wix/himalaya-cli 0.1944.0 → 0.1945.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/ecom/src/extensions.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +16 -0
- package/dist/cli.mjs +1185 -644
- package/fixtures/wix-canned.json +6 -0
- package/guides/himi-json-output.md +8 -6
- package/guides/one-app-section-mappings.md +2 -2
- package/guides/one-app-to-himi-app.md +13 -4
- package/guides/release-notes.md +8 -0
- package/guides/sdk-reference.json +55 -0
- package/package.json +2 -2
- package/templates/bare-fashion/dev/index.ts +3 -1
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-product-card.ts +5 -4
- package/templates/bare-fashion/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/bare-fashion/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-cart/index.ts +19 -12
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-collection/index.ts +9 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-home/index.ts +10 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-product/index.ts +17 -8
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-products/index.ts +8 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-saved/index.ts +31 -12
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-search/index.ts +8 -4
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/beauty-salon/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/beauty-salon/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/beauty-salon/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/beauty-salon/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/branded-lite/recipes/wishlist-grid.json +1 -1
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/branded-lite/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/branded-lite/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/branded-lite/tier5-src/_shared/saved-products-section.ts +14 -8
- package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/branded-lite/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/branded-lite/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/branded-lite/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/brandy/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/brandy/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/brandy/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/community-club/l10n/ar.json +5 -0
- package/templates/community-club/l10n/cs.json +5 -0
- package/templates/community-club/l10n/da.json +5 -0
- package/templates/community-club/l10n/de.json +5 -0
- package/templates/community-club/l10n/el.json +5 -0
- package/templates/community-club/l10n/es.json +5 -0
- package/templates/community-club/l10n/fi.json +5 -0
- package/templates/community-club/l10n/fr.json +5 -0
- package/templates/community-club/l10n/he.json +4 -0
- package/templates/community-club/l10n/hu.json +5 -0
- package/templates/community-club/l10n/id.json +5 -0
- package/templates/community-club/l10n/it.json +5 -0
- package/templates/community-club/l10n/ja.json +5 -0
- package/templates/community-club/l10n/ko.json +5 -0
- package/templates/community-club/l10n/lt.json +5 -0
- package/templates/community-club/l10n/nl.json +5 -0
- package/templates/community-club/l10n/no.json +5 -0
- package/templates/community-club/l10n/pl.json +5 -0
- package/templates/community-club/l10n/pt.json +5 -0
- package/templates/community-club/l10n/ru.json +5 -0
- package/templates/community-club/l10n/sv.json +5 -0
- package/templates/community-club/l10n/th.json +5 -0
- package/templates/community-club/l10n/tr.json +5 -0
- package/templates/community-club/l10n/uk.json +5 -0
- package/templates/community-club/l10n/vi.json +5 -0
- package/templates/community-club/l10n/zh.json +5 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/community-club/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/conference/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/events-meetups/l10n/ar.json +5 -0
- package/templates/events-meetups/l10n/cs.json +5 -0
- package/templates/events-meetups/l10n/da.json +5 -0
- package/templates/events-meetups/l10n/de.json +5 -0
- package/templates/events-meetups/l10n/el.json +5 -0
- package/templates/events-meetups/l10n/es.json +5 -0
- package/templates/events-meetups/l10n/fi.json +5 -0
- package/templates/events-meetups/l10n/fr.json +5 -0
- package/templates/events-meetups/l10n/he.json +4 -0
- package/templates/events-meetups/l10n/hu.json +5 -0
- package/templates/events-meetups/l10n/id.json +5 -0
- package/templates/events-meetups/l10n/it.json +5 -0
- package/templates/events-meetups/l10n/ja.json +5 -0
- package/templates/events-meetups/l10n/ko.json +5 -0
- package/templates/events-meetups/l10n/lt.json +5 -0
- package/templates/events-meetups/l10n/nl.json +5 -0
- package/templates/events-meetups/l10n/no.json +5 -0
- package/templates/events-meetups/l10n/pl.json +5 -0
- package/templates/events-meetups/l10n/pt.json +5 -0
- package/templates/events-meetups/l10n/ru.json +5 -0
- package/templates/events-meetups/l10n/sv.json +5 -0
- package/templates/events-meetups/l10n/th.json +5 -0
- package/templates/events-meetups/l10n/tr.json +5 -0
- package/templates/events-meetups/l10n/uk.json +5 -0
- package/templates/events-meetups/l10n/vi.json +5 -0
- package/templates/events-meetups/l10n/zh.json +5 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/events-meetups/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/gym-fitness/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/gym-fitness/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/gym-fitness/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/gym-fitness/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/nonprofit-cause/l10n/ar.json +5 -0
- package/templates/nonprofit-cause/l10n/cs.json +5 -0
- package/templates/nonprofit-cause/l10n/da.json +5 -0
- package/templates/nonprofit-cause/l10n/de.json +5 -0
- package/templates/nonprofit-cause/l10n/el.json +5 -0
- package/templates/nonprofit-cause/l10n/es.json +5 -0
- package/templates/nonprofit-cause/l10n/fi.json +5 -0
- package/templates/nonprofit-cause/l10n/fr.json +5 -0
- package/templates/nonprofit-cause/l10n/he.json +4 -0
- package/templates/nonprofit-cause/l10n/hu.json +5 -0
- package/templates/nonprofit-cause/l10n/id.json +5 -0
- package/templates/nonprofit-cause/l10n/it.json +5 -0
- package/templates/nonprofit-cause/l10n/ja.json +5 -0
- package/templates/nonprofit-cause/l10n/ko.json +5 -0
- package/templates/nonprofit-cause/l10n/lt.json +5 -0
- package/templates/nonprofit-cause/l10n/nl.json +5 -0
- package/templates/nonprofit-cause/l10n/no.json +5 -0
- package/templates/nonprofit-cause/l10n/pl.json +5 -0
- package/templates/nonprofit-cause/l10n/pt.json +5 -0
- package/templates/nonprofit-cause/l10n/ru.json +5 -0
- package/templates/nonprofit-cause/l10n/sv.json +5 -0
- package/templates/nonprofit-cause/l10n/th.json +5 -0
- package/templates/nonprofit-cause/l10n/tr.json +5 -0
- package/templates/nonprofit-cause/l10n/uk.json +5 -0
- package/templates/nonprofit-cause/l10n/vi.json +5 -0
- package/templates/nonprofit-cause/l10n/zh.json +5 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/nonprofit-cause/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/podcast-creator/l10n/ar.json +5 -0
- package/templates/podcast-creator/l10n/cs.json +5 -0
- package/templates/podcast-creator/l10n/da.json +5 -0
- package/templates/podcast-creator/l10n/de.json +5 -0
- package/templates/podcast-creator/l10n/el.json +5 -0
- package/templates/podcast-creator/l10n/es.json +5 -0
- package/templates/podcast-creator/l10n/fi.json +5 -0
- package/templates/podcast-creator/l10n/fr.json +5 -0
- package/templates/podcast-creator/l10n/he.json +4 -0
- package/templates/podcast-creator/l10n/hu.json +5 -0
- package/templates/podcast-creator/l10n/id.json +5 -0
- package/templates/podcast-creator/l10n/it.json +5 -0
- package/templates/podcast-creator/l10n/ja.json +5 -0
- package/templates/podcast-creator/l10n/ko.json +5 -0
- package/templates/podcast-creator/l10n/lt.json +5 -0
- package/templates/podcast-creator/l10n/nl.json +5 -0
- package/templates/podcast-creator/l10n/no.json +5 -0
- package/templates/podcast-creator/l10n/pl.json +5 -0
- package/templates/podcast-creator/l10n/pt.json +5 -0
- package/templates/podcast-creator/l10n/ru.json +5 -0
- package/templates/podcast-creator/l10n/sv.json +5 -0
- package/templates/podcast-creator/l10n/th.json +5 -0
- package/templates/podcast-creator/l10n/tr.json +5 -0
- package/templates/podcast-creator/l10n/uk.json +5 -0
- package/templates/podcast-creator/l10n/vi.json +5 -0
- package/templates/podcast-creator/l10n/zh.json +5 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/podcast-creator/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/portfolio-creative/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/portfolio-creative/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/portfolio-creative/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/professional-services/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/restaurant/l10n/ar.json +5 -0
- package/templates/restaurant/l10n/cs.json +5 -0
- package/templates/restaurant/l10n/da.json +5 -0
- package/templates/restaurant/l10n/de.json +5 -0
- package/templates/restaurant/l10n/el.json +5 -0
- package/templates/restaurant/l10n/es.json +5 -0
- package/templates/restaurant/l10n/fi.json +5 -0
- package/templates/restaurant/l10n/fr.json +5 -0
- package/templates/restaurant/l10n/he.json +4 -0
- package/templates/restaurant/l10n/hu.json +5 -0
- package/templates/restaurant/l10n/id.json +5 -0
- package/templates/restaurant/l10n/it.json +5 -0
- package/templates/restaurant/l10n/ja.json +5 -0
- package/templates/restaurant/l10n/ko.json +5 -0
- package/templates/restaurant/l10n/lt.json +5 -0
- package/templates/restaurant/l10n/nl.json +5 -0
- package/templates/restaurant/l10n/no.json +5 -0
- package/templates/restaurant/l10n/pl.json +5 -0
- package/templates/restaurant/l10n/pt.json +5 -0
- package/templates/restaurant/l10n/ru.json +5 -0
- package/templates/restaurant/l10n/sv.json +5 -0
- package/templates/restaurant/l10n/th.json +5 -0
- package/templates/restaurant/l10n/tr.json +5 -0
- package/templates/restaurant/l10n/uk.json +5 -0
- package/templates/restaurant/l10n/vi.json +5 -0
- package/templates/restaurant/l10n/zh.json +5 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/restaurant/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/retail-store/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/retail-store/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/retail-store/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/retail-store/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/retail-store/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/wholesale-store/dev/index.ts +2 -2
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/wholesale-store/tier5-src/_shared/himi-store-collection.ts +7 -3
- package/templates/wholesale-store/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/wholesale-store/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/wholesale-store/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/wholesale-store/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/wholesale-store/tier5-src/himi-wholesale-home/index.ts +19 -8
- package/templates/yoga-studio/l10n/ar.json +5 -0
- package/templates/yoga-studio/l10n/cs.json +5 -0
- package/templates/yoga-studio/l10n/da.json +5 -0
- package/templates/yoga-studio/l10n/de.json +5 -0
- package/templates/yoga-studio/l10n/el.json +5 -0
- package/templates/yoga-studio/l10n/es.json +5 -0
- package/templates/yoga-studio/l10n/fi.json +5 -0
- package/templates/yoga-studio/l10n/fr.json +5 -0
- package/templates/yoga-studio/l10n/he.json +4 -0
- package/templates/yoga-studio/l10n/hu.json +5 -0
- package/templates/yoga-studio/l10n/id.json +5 -0
- package/templates/yoga-studio/l10n/it.json +5 -0
- package/templates/yoga-studio/l10n/ja.json +5 -0
- package/templates/yoga-studio/l10n/ko.json +5 -0
- package/templates/yoga-studio/l10n/lt.json +5 -0
- package/templates/yoga-studio/l10n/nl.json +5 -0
- package/templates/yoga-studio/l10n/no.json +5 -0
- package/templates/yoga-studio/l10n/pl.json +5 -0
- package/templates/yoga-studio/l10n/pt.json +5 -0
- package/templates/yoga-studio/l10n/ru.json +5 -0
- package/templates/yoga-studio/l10n/sv.json +5 -0
- package/templates/yoga-studio/l10n/th.json +5 -0
- package/templates/yoga-studio/l10n/tr.json +5 -0
- package/templates/yoga-studio/l10n/uk.json +5 -0
- package/templates/yoga-studio/l10n/vi.json +5 -0
- package/templates/yoga-studio/l10n/zh.json +5 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/yoga-studio/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +35 -15
package/fixtures/wix-canned.json
CHANGED
|
@@ -832,12 +832,14 @@ Failures print `ok: false` and a top-level `code` on stderr. Neither recovered w
|
|
|
832
832
|
|
|
833
833
|
- `invalid_usage`: an unknown subcommand, option or widget key, or a missing `--evidence-dir` / `--content` (exit 2).
|
|
834
834
|
- `evidence_invalid`: the collected evidence cannot be read or does not match its hashes (exit 1).
|
|
835
|
-
- `site_url_unavailable` (`inspect`): the collection recorded no public https site URL;
|
|
836
|
-
recorded as unavailable (
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
835
|
+
- `site_url_unavailable` (`inspect`): the collection recorded no public https site URL; a widget with no evidence on
|
|
836
|
+
record is recorded as unavailable, and evidence already on record is kept (`kept`, with `retry.status:
|
|
837
|
+
"unavailable"`) unless `--refresh` (exit 1).
|
|
838
|
+
- `browser_unavailable` (`inspect`): no Chromium could be launched; a widget with no better evidence on record is
|
|
839
|
+
recorded as unavailable, and evidence already on record is kept unless `--refresh` (exit 1).
|
|
840
|
+
- `inspection_incomplete` (`inspect`): some widget pages could not be observed, a retry failed and kept the evidence on
|
|
841
|
+
record, or the run's deadline cut a direct lookup short (`direct_lookup_deadline`); their evidence says why, and the
|
|
842
|
+
same command retries only those (exit 1).
|
|
841
843
|
- `custom_widget_tests_failed` (`test`): a placement's required tests are missing or did not pass in the run Himi made
|
|
842
844
|
(each placement lists why); passing placements are still recorded (exit 1). `coverage_missing` (`test`):
|
|
843
845
|
`ONE-APP-COVERAGE.json` is absent (exit 1).
|
|
@@ -253,7 +253,7 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
253
253
|
| `stores_products_grid_section` | `wix.stores.MemberStoresScreen` | [himi_shop / himi_product](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-store/dev/index.ts) + [shop worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-store-shop/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Screen; inline adapter needed | Module | Reuse Store collection/detail/cart logic. Translate selected collection/category, filters, sort, visible metadata and grid layout; preserve the original instance scope. |
|
|
254
254
|
| `stores_products_carousel_section` | `wix.stores.ProductCarouselScreen` | [Store collection/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-store/dev/index.ts) + [existing home product composition](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/home-modules-screen.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + [Core Carousel](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Existing base; adaptation needed | Partial | Reuse real product data and detail flow; compose horizontal items and preserve selected collection/limit. Map source modal see-all intent deliberately. |
|
|
255
255
|
| `stores_products_search_section` | `wix.stores.SearchWidget` | [Store search UI](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-store/dev/index.ts) + [shop query worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-store-shop/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Screen; inline adapter needed | Module | Reuse backend product search/query lifecycle. Translate source placeholder, filters and result destination; embedded search still needs to connect to the correct target instance. |
|
|
256
|
-
| `stores_wishlist_section` | `wix.stores.WishlistComponent` | Branded Lite saved-products section
|
|
256
|
+
| `stores_wishlist_section` | `wix.stores.WishlistComponent` | Branded Lite saved-products section | Generated inline by `himi one-app generate`; See All opens the saved-products screen | Partial | A signed-in member sees their account wishlist (eCommerce Wishlists, the list the One App shows), and saves and removals on any store screen change it. The source is sign-in gated; a visitor sees the products saved on this device instead, which is reported as an adapted gap and never copied to an account. |
|
|
257
257
|
|
|
258
258
|
### 16. media-section-definitions.json
|
|
259
259
|
|
|
@@ -419,7 +419,7 @@ These rows have reusable code, but their remaining requirements must not disappe
|
|
|
419
419
|
|
|
420
420
|
- [Photo Albums worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/wix-spaces-photo-albums/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") explicitly says no album API is wired and renders an empty state.
|
|
421
421
|
- [Restaurant basket worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/wix-spaces-food-orders/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") explicitly avoids the owner-capable Orders API and supplies no placed-order history.
|
|
422
|
-
- [Saved products worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-store-saved/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency")
|
|
422
|
+
- [Saved products worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-store-saved/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") reads a signed-in member's account wishlist through `_shared/himi-store-saved.ts` and a visitor's device-local saves.
|
|
423
423
|
- The shared Loyalty worker now includes member status and links to a separate member reward/coupon journey. This does not automatically implement an arbitrary source section placement; keep member credentials and rendered evidence in the migration acceptance record.
|
|
424
424
|
- [Events detail worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-events-detail/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") documents the owner-scoped, best-effort attendee read; it does not supply a full consumer guest list.
|
|
425
425
|
- [Groups feed worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-feed/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") chooses its group internally; it does not accept a fixed source group selection.
|
|
@@ -297,8 +297,14 @@ placed widget every `himi one-app widgets` subcommand answers `not-applicable`.
|
|
|
297
297
|
arguments (`toScreen("news")`), `onPress` counts, backend methods, dataset and query collections (`WDE0027` = members
|
|
298
298
|
only), and every refused request. Only the collected site and Wix asset hosts are reachable, by GET through the
|
|
299
299
|
address-pinned transport (every redirect hop checked), within a shared byte budget; backend web methods and writes are
|
|
300
|
-
refused and named. The browser has no cookies and no token.
|
|
301
|
-
|
|
300
|
+
refused and named. The browser has no cookies and no token. When the page loads no bundle of its own, its code is looked
|
|
301
|
+
up directly: the page's `wix-viewer-model` names the page id of this exact route (base path kept) and that page's bundle.
|
|
302
|
+
It is taken only when the id agrees with the source's, the bundle is on the Wix bundle host and names the same id at every
|
|
303
|
+
hop, and its source map holds that page's code. The download uses the same transport and budget. Anything else stays
|
|
304
|
+
unresolved with a typed `direct_lookup_<reason>` beside `no_page_code`; no other page's bundle is ever taken.
|
|
305
|
+
A re-run keeps widgets with evidence and retries unavailable ones, and partial ones whose code is missing or only
|
|
306
|
+
minified. A retry that does worse keeps the evidence on record and reports the retry as `retry`. Code an earlier
|
|
307
|
+
version took from another page's bundle is inspected again (`--refresh` redoes all). Missing evidence is recorded as `unavailable` with a reason, never implied. The recovered code is untrusted evidence: read it, never copy,
|
|
302
308
|
import or run it, and keep it and the screenshots out of the app, reports and logs.
|
|
303
309
|
3. **Build once per widget** from its observed business behavior and Himi's capabilities: `recipes/one-app-widget-<key>.json`
|
|
304
310
|
(one node; only `{{svc}}`, `{{id}}`, `{{title}}`; root id starting with `{{id}}`; `"_capabilities"`; link to a source
|
|
@@ -326,7 +332,10 @@ placed widget every `himi one-app widgets` subcommand answers `not-applicable`.
|
|
|
326
332
|
and temp dir (no token, config location or `NODE_OPTIONS`). That is environment isolation, not a sandbox: the tests run
|
|
327
333
|
as you, with your file and network access. Himi records each placement whose tests passed, with the run as history. The verdict is never a stored file: `coverage verify` and `widgets check` run those
|
|
328
334
|
tests again and decide from that run's exit status and report (`plan` runs nothing and confirms nothing). A built
|
|
329
|
-
file, an inspection, a hand-written report or run record, or "passed" is not behavior. `himi one-app widgets check` passes only when every widget is built, embedded, evidenced and verified
|
|
335
|
+
file, an inspection, a hand-written report or run record, or "passed" is not behavior. `himi one-app widgets check` passes only when every widget is built, embedded, evidenced and verified.
|
|
336
|
+
With `--release-hash <sha256>` every widget proof must be bound to exactly that release, and each envelope carries
|
|
337
|
+
`releaseHash` and `releaseBinding: "exact"` (plain `check` prints `releaseBinding: "any"`). `check` and `coverage
|
|
338
|
+
verify` also print `testIsolation: "environment-only"`: the re-run tests have no OS sandbox. Its
|
|
330
339
|
codes are `custom_widget_unidentified`, `custom_widgets_pending`, `custom_widget_invalid`, `custom_widgets_unplaced`,
|
|
331
340
|
`custom_widget_evidence_missing`, `custom_widget_decision_required` and `custom_widgets_unverified`.
|
|
332
341
|
|
|
@@ -1624,7 +1633,7 @@ settings each honors are in the generator; one it cannot show becomes an `adapte
|
|
|
1624
1633
|
6 or 8 products as square, borderless tiles, with a See All link beside the title, or a button under the row when the section has no title,
|
|
1625
1634
|
opening the shop on that collection; a blog carousel shows the source's limit of latest posts, at most 10, with the title under the image;
|
|
1626
1635
|
a video carousel shows the source's count of its channel's ready videos (at most 20) as cards that open
|
|
1627
|
-
the template's video screen, with the length and the title as the source switches them, and a See All to the channel; groups omit the Create button; a single group's feed shows the latest posts read-only, at most the source's post count, with a button that opens the group, and a group that is not public shows what the group screen shows a non-member, never its posts; the topic filter, reactions, comments and the composer are reported; the subscriptions section shows the latest 5 active plan orders and cannot show package balances or session credits; a services list, which has no settings of its own, shows the first 6 services with a See All button to the services screen; a store search section is a search bar that opens the shop; a wishlist section shows the
|
|
1636
|
+
the template's video screen, with the length and the title as the source switches them, and a See All to the channel; groups omit the Create button; a single group's feed shows the latest posts read-only, at most the source's post count, with a button that opens the group, and a group that is not public shows what the group screen shows a non-member, never its posts; the topic filter, reactions, comments and the composer are reported; the subscriptions section shows the latest 5 active plan orders and cannot show package balances or session credits; a services list, which has no settings of its own, shows the first 6 services with a See All button to the services screen; a store search section is a search bar that opens the shop; a wishlist section shows a signed-in member's account wishlist (the list the source shows) and a visitor the products saved on this device, with See All to the saved-products screen; a performance tracker shows the member's progress against their weekly goal (the source's default until the member picks their own from 1 to 14 in a sheet with a number wheel, as in the source; it is kept on the member's device, because the source keeps it in a private service a member's session cannot call, and a visitor is asked to sign in to change it), the weeks of meeting the goal and the sessions in total (500+ past 500), and the source's ••• menu with Refresh, counted from the member's own bookings with the rule of My Bookings' "This week" card (a confirmed booking that took place), with a See All button to My Bookings; the source's attended-only or scheduled counting and the Apple Health daily activity cannot be read by a visitor and are reported; upcoming bookings shows the signed-in member's next 3 bookings and, unless the source turns previous bookings off, the source's History block (a "History" heading with Show All to My Bookings, the member's latest past booking with Book Again, or the source's empty state when there is none), with the source's empty text and a See All button to My Bookings, and a guest gets a sign-in prompt). A scaffold without a section's recipe or module takes the fallback below. A page with such modules gets ONE
|
|
1628
1637
|
worker, `tier5-src/page-<screen>/index.ts`, that registers the modules its sections use. A page that is only a template vertical (members,
|
|
1629
1638
|
loyalty, shop, groups feed, services list) opens the template's screen, and a groups feed passes the source's own title,
|
|
1630
1639
|
"Group list" label and post count. A data section never vanishes: when the shared modules cannot honor its settings
|
package/guides/release-notes.md
CHANGED
|
@@ -18,6 +18,14 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
18
18
|
|
|
19
19
|
### Getting started & the CLI
|
|
20
20
|
|
|
21
|
+
- **`himi one-app widgets inspect` now finds a custom widget's code when the page does not load it.** A logged-out widget
|
|
22
|
+
page often loads no code at all, and inspect then reported `no_page_code`. Now it reads the page's own site data, takes
|
|
23
|
+
only the bundle for that exact widget page, checks that the page id matches, and downloads it under the same limits.
|
|
24
|
+
When it cannot be sure, the widget stays unresolved and a typed `direct_lookup_<reason>` says why. Run inspect again:
|
|
25
|
+
a widget whose code was missing or only minified is inspected again, and good evidence is kept.
|
|
26
|
+
A retry that does worse keeps the evidence it had. `widgets check --release-hash <sha256>` accepts only widget proofs
|
|
27
|
+
for that release and prints `releaseBinding: "exact"`. `check` and `coverage verify` print
|
|
28
|
+
`testIsolation: "environment-only"`, because the widget tests they re-run have no OS sandbox. (#6553)
|
|
21
29
|
- **`skill-mcp.md` now sets up the local `himi mcp`.** The page gives the Claude Code command and the `mcp.json`
|
|
22
30
|
entry for the server that runs on your own machine. The internal MCP server it used to describe is retired: it
|
|
23
31
|
answers `410` and points at the local server, or at the hosted connector when that is on. (#6543)
|
|
@@ -21105,6 +21105,61 @@
|
|
|
21105
21105
|
"decl": "export async function estimateCurrentCartV2(): Promise<WixEstimateCartV2Response>;",
|
|
21106
21106
|
"scope": "visitor",
|
|
21107
21107
|
"verificationChecked": true
|
|
21108
|
+
},
|
|
21109
|
+
{
|
|
21110
|
+
"name": "WixWishlistCatalogReference",
|
|
21111
|
+
"kind": "interface",
|
|
21112
|
+
"jsdoc": "",
|
|
21113
|
+
"decl": "export interface WixWishlistCatalogReference {\n catalogItemId: string;\n appId: string;\n options?: Record<string, unknown> | null;\n}",
|
|
21114
|
+
"verificationChecked": true
|
|
21115
|
+
},
|
|
21116
|
+
{
|
|
21117
|
+
"name": "WixWishlistItem",
|
|
21118
|
+
"kind": "interface",
|
|
21119
|
+
"jsdoc": "",
|
|
21120
|
+
"decl": "export interface WixWishlistItem {\n catalogReference?: WixWishlistCatalogReference;\n addedDate?: string;\n}",
|
|
21121
|
+
"verificationChecked": true
|
|
21122
|
+
},
|
|
21123
|
+
{
|
|
21124
|
+
"name": "WixWishlist",
|
|
21125
|
+
"kind": "interface",
|
|
21126
|
+
"jsdoc": "",
|
|
21127
|
+
"decl": "export interface WixWishlist {\n id?: string;\n memberId?: string;\n items?: WixWishlistItem[];\n}",
|
|
21128
|
+
"verificationChecked": true
|
|
21129
|
+
},
|
|
21130
|
+
{
|
|
21131
|
+
"name": "WixWishlistResponse",
|
|
21132
|
+
"kind": "interface",
|
|
21133
|
+
"jsdoc": "",
|
|
21134
|
+
"decl": "export interface WixWishlistResponse {\n wishlist?: WixWishlist;\n}",
|
|
21135
|
+
"verificationChecked": true
|
|
21136
|
+
},
|
|
21137
|
+
{
|
|
21138
|
+
"name": "getDefaultWishlist",
|
|
21139
|
+
"kind": "function",
|
|
21140
|
+
"jsdoc": "/** The signed-in member's default wishlist. `appId` keeps only that catalog's items.\n * @scope member — a visitor is refused (403). */",
|
|
21141
|
+
"decl": "export function getDefaultWishlist(appId?: string): Promise<WixWishlistResponse>;",
|
|
21142
|
+
"http": "GET /ecom/v1/wishlists/get-default${appId ?",
|
|
21143
|
+
"scope": "member",
|
|
21144
|
+
"verificationChecked": true
|
|
21145
|
+
},
|
|
21146
|
+
{
|
|
21147
|
+
"name": "addWishlistItem",
|
|
21148
|
+
"kind": "function",
|
|
21149
|
+
"jsdoc": "/** Save one catalog item to the member's default wishlist; answers the updated wishlist.\n * @scope member — a visitor is refused (403). */",
|
|
21150
|
+
"decl": "export function addWishlistItem(catalogReference: WixWishlistCatalogReference): Promise<WixWishlistResponse>;",
|
|
21151
|
+
"http": "POST /ecom/v1/wishlists/add-item",
|
|
21152
|
+
"scope": "member",
|
|
21153
|
+
"verificationChecked": true
|
|
21154
|
+
},
|
|
21155
|
+
{
|
|
21156
|
+
"name": "removeWishlistItem",
|
|
21157
|
+
"kind": "function",
|
|
21158
|
+
"jsdoc": "/** Remove one catalog item (the exact reference it was saved with) from the member's default\n * wishlist; answers the updated wishlist.\n * @scope member — a visitor is refused (403). */",
|
|
21159
|
+
"decl": "export function removeWishlistItem(catalogReference: WixWishlistCatalogReference): Promise<WixWishlistResponse>;",
|
|
21160
|
+
"http": "POST /ecom/v1/wishlists/remove-item",
|
|
21161
|
+
"scope": "member",
|
|
21162
|
+
"verificationChecked": true
|
|
21108
21163
|
}
|
|
21109
21164
|
]
|
|
21110
21165
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1945.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "069a17940194a7afca06c8e2e141e4b877a221a2b7d672acb381d004"
|
|
86
86
|
}
|
|
@@ -9603,7 +9603,9 @@ const SCREENS = runtimeSetting({
|
|
|
9603
9603
|
"url": "http://localhost:8190/v1/bundles/himi-bare-fashion-saved?integrity=",
|
|
9604
9604
|
"integrity": "",
|
|
9605
9605
|
"contentType": "application/javascript+ts-bundle",
|
|
9606
|
-
"declaredCapabilities": [
|
|
9606
|
+
"declaredCapabilities": [
|
|
9607
|
+
"wix_api"
|
|
9608
|
+
],
|
|
9607
9609
|
"minBinaryVersion": "0.1.0",
|
|
9608
9610
|
"bundleVersion": "0.0.1"
|
|
9609
9611
|
}
|
|
@@ -107,7 +107,7 @@ export function productCards(products: StoreProduct[]): ProductCard[] {
|
|
|
107
107
|
return products.map((p) => productCard(p, saved)).filter((c) => c.id);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/** A card rebuilt from
|
|
110
|
+
/** A card rebuilt from a saved product, for the Favorites gallery. */
|
|
111
111
|
export function savedCard(row: SavedProduct): ProductCard {
|
|
112
112
|
const onSale = !!row.wasPrice;
|
|
113
113
|
return {
|
|
@@ -128,9 +128,10 @@ export function cardId(arg: unknown): string {
|
|
|
128
128
|
return typeof arg === "string" ? arg : String((arg as { id?: unknown } | undefined)?.id ?? "");
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
/** Toggle one card's favorite
|
|
132
|
-
|
|
131
|
+
/** Toggle one card's favorite (a signed-in member's is in their account wishlist). Throws when the
|
|
132
|
+
* write fails, so the caller keeps its state. */
|
|
133
|
+
export async function toggleFavorite(cards: ProductCard[], id: string): Promise<void> {
|
|
133
134
|
const card = cards.find((c) => c.id === id);
|
|
134
135
|
if (!card) return;
|
|
135
|
-
toggleSavedProduct({ id: card.id, name: card.name, price: card.price, image: card.image, wasPrice: card.wasPrice, swatches: card.swatches });
|
|
136
|
+
await toggleSavedProduct({ id: card.id, name: card.name, price: card.price, image: card.image, wasPrice: card.wasPrice, swatches: card.swatches });
|
|
136
137
|
}
|
|
@@ -15,7 +15,10 @@ type MemberAvatarFactory = (changed: () => void) => {
|
|
|
15
15
|
|
|
16
16
|
export interface CollectionSaving {
|
|
17
17
|
read(): string[];
|
|
18
|
-
|
|
18
|
+
/** May settle later (an account write); a rejection restores the selection and says so. */
|
|
19
|
+
write(ids: string[], rows: Record<string, unknown>[]): void | Promise<void>;
|
|
20
|
+
/** Re-read the saved ids `read` answers (an account list), before a load or refresh reads them. */
|
|
21
|
+
refresh?(): Promise<void>;
|
|
19
22
|
}
|
|
20
23
|
type State = Record<string, unknown>;
|
|
21
24
|
interface BackendCollection {
|
|
@@ -263,19 +266,33 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
263
266
|
const criteriaBefore = criteriaKey();
|
|
264
267
|
const before = [...prefs.savedIds], undoBefore = lastUndo;
|
|
265
268
|
update(arg, s);
|
|
269
|
+
const failed = () => {
|
|
270
|
+
prefs.savedIds = before; lastUndo = undoBefore;
|
|
271
|
+
saveMessage = copyParam('collection.saveError', 'Could not save this change. Try again.');
|
|
272
|
+
};
|
|
273
|
+
const finish = (settledLater: boolean) => {
|
|
274
|
+
persisted.write(prefs);
|
|
275
|
+
if (backend && config.backendQuery && criteriaBefore !== criteriaKey()) return backend.controller.query(criteria()).then(() => undefined);
|
|
276
|
+
// A write that settled later lands on the rows as they are now, not as they were when it began.
|
|
277
|
+
return derive(settledLater && backend ? backend.apply(s, backend.controller.getState()) : s);
|
|
278
|
+
};
|
|
266
279
|
if (saving && JSON.stringify(before) !== JSON.stringify(prefs.savedIds)) {
|
|
280
|
+
let written: void | Promise<void>;
|
|
267
281
|
try {
|
|
268
|
-
saving.write(prefs.savedIds, Array.isArray(s[config.rows]) ? s[config.rows] as CollectionRow[] : []);
|
|
269
|
-
saveMessage = '';
|
|
282
|
+
written = saving.write(prefs.savedIds, Array.isArray(s[config.rows]) ? s[config.rows] as CollectionRow[] : []);
|
|
270
283
|
} catch {
|
|
271
|
-
|
|
272
|
-
|
|
284
|
+
failed();
|
|
285
|
+
return finish(false);
|
|
286
|
+
}
|
|
287
|
+
if (written && typeof written.then === 'function') {
|
|
288
|
+
return written.then(() => { saveMessage = ''; return finish(true); }, () => { failed(); return finish(true); });
|
|
273
289
|
}
|
|
290
|
+
saveMessage = '';
|
|
274
291
|
}
|
|
275
|
-
|
|
276
|
-
if (backend && config.backendQuery && criteriaBefore !== criteriaKey()) return backend.controller.query(criteria()).then(() => undefined);
|
|
277
|
-
return derive(s);
|
|
292
|
+
return finish(false);
|
|
278
293
|
};
|
|
294
|
+
/** Runs `then` once the saved ids are re-read (an account list); at once, in the same turn, when there is nothing to re-read. */
|
|
295
|
+
const afterSavingRefresh = (then: () => Promise<undefined>): Promise<undefined> => saving?.refresh ? saving.refresh().catch(() => undefined).then(then) : then();
|
|
279
296
|
/** Filter and sort in ONE criteria change, so a tab that sets both runs one query, not two. */
|
|
280
297
|
const setCriteria = (arg: unknown): void => {
|
|
281
298
|
const input = object(arg);
|
|
@@ -329,15 +346,18 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
329
346
|
if (backend) {
|
|
330
347
|
actions.collectionDataChanged = s => derive(backend.apply(s, backend.controller.getState()));
|
|
331
348
|
actions.load = (_s, arg) => {
|
|
332
|
-
stashCopy(arg);
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
349
|
+
stashCopy(arg);
|
|
350
|
+
return afterSavingRefresh(() => {
|
|
351
|
+
syncSaved(); applyNavigationCriteria(arg, _s);
|
|
352
|
+
const reset = backend.onLoad?.(arg);
|
|
353
|
+
if (reset) { setCriteria(reset); persisted.write(prefs); }
|
|
354
|
+
// A load of what the screen already shows is the screen coming back: it revalidates behind its rows.
|
|
355
|
+
return backend.controller.query(criteria(), backend.restorePagesOnLoad, true).then(() => undefined);
|
|
356
|
+
});
|
|
337
357
|
};
|
|
338
358
|
actions.refresh = (_s, arg) => {
|
|
339
|
-
stashCopy(arg);
|
|
340
|
-
return backend.controller.query(criteria()).then(() => undefined);
|
|
359
|
+
stashCopy(arg);
|
|
360
|
+
return afterSavingRefresh(() => { syncSaved(); return backend.controller.query(criteria()).then(() => undefined); });
|
|
341
361
|
};
|
|
342
362
|
actions.loadMore = () => backend.controller.loadMore().then(() => undefined);
|
|
343
363
|
actions.retry = actions.collectionRetry = () => backend.controller.retry().then(() => undefined);
|