@wix/himalaya-cli 0.1852.0 → 0.1854.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/cli.mjs +1104 -711
- package/guides/himi-json-output.md +8 -2
- package/guides/iap-products.md +4 -0
- package/guides/one-app-section-mappings.md +2 -2
- package/guides/one-app-to-himi-app.md +28 -12
- package/guides/push-cli-onboarding.md +20 -0
- package/package.json +2 -2
- package/template-icons/bare-fashion.png +0 -0
- package/templates/bare-fashion/README.md +52 -0
- package/templates/bare-fashion/config.ts +474 -0
- package/templates/bare-fashion/dev/index.ts +16526 -0
- package/templates/bare-fashion/himalaya.content.json +70 -0
- package/templates/bare-fashion/himalaya.template.json +18 -0
- package/templates/bare-fashion/icon.png +0 -0
- package/templates/bare-fashion/platforms.json +3 -0
- package/templates/bare-fashion/tier5-src/_shared/app-locale.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-book.ts +116 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-countries.ts +261 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-bag-count.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-categories.ts +48 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-facets.ts +265 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-load-error.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-product-card.ts +136 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-store-options.ts +129 -0
- package/templates/bare-fashion/tier5-src/_shared/branded-lite-hosted.ts +282 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-query.ts +201 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-service.ts +429 -0
- package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +529 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-copy.ts +123 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-layouts.ts +142 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-categories.ts +108 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-saved.ts +57 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/live-session.ts +172 -0
- package/templates/bare-fashion/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/member-access.ts +63 -0
- package/templates/bare-fashion/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/bare-fashion/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-account/index.ts +127 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-address-form/index.ts +367 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-addresses/index.ts +202 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-appearance/index.ts +73 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-cart/index.ts +540 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-collection/index.ts +111 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-home/index.ts +241 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-nav/index.ts +56 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-order/index.ts +437 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-product/index.ts +650 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-products/index.ts +142 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-saved/index.ts +45 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-search/index.ts +199 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-shop/index.ts +79 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-sign-in/index.ts +269 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-wallet/index.ts +224 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +209 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-collections/index.ts +48 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-view-profile/index.ts +119 -0
- package/templates/bare-fashion/tokens.json +348 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/recipes/upcoming-bookings.json +118 -6
- package/templates/branded-lite/tier5-src/_shared/announcement-section.ts +6 -14
- package/templates/branded-lite/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/tier5-src/_shared/draft-content.ts +66 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +55 -3
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +5 -3
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +15 -4
- package/templates/branded-lite/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/community-club/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/community-club/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/conference/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/conference/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/events-meetups/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/events-meetups/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/gym-fitness/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/medical-services/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/nonprofit-cause/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/owner-lite/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/podcast-creator/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/restaurant/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/salon-spa/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/wholesale-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/yoga-studio/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +7 -1
|
@@ -841,11 +841,17 @@ entry per platform. They say that what that view would add to the platform's acc
|
|
|
841
841
|
|
|
842
842
|
## `himi one-app coverage` codes
|
|
843
843
|
|
|
844
|
-
- `invalid_usage`: the mode or required paths are missing
|
|
844
|
+
- `invalid_usage`: the mode or required paths are missing, or `--stage` is not `publish` or
|
|
845
|
+
`pre-publish`, or is given more than once, or is given to a mode other than `verify` (exit 2).
|
|
845
846
|
- `evidence_invalid`: collected evidence cannot be read or fails its manifest hash (exit 1).
|
|
846
847
|
- `coverage_drift`: a requirement disappeared or `check` found new requirements not
|
|
847
848
|
recorded in `ONE-APP-COVERAGE.json` (exit 1).
|
|
848
|
-
- `coverage_unverified`: `verify` found unresolved, failed, or stale requirement checks
|
|
849
|
+
- `coverage_unverified`: `verify` found unresolved, failed, or stale requirement checks, or
|
|
850
|
+
(at the default `--stage publish`) no valid `native-proof.json` (exit 1). The JSON names the
|
|
851
|
+
failing part in `failedParts` (`coverage`, `native`) and carries `issueCount`, `rows`
|
|
852
|
+
(`total`, `open`, `closed`; a row is open when an issue names its id) and the full `issues[]`
|
|
853
|
+
and `native.issues[]`. These fields are also present on success. `--stage pre-publish` skips the
|
|
854
|
+
native proof and prints `native: {"skipped": true}`; the code is the same.
|
|
849
855
|
|
|
850
856
|
## `himi base44 entities` codes
|
|
851
857
|
|
package/guides/iap-products.md
CHANGED
|
@@ -35,6 +35,10 @@ These key and profile prerequisites apply to direct Apple mode. There is **no am
|
|
|
35
35
|
|
|
36
36
|
## Set up the owner's Apple keys
|
|
37
37
|
|
|
38
|
+
These are IAP setup steps (`asc-key` through `saveAscKey`, `purchases-app`, `iap-key`); the table of
|
|
39
|
+
every setup step is in [push-provisioning-contract.md](push-provisioning-contract.md#setup-steps), and
|
|
40
|
+
`himi setup check` shows them under `iapSetup` without a manifest.
|
|
41
|
+
|
|
38
42
|
Use `himi store apple-keys setup` to upload either key independently of push setup
|
|
39
43
|
and local signing profiles. The **App Store Connect API key** is stored in Branded
|
|
40
44
|
BuildSecrets for Catalog. The separate **In-App Purchase key** is stored on the
|
|
@@ -80,7 +80,7 @@ The **Himalaya implementation** cell is blank for every unassigned row. Notes on
|
|
|
80
80
|
| Source sectionDefinitionId | Source viewer component | Himalaya implementation | Placement / reuse | Class | Settings, actions and gaps |
|
|
81
81
|
| --- | --- | --- | --- | --- | --- |
|
|
82
82
|
| `achievements_list_section` | `wix-one-app-achievements.SectionMemberChallengesScreen` | [Programs list/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/apps/himi-branded-lite/dev/index.ts) + [programs worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (list layout) with the `programs-card`, `programs-filters` and `programs-see-all` recipes | Composed inline; member list and program detail reused | Partial | The migration generator composes the list inline: full-width cards (duration, participants and price follow `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`), the category chips and the "All programs / Programs I joined" control (hidden for a visitor; both hidden when `isFilterVisible` is false, each axis also follows `filterSettings.byCategory` / `byParticipantStatus`), the 2-card mode and "See all" to `himi_programs` only while more programs exist. The card count is the definition's `extraProps.limit` (2, verified in the Catalyst definitions file); an authored `extraProps.limit` or `settings.limit` wins, an infinite flag or a non-count limit shows the whole list, and a limit above 20 shows 20 and reports a gap. A page made only of this section gets a generated screen with the list inline (it is not routed to `himi_programs`). `himi_member_programs` (worker `himi-branded-lite-member-programs`) is the member list: each card carries the signed-in member's standing from Participants v3 / Join Applications v3 (Joined, Program complete, Program ended, Pending request, Request approved, Invited, Participation suspended), a progress bar once started, the price before joining, the same two filters, cursor paging and pull-to-refresh; an ended program the member never joined is dropped. The card opens `himi_program`, which enrols through Join Applications v3 (a free program confirms the participant, a private one sends a request for owner approval, an approved paid application goes to payment), shows the same standing, and offers Cancel request only while a request waits for approval. Still open: join / cancel-request actions on the card itself, a MANUAL order in the inline list (only the carousel reads it; the generator reports no gap for it), and Pricing Plans benefits ("Included in your plan"). |
|
|
83
|
-
| `achievements_carousel_section` | `wix-one-app-achievements.MemberChallengesCarousel` | [Programs data/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (carousel layout) with the `programs-carousel` recipe | Composed inline | Partial | The migration generator composes the carousel inline: the section title (unless `showTitle` is false), one page of snapping cards with page dots, duration, participants and price per `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`, a MANUAL `sortingSettings.challengesOrder` that puts the selected programs first (it does not exclude the others), a retry when the read fails, and a card that opens `himi_program`. It shows 5 cards, the definition's `extraProps.limit
|
|
83
|
+
| `achievements_carousel_section` | `wix-one-app-achievements.MemberChallengesCarousel` | [Programs data/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (carousel layout) with the `programs-carousel` recipe | Composed inline | Partial | The migration generator composes the carousel inline: the section title (unless `showTitle` is false), one page of snapping cards with page dots, duration, participants and price per `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`, a MANUAL `sortingSettings.challengesOrder` that puts the selected programs first (it does not exclude the others), a retry when the read fails, and a card that opens `himi_program`. It shows 5 cards, the definition's `extraProps.limit`; an authored `extraProps.limit` or `settings.limit` wins, a non-count limit shows the most one page holds, and a limit above 20 shows 20 and reports a gap. The source carousel has no setting for its call to action (a collected app carries only the visibility flags, `sortingSettings` and `filterSettings`), so the "See All" button to `himi_programs` is always drawn under the cards, with the `programs-see-all` recipe; a scaffold without that recipe or without `himi_programs` reports a gap. Still open: the button is shown even when no more programs exist than the cards (the worker only clears its `noSeeAll` gate for an inline list). |
|
|
84
84
|
| `achievements_participant_carousel_section` | `wix-one-app-achievements.ParticipantChallengesCarousel` | Shared programs module (carousel layout, `participating`) with the `programs-participant-carousel` recipe | Composed inline | Partial | Signed-in only: hidden whole, title included, for a visitor, when the member has no programs, or when the read fails. The cards are the member's own programs with their progress (no price), and each opens `himi_program`. It shows 5 cards, the definition's `extraProps.limit`; an authored `extraProps.limit` or `settings.limit` is respected up to 20 cards (one read page). The "Programs I joined" CTA opens `himi_member_programs` and shows only with the section title, as in the source viewer. A scaffold without `himi_program` reports the section unsupported; one without `himi_member_programs` leaves out the CTA. Still open: a MANUAL selection/order is ignored, and a limit above 20 shows 20; the generator reports no gap for either. |
|
|
85
85
|
|
|
86
86
|
For authored Programs sections, pass the source settings as a JSON string in the
|
|
@@ -221,7 +221,7 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
221
221
|
| --- | --- | --- | --- | --- | --- |
|
|
222
222
|
| `platform_general_contact_section` | `wix.platform.general.contact_section` | [Core Text/Button/Map composition](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") | Inline composition | Composition | Compose the supplied business contact/address/description and source visibility/get-in-touch settings. Wire phone/email/URL/chat actions to existing target capabilities; the Structure alone may need business contact values supplied alongside it. |
|
|
223
223
|
| `platform_general_upcoming_section` | `wix.platform.general.upcoming_section` | [My Bookings data](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-booking-bookings/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + [existing home modules](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") | Existing base; adaptation needed | Partial | Reuse real member upcoming-booking logic and compose the source strip/limit. Preserve visitor/access behavior and the original agenda CTA; this does not resolve the separate Bookings agenda gap. |
|
|
224
|
-
| `platform_general_announcement_section` | `wix.platform.general.announcement_section` | `announcement-section` shared module + `announcement-card` recipe, mapped by `himi one-app generate` | Inline section; the content is read at runtime, never baked at migration time | Module | The latest announcement (title, rich body, creator, date) through the one read-only call the native app makes: `GET https://manage.wix.com/_api/mobile-apps-announcements/v1/announcements/latest?includeReaderData=false`, authorized with the app's own signed instance (Member when signed in, else Visitor). `includeReaderData` stays false (true needs the One App manage permission and answers 403); `AddCurrentMemberAsReader` is a write and is never called. Known server behaviour, shared with the native app: a site with no announcement gets its default welcome text saved once by this read, so do not call it during migration collection or validation. The section has no settings. The announcement `content` is a DraftJS raw state for announcements written in the app (shown
|
|
224
|
+
| `platform_general_announcement_section` | `wix.platform.general.announcement_section` | `announcement-section` shared module + `announcement-card` recipe, mapped by `himi one-app generate` | Inline section; the content is read at runtime, never baked at migration time | Module | The latest announcement (title, rich body, creator, date) through the one read-only call the native app makes: `GET https://manage.wix.com/_api/mobile-apps-announcements/v1/announcements/latest?includeReaderData=false`, authorized with the app's own signed instance (Member when signed in, else Visitor). `includeReaderData` stays false (true needs the One App manage permission and answers 403); `AddCurrentMemberAsReader` is a write and is never called. Known server behaviour, shared with the native app: a site with no announcement gets its default welcome text saved once by this read, so do not call it during migration collection or validation. The section has no settings. The announcement `content` is a DraftJS raw state for announcements written in the app or a Ricos document (shown rich). A DraftJS state with pictures (an atomic block pointing at a `wix-draft-plugin-image` entity, shape read from a live site) is shown rich too, its pictures in order with the text and sized from the Wix media name; a DraftJS state without pictures is shown as plain text, and other entities (video, file, gallery) are left out. Native hosts send the consumer credential to exactly this GET path only (the `isSupportedConsumerEndpoint` family in `WixApiCapability`, Android and Swift), so a phone shows the section from the first Player/app native release that carries that entry; the local web preview (`himi run`) needs nothing. |
|
|
225
225
|
| `platform_general_members_section` | `membersArea.MembersAboutWidget` | [Member data](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/wix-spaces-members/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + [existing member avatars/home 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") | Inline composition | Composition | Reuse member rows/avatar presentation and the member-directory destination. Preserve source strip/title/count/privacy settings rather than copying seeded dashboard members. |
|
|
226
226
|
| `platform_elements_divider_section` | `wix.platform.elements.divider_section` | [Core Divider / layout modifiers](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") | Inline primitive | Primitive | Translate orientation/style/spacing from instance settings where supported and retain section margins. |
|
|
227
227
|
| `platform_elements_image_section` | `wix.platform.elements.image_section` | [Core Image](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") | Inline primitive | Primitive | Translate media URL, aspect/crop ratio, fill/fit, corner radius, alt text and configured click action; preserve sizing and accessibility. |
|
|
@@ -179,7 +179,7 @@ The CLI's versioned native-widget inventory supplies these rows automatically.
|
|
|
179
179
|
| `single_group_feed_section`, `groups_feed_section` | Post actions, attachments, comments/post destination, topic filter and the group's Members / Library / Rules / Media destinations. |
|
|
180
180
|
| `platform_general_contact_section`, `platform_general_contact_section_bp` | Business address and map, respecting authored visibility and available coordinates. |
|
|
181
181
|
| `achievements_list_section` | Category filter, including All Categories with no categories; actual visitor/member login, access/join/payment/Continue states; participants line; default limit 2 and See All when applicable. |
|
|
182
|
-
| `achievements_carousel_section` | The same Program state/display rules, default limit 5
|
|
182
|
+
| `achievements_carousel_section` | The same Program state/display rules, default limit 5 (an authored limit is read), page dots and See All to the programs screen. |
|
|
183
183
|
| `newBlog_postlist_vertical_section`, `newBlog_compact_post_list_vertical_section` | Row display options, unlimited paging or a limited count with See All Posts, and layout. Coverage derives these per placement from the authored settings: see "Generate blog post lists from their settings". |
|
|
184
184
|
| `events_list_section` | Date badge, Share and the appropriate RSVP/ticket action. |
|
|
185
185
|
| `platform_elements_image_section` | Press behavior. `onPressType: "openAsModal"` opens the image full screen: tap it with the reserved `himi.lightbox` action and `args.images` set to `[{ "url": <the image url>, "alt": <its accessibility label> }]`. `nothing` and a `none` action need no tap. Coverage derives the row per placement from the authored value. |
|
|
@@ -215,7 +215,7 @@ source's title (only when the source shows it) and a **See All** button to the s
|
|
|
215
215
|
| Source section | Screen | What the section passes |
|
|
216
216
|
| --- | --- | --- |
|
|
217
217
|
| `upcoming_bookings_section` | `himi_bookings` | nothing |
|
|
218
|
-
| `events_list_section` that names no event and no category | `himi_events` | nothing: the screen is the paged list of every event (Upcoming and Past); a section limited to chosen events or categories is a generated page
|
|
218
|
+
| `events_list_section` that names no event and no category | `himi_events` | nothing: the screen is the paged list of every event (Upcoming and Past). A page that also holds other sections, or a scaffold without `himi_events`, shows the inline cards instead; a section limited to chosen events or categories is a generated page too (see "Data sections"). The section's `filter` setting is not read: only `categoryIds` and `eventIds` select |
|
|
219
219
|
| `memberships_packages_section` | `himi_my_subscriptions` | nothing |
|
|
220
220
|
| `platform_paid_plans_section` | `himi_plans` | nothing: the screen takes no plan selection |
|
|
221
221
|
| `groups_list_section` | `himi_groups` | nothing: no group selection or count |
|
|
@@ -255,9 +255,16 @@ section's settings, with no loader of their own:
|
|
|
255
255
|
`himi_form` on the section's form: `platformFormId` (a v4 form id) or `shortId` (a legacy numeric id), both of which the form screen
|
|
256
256
|
reads. The form is not laid out inline (its fields, draft and submit are that screen's worker), which is reported as a gap. A section
|
|
257
257
|
with no readable id, or a scaffold with no `himi_form`, is reported as unmapped.
|
|
258
|
+
- `events_list_section`: the shared inline events cards. A page made only of a section that names no event and no category opens
|
|
259
|
+
`himi_events` instead (see "Sections whose screen already exists"). A section with `categoryIds` or `eventIds` shows only those
|
|
260
|
+
events (upcoming, never a draft) and offers **See All**, which opens `himi_events` on the same selection: the ids travel as the
|
|
261
|
+
comma-separated `categoryIds` / `eventIds` values of the `himi.open` link, and the list reads them back (only well-formed ids; a
|
|
262
|
+
visit without them is the whole list again). The section's `filter` setting is not read, because the two sections of the Barcelona
|
|
263
|
+
Erasmus source contradict the carousel's reading of it. A section naming both categories and events shows the events that match both, reported.
|
|
264
|
+
A scaffold without `himi_events` keeps the cards and leaves the See All out. One that shows every event has no See All, as in the source.
|
|
258
265
|
- `events_carousel_section`: the shared inline events cards (the same module as `events_list_section`). Its `filter` is 0 for every
|
|
259
|
-
event, 1 for chosen categories and `"manual"` for chosen events. A carousel of chosen events or categories
|
|
260
|
-
module
|
|
266
|
+
event, 1 for chosen categories and `"manual"` for chosen events. A carousel of chosen events or categories does not pass its selection
|
|
267
|
+
to the shared module yet (the list section does), so it keeps the source's title and a **See All** link to `himi_events`, reported. An
|
|
261
268
|
unfiltered one shows the next events as cards, with gaps for the carousel layout, a card part the source hides but the card
|
|
262
269
|
shows (image, date, location) and a part the source shows but the card has not (guest avatars, the membership offer).
|
|
263
270
|
- `events_schedule_section`: one event's schedule (`settings.eventId`). The first 10 sessions are rows (day and start time in the app's
|
|
@@ -819,12 +826,15 @@ Apply these interpretation rules:
|
|
|
819
826
|
badges (the bar then holds only the avatar). The avatar replaces the hamburger on every tab root, and the scaffold's
|
|
820
827
|
Profile screen then lists the side menu's pages under "Pages" (the scaffold ships that group hidden, as it cannot know the
|
|
821
828
|
app's top bar; the same command shows it by setting the load parameter `showPages: "1"` on `himi_account`, reported as
|
|
822
|
-
`profilePages`: `set`, or `unchanged` on a rerun).
|
|
823
|
-
`app: { newApp: true }` in `config.ts
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
829
|
+
`profilePages`: `set`, or `unchanged` on a rerun). A One App migration is always a new Himalaya app (it has shipped no older binary), so
|
|
830
|
+
the command declares `app: { newApp: true }` in `config.ts` itself when the file says nothing about it, in the same
|
|
831
|
+
write as the avatar (reported as `newApp: "declared"`; a rerun finds it and reports nothing). That is the same edit
|
|
832
|
+
`access --new-app` makes, so the page locks of a source that locks a page and the avatar compose in either order and the
|
|
833
|
+
declaration appears once. An app that has shipped older binaries must keep its hamburger: pass `--not-new-app`, or set
|
|
834
|
+
`app: { newApp: false }` in `config.ts` (the command never overwrites an author's `false`, nor an `app` that is not an
|
|
835
|
+
object literal). It then writes no avatar and says so (`avatar: "skipped_not_new_app"` and an `avatarNote` that names
|
|
836
|
+
the reason). Order: `header-badges` (it declares the app new and writes the avatar), then `access --new-app` when the
|
|
837
|
+
source locks a page; either order gives the same result. The avatar needs the full nav worker
|
|
828
838
|
(`himi-branded-lite-nav`, or `himi-branded-lite-access-nav` after `access`); a config that names the badges-only worker is
|
|
829
839
|
reported as `config_needs_manual_merge`.
|
|
830
840
|
|
|
@@ -1385,7 +1395,13 @@ or inspect device screenshots; those results are supplied by the publisher.
|
|
|
1385
1395
|
Keep the device artifacts for review. A check record alone cannot show whether a
|
|
1386
1396
|
screen looks or behaves correctly.
|
|
1387
1397
|
`himi one-app coverage verify --evidence-dir .himi/one-app --content .
|
|
1388
|
-
--release-hash <sha256>` reports every unresolved or stale row.
|
|
1398
|
+
--release-hash <sha256>` reports every unresolved or stale row. It also prints
|
|
1399
|
+
`failedParts` (`coverage`, `native`), `issueCount` and `rows` (`total`, `open`,
|
|
1400
|
+
`closed`), so a caller can see which part failed without reading each issue. Add
|
|
1401
|
+
`--stage pre-publish` to check the ledger before a draft exists: the native proof
|
|
1402
|
+
is skipped (`native: {"skipped": true}`), so a passing result then says nothing about
|
|
1403
|
+
the phone walkthrough. Without the flag (`--stage publish`) the native proof is
|
|
1404
|
+
required, as above. `himi push`
|
|
1389
1405
|
checks local coverage and the top bar for a marked migration and warns when
|
|
1390
1406
|
either is incomplete. A partial push warns because its derived release may
|
|
1391
1407
|
inherit screens the local checks did not cover. These One App warnings do not
|
|
@@ -1502,7 +1518,7 @@ settings each honors are in the generator; one it cannot show becomes an `adapte
|
|
|
1502
1518
|
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,
|
|
1503
1519
|
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;
|
|
1504
1520
|
a video carousel shows the source's count of its channel's ready videos (at most 20) as cards that open
|
|
1505
|
-
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 products saved on this device (the member account wishlist cannot be read), with See All to the saved-products screen; a performance tracker shows the member's progress against the source's default weekly goal, the weekly streak and the all-time sessions (500+ past 500), 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, the goal each member sets 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,
|
|
1521
|
+
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 products saved on this device (the member account wishlist cannot be read), with See All to the saved-products screen; a performance tracker shows the member's progress against the source's default weekly goal, the weekly streak and the all-time sessions (500+ past 500), 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, the goal each member sets 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
|
|
1506
1522
|
worker, `tier5-src/page-<screen>/index.ts`, that registers the modules its sections use. A page that is only a template vertical (members,
|
|
1507
1523
|
loyalty, shop, groups feed, services list) opens the template's screen, and a groups feed passes the source's own title,
|
|
1508
1524
|
"Group list" label and post count. A data section never vanishes: when the shared modules cannot honor its settings
|
|
@@ -127,6 +127,26 @@ built without Sign in with Apple hides Google on iOS too.
|
|
|
127
127
|
social login.
|
|
128
128
|
Its `iap` section runs `himi store iap check` when you pass
|
|
129
129
|
`--iap-manifest <file> --catalog-route <path>`, and is `not_checked` without them.
|
|
130
|
+
Its `steps` section lists every server setup step and its `iapSetup` section every IAP setup step,
|
|
131
|
+
with no manifest needed. `steps` fails only on a step that needs attention, and `--only push` or
|
|
132
|
+
`--only signin` lists only that area's steps (`app-identity` is in both, `android-signin` is
|
|
133
|
+
sign-in's). `iapSetup` fails on a missing key or app and stays unverified while the payment provider
|
|
134
|
+
cannot be read. It checks the site and bundle ID of `--iap-manifest` when you pass one, else the
|
|
135
|
+
content package's (or `--app`, `--site` and `--bundle-id`):
|
|
136
|
+
|
|
137
|
+
| Step | Runs in | What it does | Needs | Stages it checkpoints | Run by |
|
|
138
|
+
|---|---|---|---|---|---|
|
|
139
|
+
| `app-identity` | server | Finds or creates the site's Branded record and writes the iOS bundle ID and Android package onto it (and makes a bundle or package move). Branded turns these into the site's IAM Apple and Google sign-in connections. | `bundleId`, `androidApplicationId`, `displayName` | `read_branded_record`, `create_branded_record`, `configure_branded_record`, `migrate_branded_record` | push setup; Apple sign-in (`purpose: "apple_sign_in"`) |
|
|
140
|
+
| `apns` | server | Saves the APNs key in the site's build secrets. Repeats every run. | APNs key | `write_build_secrets` | push setup (iOS) |
|
|
141
|
+
| `apple-signing` | server | Saves the App Store Connect key (in the same write as APNs) and asks Apple for certificates and profiles with `CreateAppStoreSecrets`, **once**: never again after it completes. | App Store Connect key | `create_app_store_secrets` | push setup (iOS, with that key) |
|
|
142
|
+
| `firebase` | server | Asks Branded to create the Firebase app and FCM credential (`SavePushNotificationsCredentials`; `forceCreate` only after an Android package move). | Android package | `save_push_credentials` | push setup (Android) |
|
|
143
|
+
| `android-signin` | server | Saves the Play signing SHA-1 and forces the Firebase step until Google lists the Android OAuth client. | SHA-1 | `write_certificate_fingerprint`, `sync_android_client` | `POST /v1/admin/push/android-signin`; push setup after a package move |
|
|
144
|
+
| `ping-readback` | server | Reads Ping and decides whether push is `ready`. | none | `read_back_ping` | push setup |
|
|
145
|
+
| `saveAscKey` | server helper | Saves the App Store Connect key by itself and reads it back. | App Store Connect key | none | `POST /v1/admin/store/asc-key` (`himi store apple-keys setup`) |
|
|
146
|
+
| `purchases-app` | CLI | Finds or registers the bundle's purchases app on the site. | site, bundle ID | none | `himi store apple-keys setup`, `himi store iap connect` |
|
|
147
|
+
| `iap-key` | CLI | Stores the In-App Purchase key on the purchases app: `apple-keys setup` replaces a stored one, `iap connect` keeps it. | In-App Purchase key | none | `himi store apple-keys setup`, `himi store iap connect` |
|
|
148
|
+
| `payment-provider` | CLI | Connects the appleIAP payment provider through Serve's wix-iap route. Nothing can read its state, so a check reports it `unverified`. | purchases app | none | `himi store iap connect` |
|
|
149
|
+
|
|
130
150
|
`--only push,signin,iap` limits the report. Each section's `ok` is `true`, `false` or `null`
|
|
131
151
|
(unverified, listed under `unverified`); the top-level `ok` is false when any section is false.
|
|
132
152
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1854.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": "0f738a2dd502d650d70353a02fc54e6ea2a1a0f84f1f93968fb20708"
|
|
86
86
|
}
|
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# __HIMI_APP_NAME__ — from the `bare-fashion` template
|
|
2
|
+
|
|
3
|
+
A fashion and apparel storefront over a real Wix Stores site, ported from the BARE app: an editorial Home with a full-bleed hero, top categories, New In and On Sale; Shop by category; Products with category chips, sort and filters; search with recent searches; product details with size and colour pickers and an added-to-bag drawer; Favorites; a cart with promo codes and the Wix checkout; Account with orders, saved addresses and a wallet. Black and white, serif type. Boots as a VISITOR (catalog, favorites and cart work with no login); member screens sign in.
|
|
4
|
+
|
|
5
|
+
Everything here is now yours to edit — screens in `dev/`, logic in `tier5-src/`,
|
|
6
|
+
identity and navigation in `config.ts`, look and feel in `tokens.json`.
|
|
7
|
+
|
|
8
|
+
## Point at your Wix site
|
|
9
|
+
|
|
10
|
+
Your **Wix Headless `clientId` binds the data** — the visitor token minted from it already
|
|
11
|
+
names your site, so reads need nothing else. Set these before `himi build` / preview so calls
|
|
12
|
+
hit YOUR site (the placeholders are not a real backend):
|
|
13
|
+
|
|
14
|
+
export WIX_CLIENT_ID="<headless-oauth-client-id>"
|
|
15
|
+
export WIX_SITE_URL="https://your-site.wixsite.com/…"
|
|
16
|
+
export WIX_SITE_ID="<metasite-id>"
|
|
17
|
+
|
|
18
|
+
`WIX_SITE_ID` is the site that client belongs to. The member login takes it from the environment
|
|
19
|
+
while `WIX_CLIENT_ID` is the client the config uses. A native build needs it for member sign-up on
|
|
20
|
+
a CAPTCHA-protected site, push registration and in-app purchases.
|
|
21
|
+
|
|
22
|
+
Full details, including how to ship a binary a customer can install against their own
|
|
23
|
+
site: `himi docs branded-lite-site-binding`.
|
|
24
|
+
|
|
25
|
+
## The loop
|
|
26
|
+
|
|
27
|
+
himi build # compile tier5-src/* -> dist/bundles
|
|
28
|
+
himi validate # screens, bindings and worker boot
|
|
29
|
+
himi render <screenId> --tree # render a screen right here, no device needed
|
|
30
|
+
himi test # exercise every action your screens declare
|
|
31
|
+
himi login --browser --target wix # sign in with your Wix account (once)
|
|
32
|
+
# no browser? export WIX_API_KEY, then himi login --wix --target wix
|
|
33
|
+
himi push --draft # publish a DRAFT release + get preview links
|
|
34
|
+
|
|
35
|
+
Build, validate, render and test run entirely on your machine. Only `login` and
|
|
36
|
+
`push` reach Wix. No per-app install is needed: the CLI ships the `@wix/himalaya`
|
|
37
|
+
runtime it compiles against.
|
|
38
|
+
|
|
39
|
+
## Pattern index — where to look for each recipe
|
|
40
|
+
|
|
41
|
+
| Pattern | Screens |
|
|
42
|
+
|---|---|
|
|
43
|
+
| Editorial hero, category tiles and product rails | himi_branded_home |
|
|
44
|
+
| Category chips, sort and a filter panel over a product grid | himi_products, himi_search |
|
|
45
|
+
| Option pickers and an added-to-bag drawer | himi_product |
|
|
46
|
+
| Device favorites with member sync | himi_saved_products |
|
|
47
|
+
| Promo codes and the Wix checkout | himi_cart |
|
|
48
|
+
| A cart count badge on the native tab bar (app-level nav worker) | config.ts navigation |
|
|
49
|
+
| Member addresses with a country picker | himi_addresses, himi_address_form |
|
|
50
|
+
|
|
51
|
+
Guides: `himi docs recipe-dynamic-list`, `himi docs tier-5-add-a-screen`,
|
|
52
|
+
`himi docs designing-himi-screens`. Seed references: `himi agent-init`.
|