@wix/himalaya-cli 0.1749.0 → 0.1751.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/core/dev-server/src/builder.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/himi-package.d.ts +478 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/host-compatibility.d.ts +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +156 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast-service.d.ts +105 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast.d.ts +116 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +326 -13
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +730 -81
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +155 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{b40ea5d0d6251898ff5617139fde8be008dd11e99a70b14c1052093685401700.bin → 21f35a12bd94f4ab97a9a75453c4adcadc438daf024a4b1950d5c356c123bd01.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +44618 -35753
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/designing-himi-screens.md +7 -0
- package/guides/getting-started.md +5 -1
- package/guides/headless-loop.md +1 -1
- package/guides/himi-json-output.md +54 -1
- package/guides/himi-skill.md +5 -1
- package/guides/index.json +6 -0
- package/guides/one-app-to-himi-app.md +31 -8
- package/guides/qa-builds.md +12 -1
- package/guides/recipe-podcast.md +149 -0
- package/guides/skill.md +3 -1
- package/guides/store-submission.md +149 -34
- package/guides/tier-5-add-a-screen.md +16 -2
- package/guides/wix-business-context.md +43 -0
- package/guides/wix-platform-usage.md +7 -2
- package/package.json +10 -10
- package/template-icons/fitness-gym.png +0 -0
- package/template-icons/personal-fitness-trainer.png +0 -0
- package/templates/beauty-salon/config.ts +12 -0
- package/templates/beauty-salon/dev/index.ts +1 -1
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/beauty-salon/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/beauty-salon/tier5-src/_shared/header-badges.ts +113 -0
- package/templates/beauty-salon/tier5-src/_shared/location-pin.ts +97 -0
- package/templates/beauty-salon/tier5-src/_shared/member-access.ts +17 -6
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/beauty-salon/tier5-src/_shared/source-badges.ts +72 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
- package/templates/beauty-salon/tier5-src/himi-branded-lite-nav/index.ts +152 -0
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/branded-lite/config.ts +12 -0
- package/templates/branded-lite/dev/index.ts +101 -1
- package/templates/branded-lite/l10n/en.json +22 -1
- package/templates/branded-lite/l10n/es.json +22 -0
- package/templates/branded-lite/l10n/fr.json +23 -0
- package/templates/branded-lite/l10n/he.json +19 -0
- package/templates/branded-lite/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/branded-lite/tier5-src/_shared/location-pin.ts +97 -0
- package/templates/branded-lite/tier5-src/_shared/member-access.ts +17 -6
- package/templates/branded-lite/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/branded-lite/tier5-src/himi-branded-lite-access-nav/index.ts +10 -5
- package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-nav/index.ts +152 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
- package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +12 -1
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/brandy/README.md +33 -0
- package/templates/brandy/config.ts +51 -7
- package/templates/brandy/dev/index.ts +23 -9
- package/templates/community-club/l10n/en.json +1 -1
- package/templates/community-club/tier5-src/_shared/member-access.ts +17 -6
- package/templates/community-club/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/community-club/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/conference/tier5-src/_shared/member-access.ts +17 -6
- package/templates/conference/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/events-meetups/tier5-src/_shared/member-access.ts +17 -6
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/fitness-gym/README.md +53 -0
- package/templates/fitness-gym/config.ts +560 -0
- package/templates/fitness-gym/dev/index.ts +25787 -0
- package/templates/fitness-gym/himalaya.content.json +64 -0
- package/templates/fitness-gym/himalaya.template.json +15 -0
- package/templates/fitness-gym/icon.png +0 -0
- package/templates/fitness-gym/platforms.json +1 -0
- package/templates/fitness-gym/tier5-src/_shared/app-locale.ts +61 -0
- package/templates/fitness-gym/tier5-src/_shared/booking-location.ts +147 -0
- package/templates/fitness-gym/tier5-src/_shared/booking-session.ts +224 -0
- package/templates/fitness-gym/tier5-src/_shared/branded-lite-hosted.ts +280 -0
- package/templates/fitness-gym/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-copy.ts +40 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-history.ts +51 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-message-model.ts +177 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-model.ts +56 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +576 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +193 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +400 -0
- package/templates/fitness-gym/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +523 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +194 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-booking-saved.ts +88 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-bookings.ts +318 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-copy.ts +116 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-media.ts +29 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/fitness-gym/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/fitness-gym/tier5-src/_shared/host-events.ts +66 -0
- package/templates/fitness-gym/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/fitness-gym/tier5-src/_shared/iap-attendance-form.ts +106 -0
- package/templates/fitness-gym/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
- package/templates/fitness-gym/tier5-src/_shared/iap-attendance.ts +38 -0
- package/templates/fitness-gym/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/fitness-gym/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/fitness-gym/tier5-src/_shared/member-access.ts +63 -0
- package/templates/fitness-gym/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/fitness-gym/tier5-src/_shared/member-bookings.ts +107 -0
- package/templates/fitness-gym/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/fitness-gym/tier5-src/_shared/notification-target.ts +141 -0
- package/templates/fitness-gym/tier5-src/_shared/offset-page.ts +10 -0
- package/templates/fitness-gym/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/fitness-gym/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/fitness-gym/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/fitness-gym/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/fitness-gym/tier5-src/_shared/program-description.ts +11 -0
- package/templates/fitness-gym/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/fitness-gym/tier5-src/_shared/program-standing.ts +46 -0
- package/templates/fitness-gym/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/fitness-gym/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/fitness-gym/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/fitness-gym/tier5-src/_shared/staff-name.ts +18 -0
- package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/fitness-gym/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/fitness-gym/tier5-src/_shared/wix-member-links.ts +114 -0
- package/templates/fitness-gym/tier5-src/_shared/wix-service-price.ts +146 -0
- package/templates/fitness-gym/tier5-src/business-chat/index.ts +732 -0
- package/templates/fitness-gym/tier5-src/business-contact/index.ts +6 -0
- package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +267 -0
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +468 -0
- package/templates/fitness-gym/tier5-src/himi-booking-service/index.ts +1190 -0
- package/templates/fitness-gym/tier5-src/himi-booking-services/index.ts +791 -0
- package/templates/fitness-gym/tier5-src/himi-booking-time/index.ts +1729 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +656 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-plans/index.ts +495 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-program/facts.ts +52 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-program/index.ts +845 -0
- package/templates/fitness-gym/tier5-src/himi-fitcoach-goal/index.ts +191 -0
- package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +619 -0
- package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +1007 -0
- package/templates/fitness-gym/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
- package/templates/fitness-gym/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/fitness-gym/tokens.json +414 -0
- package/templates/gym-fitness/config.ts +12 -0
- package/templates/gym-fitness/dev/index.ts +1 -1
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/gym-fitness/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/gym-fitness/tier5-src/_shared/header-badges.ts +113 -0
- package/templates/gym-fitness/tier5-src/_shared/location-pin.ts +97 -0
- package/templates/gym-fitness/tier5-src/_shared/member-access.ts +17 -6
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/gym-fitness/tier5-src/_shared/source-badges.ts +72 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
- package/templates/gym-fitness/tier5-src/himi-branded-lite-nav/index.ts +152 -0
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/medical-services/dev/index.ts +2 -1
- package/templates/medical-services/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/medical-services/tier5-src/_shared/member-access.ts +17 -6
- package/templates/medical-services/tier5-src/himi-booking-account/index.ts +16 -1
- package/templates/medical-services/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/nonprofit-cause/tier5-src/_shared/member-access.ts +17 -6
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/personal-fitness-trainer/README.md +51 -0
- package/templates/personal-fitness-trainer/config.ts +343 -0
- package/templates/personal-fitness-trainer/dev/index.ts +24813 -0
- package/templates/personal-fitness-trainer/himalaya.content.json +79 -0
- package/templates/personal-fitness-trainer/himalaya.template.json +14 -0
- package/templates/personal-fitness-trainer/icon.png +0 -0
- package/templates/personal-fitness-trainer/platforms.json +3 -0
- package/templates/personal-fitness-trainer/splash.json +3 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/app-locale.ts +61 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/booking-location.ts +147 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/booking-session.ts +224 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/branded-lite-hosted.ts +280 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-copy.ts +40 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-history.ts +51 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-message-model.ts +177 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-model.ts +56 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +576 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +193 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +400 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/empty-flags.ts +33 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +523 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +194 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-booking-saved.ts +88 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-bookings.ts +318 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-copy.ts +116 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-layouts.ts +142 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/host-events.ts +66 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-form.ts +106 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance.ts +38 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-access.ts +63 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-bookings.ts +107 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/offset-page.ts +10 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/staff-name.ts +18 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/video-caption.ts +21 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/wix-service-price.ts +146 -0
- package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +732 -0
- package/templates/personal-fitness-trainer/tier5-src/business-contact/index.ts +6 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +468 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-service/index.ts +1190 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-services/index.ts +791 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-time/index.ts +1729 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +1094 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-appearance/index.ts +94 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-plans/index.ts +495 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-splash/index.ts +35 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +226 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-videos/index.ts +145 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-home/index.ts +70 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-profile/index.ts +53 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +1007 -0
- package/templates/personal-fitness-trainer/tier5-src/wix-spaces-app-language/index.ts +73 -0
- package/templates/personal-fitness-trainer/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/personal-fitness-trainer/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
- package/templates/personal-fitness-trainer/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/personal-fitness-trainer/tier5-src/wix-spaces-view-profile/index.ts +119 -0
- package/templates/personal-fitness-trainer/tokens.json +381 -0
- package/templates/podcast-creator/dev/index.ts +100 -0
- package/templates/podcast-creator/l10n/en.json +22 -1
- package/templates/podcast-creator/l10n/es.json +22 -0
- package/templates/podcast-creator/l10n/fr.json +18 -0
- package/templates/podcast-creator/l10n/he.json +15 -0
- package/templates/podcast-creator/tier5-src/_shared/member-access.ts +17 -6
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/portfolio-creative/tier5-src/_shared/member-access.ts +17 -6
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/restaurant/tier5-src/_shared/member-access.ts +17 -6
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/retail-store/tier5-src/_shared/member-access.ts +17 -6
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +68 -55
- package/templates/salon-spa/dev/index.ts +1 -1
- package/templates/salon-spa/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/salon-spa/tier5-src/_shared/member-access.ts +17 -6
- package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +16 -1
- package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
- package/templates/salon-spa/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/wholesale-store/tier5-src/_shared/member-access.ts +17 -6
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/yoga-studio/config.ts +12 -0
- package/templates/yoga-studio/dev/index.ts +1 -1
- package/templates/yoga-studio/l10n/en.json +1 -1
- package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +3 -1
- package/templates/yoga-studio/tier5-src/_shared/business-chat-transport.ts +148 -0
- package/templates/yoga-studio/tier5-src/_shared/header-badges.ts +113 -0
- package/templates/yoga-studio/tier5-src/_shared/location-pin.ts +97 -0
- package/templates/yoga-studio/tier5-src/_shared/member-access.ts +17 -6
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +5 -8
- package/templates/yoga-studio/tier5-src/_shared/source-badges.ts +72 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
- package/templates/yoga-studio/tier5-src/himi-branded-lite-nav/index.ts +152 -0
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +13 -4
- package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +68 -55
|
@@ -148,24 +148,31 @@ himi store submission reply --dir <app> --text "<your reply>" [--attach demo.mp4
|
|
|
148
148
|
|
|
149
149
|
`reply` sends your reply and resubmits, after you approve the reply's exact words. A reply cannot be unsent.
|
|
150
150
|
|
|
151
|
-
## 5.
|
|
151
|
+
## 5. Let Wix submit it for you
|
|
152
152
|
|
|
153
|
-
If you
|
|
153
|
+
If you would rather Wix did the submission, one command hands the app over, and another takes it back:
|
|
154
154
|
|
|
155
155
|
```
|
|
156
|
-
himi store
|
|
157
|
-
himi store
|
|
156
|
+
himi store wix-submit start --dir <app> # let Wix submit this app for you
|
|
157
|
+
himi store wix-submit status --dir <app> # what Wix may do, until when, and who is helping
|
|
158
|
+
himi store wix-submit stop --dir <app> # take it back
|
|
158
159
|
```
|
|
159
160
|
|
|
160
|
-
- `
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
with
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
- `start` shows what you are agreeing to and asks you to type the app ID or `yes` (without a terminal, pass `--yes`).
|
|
162
|
+
Then it records your consent for the app on its site, for **90 days**: the Wix person helping with your app may read
|
|
163
|
+
its store state, plan and apply its App Store submission steps, and answer App Review. `--read-only` lets Wix look but
|
|
164
|
+
not act. It also sends Wix this app's App Store history from this computer: ids, statuses, dates and step names (no
|
|
165
|
+
file contents, free text, Apple's raw replies, passwords, codes, keys or cookies). Wix refuses a bundle with any other
|
|
166
|
+
field.
|
|
167
|
+
- `stop` withdraws your consent at once, and removes anyone Wix added to your Google Play account for the app (below).
|
|
168
|
+
`status` shows the consent (what it allows, when you gave it, when it expires), the Wix person helping with your
|
|
169
|
+
app, and everyone Wix added to your Google Play account for it.
|
|
170
|
+
- All three need your `himi login`, and only the owner of the app's Wix site can run them. From the app's folder, the
|
|
171
|
+
app and site come from the `wix` block of `store/app-store.json`; elsewhere, pass `--app <id> --site <msid>`.
|
|
172
|
+
|
|
173
|
+
To send only the App Store history, without a consent: `himi store handoff --dir <app>`. `--out <file>` or `--dry-run`
|
|
174
|
+
writes or prints the bundle instead of sending it, so you can see exactly what would go. If the app's App Store record
|
|
175
|
+
was created on another computer, name it with `--apple-app-id <id>`.
|
|
169
176
|
|
|
170
177
|
## Google Play (Android)
|
|
171
178
|
|
|
@@ -283,38 +290,56 @@ It shows the words and asks for a typed `yes`. That yes is kept for 7 days and w
|
|
|
283
290
|
kind (spaces at the start or end of the text don't count). Then `submission reply` can plan it, and `apply` sends
|
|
284
291
|
it.
|
|
285
292
|
|
|
286
|
-
###
|
|
293
|
+
### Let Wix submit it for you
|
|
287
294
|
|
|
288
|
-
If you would rather not run the Play Console steps yourself, Wix
|
|
289
|
-
|
|
295
|
+
If you would rather not run the Play Console steps yourself, Wix can do them, as a named Wix person you add to your
|
|
296
|
+
account. You still own the account and still give every yes that matters.
|
|
290
297
|
|
|
291
298
|
```
|
|
292
|
-
himi store
|
|
299
|
+
himi store wix-submit start --platform android --dir <app> [--developer <id>] [--android-package himi.<name>]
|
|
293
300
|
```
|
|
294
301
|
|
|
295
|
-
Run it from a terminal
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
Run it from a terminal, in the app's folder (or pass `--app <app id> --site <msid>`). It records your consent for 90
|
|
303
|
+
days: Wix may read the app's store state, submit it, start its Wix-signed Google Play builds, and work in your Play
|
|
304
|
+
Console, asking you for a yes on each agreement there. Then:
|
|
305
|
+
|
|
306
|
+
- **When Wix has named the person helping with your app**, `start` shows their name and email before you agree: "Wix
|
|
307
|
+
will add Dana (dana@wix.com) to your Google Play account for 90 days", with the rights they get (release, store
|
|
308
|
+
presence, App content and policy; while the Play app does not exist yet, also the right to create apps). One typed
|
|
309
|
+
`yes` covers the consent and the invite. It saves the app's package name if it was not saved yet, signs you in to
|
|
310
|
+
Google if you are not signed in, and sends the invite. The invite expires after 90 days, the longest these tools
|
|
311
|
+
give. Adding someone to your Google Play account always takes a typed yes at a terminal: `--yes` answers the consent
|
|
312
|
+
only, and then `start` tells you to run it again in your own terminal.
|
|
313
|
+
- **When nobody is named yet**, your consent is recorded and Wix contacts you. Run `himi store wix-submit start
|
|
314
|
+
--platform android` again when asked.
|
|
315
|
+
- **Wix adds one person at a time.** If someone added earlier is still on your Play account and Wix now names someone
|
|
316
|
+
else, `start` stops and asks you to run `himi store wix-submit stop` first.
|
|
317
|
+
|
|
318
|
+
Add `--android-package himi.<name>` when the site has no Google Play package saved yet, and `--developer` (the number in
|
|
319
|
+
your Play Console URL) when this computer doesn't know your developer account yet; the command asks for whichever is
|
|
320
|
+
missing before your yes. `--read-only` records a read-only consent and adds no one; if someone added earlier still has
|
|
321
|
+
access, it says so and prints the command that removes them (`himi store wix-submit stop`).
|
|
305
322
|
|
|
306
323
|
The person has to accept Google's email invitation. You may be sent approval links for individual steps (creating the
|
|
307
324
|
app, releasing to production). Each one shows what will happen. Read it before you press yes: Wix cannot press it for
|
|
308
325
|
you.
|
|
309
326
|
|
|
310
|
-
To
|
|
327
|
+
To take it back:
|
|
311
328
|
|
|
312
329
|
```
|
|
313
|
-
himi store
|
|
330
|
+
himi store wix-submit stop --dir <app> [--developer <id>]
|
|
314
331
|
```
|
|
315
332
|
|
|
316
|
-
It asks for a typed yes and removes
|
|
317
|
-
to create apps
|
|
333
|
+
It asks for a typed yes, withdraws your consent, and removes everyone Wix added to your Play account for this app, with
|
|
334
|
+
every right they had, including the right to create apps, whichever `--platform` you name. Who was added comes from the
|
|
335
|
+
app's store record, including people added from another computer. If the record has no one and the app has a Google Play
|
|
336
|
+
side (`--platform android`, or a `store/google-play.json` in the app's folder), the person Wix names now is removed, and
|
|
337
|
+
`stop` says so; an app with no Google Play side only has its consent withdrawn, and Google is never touched. Removing someone takes a typed yes at a terminal. If anyone may still be there (no
|
|
338
|
+
terminal, the Google sign-in failed, or who was added could not be read), your consent is still withdrawn, but `stop`
|
|
339
|
+
says who may remain, prints the command to finish it, and exits with an error. `himi store wix-submit status` shows your consent, who
|
|
340
|
+
is helping, and every person added to your Play account (when they were invited, when it expires, active or expired);
|
|
341
|
+
with `--platform android` and when this computer is signed in to Google, whether they are on your Play account (invited, active or
|
|
342
|
+
expired).
|
|
318
343
|
|
|
319
344
|
If the Wix person cannot create the app, you can create it yourself in one step:
|
|
320
345
|
|
|
@@ -322,7 +347,7 @@ If the Wix person cannot create the app, you can create it yourself in one step:
|
|
|
322
347
|
himi store google create-app --name <name> --app <app id> --site <msid> [--android-package himi.<name>] [--developer <id>]
|
|
323
348
|
```
|
|
324
349
|
|
|
325
|
-
As with `
|
|
350
|
+
As with `wix-submit`, `--app` and `--site` can come from the app folder's `wix` block.
|
|
326
351
|
|
|
327
352
|
It shows the app name, the package name (a package name can never be reused or changed once an app exists), and each
|
|
328
353
|
declaration Google asks you to accept when creating an app, then asks for a typed `yes`.
|
|
@@ -334,12 +359,102 @@ declaration Google asks you to accept when creating an app, then asks for a type
|
|
|
334
359
|
the yes as a strong habit, not a lock.
|
|
335
360
|
- **Closed testing on a personal account.** Google requires a personal account to run a closed test with **12
|
|
336
361
|
testers for 14 days** before it will allow production. An organization account is exempt. The plan says this up
|
|
337
|
-
front. You find your own testers; Wix's tester pool is used only for
|
|
362
|
+
front. You find your own testers; Wix's tester pool is used only for apps Wix submits for you.
|
|
338
363
|
- **Nothing has run live yet.** The Google steps are tested against fakes, not a real Play account. The first real
|
|
339
364
|
run may find problems.
|
|
340
365
|
- A reply to a policy issue cannot be unsent, and a package name cannot be changed.
|
|
341
366
|
|
|
367
|
+
## The store record
|
|
368
|
+
|
|
369
|
+
himi keeps a **store record** for each app on your computer: what each store showed the last time it was read, what was
|
|
370
|
+
last sent, and what the next submission will send, with the images. The store tools answer from it, so an agent can say
|
|
371
|
+
where the app stands without asking Google again. Every answer says how old it is.
|
|
372
|
+
|
|
373
|
+
**Where it lives.** In `~/.himi/store`, one folder per app. Set `HIMI_STORE_HOME` (or pass `--record-dir <dir>`) to use
|
|
374
|
+
another folder. Folders are private to you (`0700`), files too (`0600`). The record never holds a password, token, key
|
|
375
|
+
or cookie: a value that looks like one is refused before anything is written. An app is filed under its Himi app id, from
|
|
376
|
+
the `wix` block of `store/google-play.json` or `store/app-store.json` (when both have one, they must name the same app,
|
|
377
|
+
or himi refuses). An app with no `wix` block is filed under its package name (`pkg:<package>`) or bundle id instead,
|
|
378
|
+
unless you name its app with `--app` (or `--app-key`); the environment never names it. The first time a package's
|
|
379
|
+
record meets the Himi app id, it is merged in, and the package name keeps working as another name for it. One Himi app
|
|
380
|
+
has one package: `--app`, `--app-key` or `--site` that disagree with the folder's `wix` block are refused, and so is
|
|
381
|
+
filing a package under an app other than the one it is already filed under. Nothing is linked or sent when that
|
|
382
|
+
happens.
|
|
383
|
+
|
|
384
|
+
**What fills it.**
|
|
385
|
+
|
|
386
|
+
- A job that finishes as `verified` (`apply`, and on Google Play `wix-submit start` and `stop` when they add or remove
|
|
387
|
+
the Wix person, and `google create-app`) records what it sent.
|
|
388
|
+
- `himi store record refresh` reads Google again and records what Play shows now.
|
|
389
|
+
- `himi store record pull` fetches the copy Wix keeps (below).
|
|
390
|
+
|
|
391
|
+
Only Google Play has a record so far. On the App Store, `status` and `plan` still read App Store Connect each time, and
|
|
392
|
+
say so.
|
|
393
|
+
|
|
394
|
+
**What reads it.** `submission status` and `submission plan --platform android` (and `store_status` / `store_plan` in
|
|
395
|
+
`himi mcp`) answer from the record when it holds the parts they need: `source: "record"`, each part's age under
|
|
396
|
+
`record.parts`, and `drift`. Drift means Play shows something other than what was last sent: someone changed it in
|
|
397
|
+
Play Console. Ask the owner before overwriting a drifted part. A part older than 7 days is stale: the answer says to
|
|
398
|
+
refresh, and never says the app is done. When a part is missing they read Google live (`source: "live"`), and
|
|
399
|
+
`record.missing` says what a refresh would fill. A job's own plan always reads Google before it writes anything.
|
|
400
|
+
|
|
401
|
+
```
|
|
402
|
+
himi store record show [--dir <app>] [--platform android|ios] [--part <part>]
|
|
403
|
+
himi store record refresh [--dir <app>] [--part status|tracks|listing|app-content|account|policy|all]
|
|
404
|
+
himi store record sync [--dir <app>]
|
|
405
|
+
himi store record pull [--dir <app> | --app <app id> --site <msid>]
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
- `show` reads the record and nothing else: each file's slots and how old they are, drift, the last 10 jobs and
|
|
409
|
+
decisions, and `lastPush`: how the last push to Wix went (or why `himi mcp` could not push). It prints JSON.
|
|
410
|
+
- `refresh` reads Google Play (default `--part status`, the release state of each track) and fills the record. In `himi
|
|
411
|
+
mcp` it is the `store_refresh` tool. The `tracks` and `listing` parts open a throwaway edit, so don't run them while a
|
|
412
|
+
job is writing. The `app-content`, `account` and `policy` parts read Play Console on a read-only page.
|
|
413
|
+
- `sync` exchanges the record with the copy Wix keeps for the app. `pull` only fetches it. Use `pull` on a new computer,
|
|
414
|
+
or on Wix's side when Wix takes the app over. The Wix person helping with your app runs `sync` too, so what they did
|
|
415
|
+
shows in your record.
|
|
416
|
+
|
|
417
|
+
**The copy Wix keeps.** himi serve keeps a copy of each app's record, the files and the images, under the app's Himi app
|
|
418
|
+
id and its Wix site. It is how the record follows the app to a new computer, and how Wix sees what you see:
|
|
419
|
+
|
|
420
|
+
- **Which jobs push the record on their own.** When one of these finishes as `verified`, himi pushes the app's record:
|
|
421
|
+
- `himi store submission apply`, on either store. On the App Store the record isn't built yet, so the push carries
|
|
422
|
+
only what earlier Google Play jobs left in it.
|
|
423
|
+
- `store_apply` in `himi mcp`, for a Google Play job only. An App Store `store_apply` in `himi mcp` pushes nothing
|
|
424
|
+
until the Apple record exists. The tool answers first and the push runs after it: the answer says
|
|
425
|
+
`recordSync: { queued: true }`, or `{ queued: false, skipped }` when no app in the workspace (or one folder down)
|
|
426
|
+
declares the job's package, or two do, or the app's `wix` block names no site (it says so). When the host closes
|
|
427
|
+
`himi mcp`, a push still running gets 3 seconds. After that `himi mcp` aborts it and exits, whatever the push is
|
|
428
|
+
doing; that is safe, and `record show` says `lastPush` was `interrupted`. The next push or `sync` carries on.
|
|
429
|
+
- `wix-submit start` and `stop` (when they add or remove the Wix person) and `google create-app` on Google Play.
|
|
430
|
+
|
|
431
|
+
`refresh` and `pull` never push; run `himi store record sync` for that. If a push fails (no `himi login`, no network,
|
|
432
|
+
a file Wix refused), you get one warning line, the job still stands, and `record show` says it under `lastPush`. Run
|
|
433
|
+
`himi store record sync` later. Set `HIMI_STORE_RECORD_SYNC=off` to turn the push off. An app with no `wix` block has
|
|
434
|
+
no copy at Wix, so nothing is pushed. himi runs one push or sync per app at a time; pushes asked for while one runs
|
|
435
|
+
are folded into one more. The moment a push is queued, `lastPush` says `state: "queued"` until its outcome replaces
|
|
436
|
+
it, so a push whose process was killed shows as queued or interrupted, never as nothing.
|
|
437
|
+
- **Who can read and write it.** You, as the owner of the app and of its Wix site, read and write it. The Wix person
|
|
438
|
+
helping with your app uses their own `himi login`, and what they may do follows your latest consent (`himi store
|
|
439
|
+
wix-submit start`), if you gave it in the last 90 days and have not withdrawn it:
|
|
440
|
+
- Any consent lets them read the record.
|
|
441
|
+
- A consent that lets Wix act for the app (`wix-submit start` without `--read-only`) also lets them write: their
|
|
442
|
+
`sync`, and the push after a job they ran, land in the same record you read, under the same merge rules and limits
|
|
443
|
+
as yours.
|
|
444
|
+
- With a `--read-only` consent, Wix refuses their writes (`relops_consent_required`), file by file.
|
|
445
|
+
|
|
446
|
+
To stop them writing, run `himi store wix-submit start --read-only`; to stop everything, `himi store wix-submit
|
|
447
|
+
stop`. Both sides use their `himi login` (the himi control token, plus the Wix account from `wix login`), like the
|
|
448
|
+
other `himi store` commands that talk to Wix.
|
|
449
|
+
- **What syncing does.** Each file is merged slot by slot, and the newer copy of a slot wins. Logs (jobs, decisions) only
|
|
450
|
+
grow: a line is added once. When both copies wrote the same slot at the same moment with different data, neither
|
|
451
|
+
wins: the sync lists it under `conflicts` until one side writes it again. A file Wix refuses is listed under `errors`
|
|
452
|
+
and the rest still syncs (the command then exits 1).
|
|
453
|
+
- **Limits.** A record file can be up to 1 MB. An image can be up to 4 MB and must be a PNG, JPEG or WebP. An app keeps
|
|
454
|
+
at most 500 files, 100 images and 32 MB of images. A slot dated more than 10 minutes in the future is refused (check
|
|
455
|
+
your computer's clock).
|
|
456
|
+
|
|
342
457
|
## Errors
|
|
343
458
|
|
|
344
459
|
Every failure prints one JSON envelope on stderr with a `code` (see "`himi store connect` and `himi store
|
|
345
|
-
submission` codes" in `himi-json-output.md`).
|
|
460
|
+
submission` codes" and "`himi store record` codes" in `himi-json-output.md`).
|
|
@@ -751,10 +751,16 @@ nothing can sign the user in, so the link **fails closed**: it never opens, no s
|
|
|
751
751
|
target's tab (or the default tab) is selected at its root and the link is dropped
|
|
752
752
|
(`nav_verb_dropped` / `auth_unavailable`, plus a `[deep-link] refused requiresAuth screen …` line
|
|
753
753
|
in the device log). Serving the app's config logs a warning for that combination. iOS, Android and
|
|
754
|
-
macOS share this rule
|
|
755
|
-
|
|
754
|
+
macOS share this rule. On macOS the Branded Lite and Himi Player shells mount the link cover (below);
|
|
755
|
+
any other Mac shell binds no sign-in gate, so its `requiresAuth` links fail closed. The web host does not hold links yet. In-app navigation (`himi.open`,
|
|
756
756
|
`_nav`) is not gated: a screen the app itself opens is the app's own business.
|
|
757
757
|
|
|
758
|
+
A link the router does not resolve — a `<scheme>://screen/<id>` whose screen is `isPublic: false`
|
|
759
|
+
(without `allowPrivate`) or not in `linkableScreens` at all — **does not open**, on every platform.
|
|
760
|
+
No shell pushes the id itself: iOS shells call `DeepLinkRouter.reportUnresolved(url, config:)`, which
|
|
761
|
+
logs `[deep-link] refused '<id>' …` and drops it (`nav_verb_dropped` / `not_public` or
|
|
762
|
+
`not_linkable`); Android drops it in core the same way. To make a screen linkable, declare it.
|
|
763
|
+
|
|
758
764
|
A shell gets this through core: the coordinator asks the gate the shell's `AuthGateRoot` /
|
|
759
765
|
`AuthSignInCover` bound. Three things are the shell's:
|
|
760
766
|
|
|
@@ -766,6 +772,14 @@ A shell gets this through core: the coordinator asks the gate the shell's `AuthG
|
|
|
766
772
|
start) sets `coordinator.authGate = <its SessionGate>` where it builds the coordinator. A shell
|
|
767
773
|
that never mounts `AuthGateRoot` / `AuthSignInCover` has no sign-in a link can wait on, so its
|
|
768
774
|
`requiresAuth` links never open — mount one to have them open for a signed-in user.
|
|
775
|
+
- **No root of its own? Mount the link cover.** A shell whose sign-in is not an `AuthGateRoot`
|
|
776
|
+
(Branded Lite, Himi Player) puts `.linkSignInCover(gate:provider:)` (SwiftUI) /
|
|
777
|
+
`LinkSignInCover(gate, provider)` (Compose) on its content. `provider` names the member provider
|
|
778
|
+
links are decided by, read at each decision: return nil for a visitor-only build (the links keep
|
|
779
|
+
failing closed), and in a multi-tenant host return the ACTIVE tenant's own provider only — the
|
|
780
|
+
gate still observes the outgoing tenant's provider while a switch is in flight, and only the named
|
|
781
|
+
provider's own state counts, so that session never opens the next tenant's link. It does not take
|
|
782
|
+
over `wixPlatform.auth.signIn()`.
|
|
769
783
|
- **Mark the bootstrap.** Call `sessionGate.markSilentBootstrapSettled()` once its
|
|
770
784
|
`provider.bootstrap()` returns. Until then a held link waits (a provider not bound yet is
|
|
771
785
|
waited for too, never read as "no auth"); a shell that never marks it waits a short grace
|
|
@@ -251,6 +251,20 @@ himi site analyze --url https://owner.wixsite.com/site --shell brandy --apply
|
|
|
251
251
|
|
|
252
252
|
No `--client-id` is needed here: a site shell is visitor-only, its pages are the site itself, and its contract binds no Headless client. Run the `--apply` inside a brandy app folder (`himi init --template brandy`): it writes the derived `site` block into the package's own `provisioning.json`, which the template's `config.ts` builds every tab and screen from. Inside the Himi repository there is no Brandy tree to bake (a Brandy binary is a branded-lite build, `himi dist --shell brandy`), so `--apply --shell brandy` run there is refused before the analysis runs.
|
|
253
253
|
|
|
254
|
+
#### A Wix site on a custom domain, with member sign-in
|
|
255
|
+
|
|
256
|
+
A site shell whose release also binds a Wix member client can carry the signed-in member into the website's pages: after a native sign-in, the app opens the site's own session endpoint with a fresh member session. On a Wix free host (`*.wixsite.com`, `*.wixstudio.com`, `*.wixstudio.io`, `*.editorx.io`) that endpoint is Wix's, under the site's own path, so nothing more is checked. On a custom domain it is whatever server the domain points at, so before a `himi dist` build bakes the binding, Himi asks Wix which site the release's client belongs to and requires the domain to be that site: the same host, or its apex / `www.` twin. Both the `site` block's `origin` and the binding's `siteUrl` are checked, and the `siteUrl` is checked even for a build that gets no `site` block. Wix's own answer is the authority here, never the site's HTML or a caller-supplied msid. A visitor-only release (no client) is not checked, because it carries no session.
|
|
257
|
+
|
|
258
|
+
How a build is refused: the build's contract fetch (`GET /v1/dist/contract`) answers one of these, and the build fails on it. The build log shows only the HTTP status; the `error` code is in the response body:
|
|
259
|
+
|
|
260
|
+
| `error` | Meaning | Fix |
|
|
261
|
+
|---|---|---|
|
|
262
|
+
| `release_wix_site_mismatch` (422) | Wix serves the client's site on another domain than the release names. | Point `site.origin` and `wix.siteUrl` at the site's primary domain, or bind that site's own client. |
|
|
263
|
+
| `release_wix_site_unverified` (422) | Wix answered but named no site for the client (an unknown client, or an unpublished site). | Publish the site, or check the client id. |
|
|
264
|
+
| `wix_site_unreachable` (503) | Wix could not be asked. | Start the build again. |
|
|
265
|
+
|
|
266
|
+
The shell's bake checks that proof again (`wix.siteVerified`) and stops with `wix_site_unverified` when a custom-domain site arrives without a matching one.
|
|
267
|
+
|
|
254
268
|
What makes a target a site shell is its contract, not the shell's name: the analysis derives the page map whenever the contract `--apply` writes has a `site` block. In the repo that is the shell's committed `apps/<shell>/provisioning.json` (the Brandy content's has one, Branded Lite's does not); off-repo it is the content package's own `provisioning.json`, so a website template on the Branded Lite shell is a site shell with no `--shell` at all. A Branded Lite target without a `site` block stays a native app, `--site-pages` included. The drawer-only block `--site-pages` writes does not make a target a site shell.
|
|
255
269
|
|
|
256
270
|
The map comes from what the analysis already reads without owner credentials, because Wix has no public menu API: the published page list (`look.sitePages`), the header menu the crawl saw (`look.navLinks`, label and href), and each page's role.
|
|
@@ -291,6 +305,35 @@ Each page becomes one screen that carries two forms (`siteScreens(site)` in `@wi
|
|
|
291
305
|
|
|
292
306
|
The block is validated with the shell's own rules before it is written. Only a site shell ever receives it: the analysis leaves it out for any other target, and the merge drops it for a shell whose committed contract has no `site`. `--apply` onto a site shell without a `site` block in the overlay is refused (`site_shell_needs_site`), because it would keep the previous website: in the repo, `--shell brandy` would ship the shell's demo site under the customer's brand; off-repo, the package would keep its last site. The one other `site` block is the `--site-pages` one below.
|
|
293
307
|
|
|
308
|
+
#### Top-bar icons and native pages
|
|
309
|
+
|
|
310
|
+
Three optional parts of a site shell's `site` block add or trim native chrome with no code. The analysis never writes them, and a re-run keeps them, along with each page's `showTitle`. Page references follow their page by its path when the re-derived map renumbers ids, and one whose page is gone is dropped with a warning. In a content package they live in its `provisioning.json`: edit them there. A re-run reads them from it (an overlay copy that disagrees is replaced, with a warning), and `--apply` keeps them even when it points the package at a new website, such as the template's placeholder. Without a package, the analysis overlay holds them, and analyzing a different website from the same folder leaves them out, since they name the old site's pages and links:
|
|
311
|
+
|
|
312
|
+
```json
|
|
313
|
+
"topBar": { "actions": [
|
|
314
|
+
{ "id": "cart", "icon": "cart", "label": "Cart", "target": { "page": "cart" } },
|
|
315
|
+
{ "id": "alerts", "icon": "bell", "label": "Notifications", "target": { "screen": "himi_notification_settings" } },
|
|
316
|
+
{ "id": "insta", "icon": "photo", "label": "Instagram", "target": { "url": "https://instagram.com/yourshop" } }
|
|
317
|
+
] },
|
|
318
|
+
"nativePages": [
|
|
319
|
+
{ "id": "rewards", "screenId": "rewards", "title": "Rewards", "icon": "star", "placement": "tab", "after": "home" }
|
|
320
|
+
]
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
- **`topBar.actions`**: up to three trailing icons, served app-wide as `navigation.topBarDefault` (`siteTopBarDefault(site)`), so every screen without a top bar of its own shows them. `label` is the icon's accessible name. A `target` is exactly one of:
|
|
324
|
+
- `page`: a site page id of any placement. An `overflow` page has no row but can still be a target, for example the site's cart page.
|
|
325
|
+
- `screen`: a native page's `screenId`, or a native screen the shell serves itself (`himi_notification_settings`, and the Account screen when a member binding is set).
|
|
326
|
+
- `url`: an https page off the site. The icon opens the same "Open in browser?" prompt an off-site link in a site page shows. A URL on the site is refused: declare it as a page instead.
|
|
327
|
+
|
|
328
|
+
A target that is a tab switches to that tab (`himi.tab`). Any other target opens its screen (`himi.open`), and so does every target under the `drawer` and `single` layouts, which have no tab bar. Under `menuSource: "runtime"`, a site page target is always opened rather than switched to, because the site's own menu may move that page out of the tab bar on a later launch. On the page or native screen an icon opens, the bar leaves that icon out, so tapping it cannot push a second copy of it. A native screen that draws a top bar of its own keeps it as the author wrote it. A `url` with a `.` or `..` path segment is refused.
|
|
329
|
+
- **`nativePages`**: the author's own Tier-5 screens as rows. Each one is a `tab`, `drawer` or `overflow` entry (an `overflow` entry is linkable only). They join the tab bar, drawer and rail with the site's pages, after the page named by `after` (default: after all of them, and never before `home`). Tabs count toward the four-tab limit together with the site's tabs. The WebView keep-alive cap only concerns site tabs, because a native tab keeps no WebView. Every native page is in `linkableScreens`. It is private by default: a link from outside the app (a website link, another app) to `<scheme>://screen/<screenId>` opens it only when the page sets `"public": true`. `"requiresAuth": true` implies public and signs the user in first. It needs a sign-in that gates deep links, which today means a Wix member binding. Any other app refuses it, a Base44 site included, rather than open the screen signed out. A native page that places the built-in Notifications or Account screen stays public unless it sets `"public": false`, which turns off outside links to that screen. A public native page opens on its tab when it has one. Under the `drawer`, `single` and one-tab `auto` layouts, where there is no tab to select, the link pushes it instead. Account deletion (`himi_delete_account`) cannot be placed. An id must differ from every site page's id and must not start with `drawer_`. A `screenId` must not start with `site_`.
|
|
330
|
+
|
|
331
|
+
The contract only places a native page. Its descriptor and worker come from the content package's own `dev/index.ts`, which checks that every placed screen is one it builds (`assertSiteNativePagesBuilt`), so `himi build`, `validate`, `render` and `push` refuse a native page whose screen is missing. The shared contract parser and the dist projection cannot see the content, so they check only the shape, the ids and the targets. Both fields survive `himi push` → `himi dist --shell brandy`: the projection keeps them with the rest of the site block, and a top-bar URL must also pass the bake-safe URL rule (https, with no query string).
|
|
332
|
+
|
|
333
|
+
- **`pageTitle`** decides where a site page's screen draws its title in the top bar. `"auto"` (the default) draws none on a page that a tab, rail or drawer row opens, because the row's label already names it. It still draws one on an `overflow` page and on the page a link opens (`site_page`, which shows the page's own document title). `"always"` draws every title, which was the only behaviour before this setting, and `"never"` draws none. Under `menuSource: "runtime"`, `"auto"` keeps every title: the live menu can drop a page's row, so the build cannot know which titles a row repeats. A page's own `showTitle: true | false` wins over the rule. A hidden title is `topBar.titleDisplay: "hidden"` on that screen: nothing is drawn and the space is collapsed, but screen readers still announce the title as the screen's name. Because a screen's own `topBar` replaces `navigation.topBarDefault`, such a screen also carries the `topBar.actions` icons, so they stay on it. Website pages in a native app (`--site-pages`) keep their titles unless the block sets `pageTitle`.
|
|
334
|
+
|
|
335
|
+
A cart badge on a top-bar icon is not supported yet. The site's cart count (the `site.cart` event) reaches only the worker of the page's own screen, not the app-level navigation worker that drives top-bar badges.
|
|
336
|
+
|
|
294
337
|
### Pages with no native screen: `--site-pages`
|
|
295
338
|
|
|
296
339
|
Branded Lite renders the site with its own screens, so by default `--apply` adds no website page. `--site-pages` is the opt-in for the site's pages that have no native screen: each one opens the website, as a website page in the drawer.
|
|
@@ -17,6 +17,8 @@ served flags and `i18n`, `ping` and `deeplink` always answer from the seam. This
|
|
|
17
17
|
2. The worker's descriptor lists `"wix_platform"` in `logic_bundle.declared_capabilities`
|
|
18
18
|
— otherwise every call fails closed (SDK-import check + native-registry check, RFC 0002
|
|
19
19
|
invariant 24).
|
|
20
|
+
3. To translate app copy with `t()` from `@himalaya/l10n`, also list `"l10n"` in
|
|
21
|
+
`declared_capabilities`. Without it, importing `@himalaya/l10n` throws when the worker starts.
|
|
20
22
|
|
|
21
23
|
## Import + call
|
|
22
24
|
|
|
@@ -31,7 +33,10 @@ await bi.click("cta_start", "home");
|
|
|
31
33
|
const variant = await experiments.conduct("specs.ai", "false"); // → { spec, variant }
|
|
32
34
|
if (await flags.isEnabled("specs.newCheckout")) { /* … */ }
|
|
33
35
|
|
|
34
|
-
// i18n
|
|
36
|
+
// i18n: the platform locale seam. For your app's own copy, use `t()` from `@himalaya/l10n`
|
|
37
|
+
// instead; it is synchronous and its catalog is resident in every worker (iOS, macOS, Android, web).
|
|
38
|
+
// It needs the `l10n` capability (see Prerequisites):
|
|
39
|
+
// import { t } from "@himalaya/l10n"; const title = t("home.title");
|
|
35
40
|
const label = await i18n.t("home.title", "Your agents");
|
|
36
41
|
|
|
37
42
|
// auth / identity
|
|
@@ -52,7 +57,7 @@ await monitoring.captureError("thing failed", { code: "E1" });
|
|
|
52
57
|
| `bi` | `track(evid, params?)`, `pageView(name)`, `click(name, page?)`, `log(v2Event)` ([below](#bilog--a-typed-wix-bi-logger-v2-event)) |
|
|
53
58
|
| `experiments` | `conduct(spec, fallback?)`, `isEnabled(spec)`, `exposure(spec, variant)` |
|
|
54
59
|
| `flags` | `isEnabled(spec, fallback?)`, `value(spec, fallback?)`, `all()` |
|
|
55
|
-
| `i18n` | `t(key, fallback?)`, `locale()` |
|
|
60
|
+
| `i18n` | `t(key, fallback?)`, `locale()`. For app copy, prefer the synchronous `t()` from `@himalaya/l10n` |
|
|
56
61
|
| `ping` | `register()`, `status()` |
|
|
57
62
|
| `deeplink` | `resolveDeferred()` |
|
|
58
63
|
| `session` | `headers()`, `signedInstanceStatus()` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1751.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": [
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@anthropic-ai/mcpb": "2.1.2",
|
|
63
63
|
"@himalaya/data-resources": "0.0.0",
|
|
64
64
|
"@types/wawoff2": "^1.0.2",
|
|
65
|
-
"@wix/asc": "0.4.
|
|
66
|
-
"@wix/asc-api": "0.4.
|
|
67
|
-
"@wix/asc-core": "0.4.
|
|
68
|
-
"@wix/asc-jobs": "0.4.
|
|
69
|
-
"@wix/asc-mcp": "0.4.
|
|
70
|
-
"@wix/asc-web": "0.4.
|
|
71
|
-
"@wix/gplay-api": "0.4.
|
|
72
|
-
"@wix/gplay-jobs": "0.4.
|
|
65
|
+
"@wix/asc": "0.4.15",
|
|
66
|
+
"@wix/asc-api": "0.4.15",
|
|
67
|
+
"@wix/asc-core": "0.4.15",
|
|
68
|
+
"@wix/asc-jobs": "0.4.15",
|
|
69
|
+
"@wix/asc-mcp": "0.4.15",
|
|
70
|
+
"@wix/asc-web": "0.4.15",
|
|
71
|
+
"@wix/gplay-api": "0.4.15",
|
|
72
|
+
"@wix/gplay-jobs": "0.4.15",
|
|
73
73
|
"@wix/himalaya": "0.1.0"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "a2c172ddd85b96143f79e91b6d24f318ea40053308c64808a194f4e5"
|
|
86
86
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -63,6 +63,18 @@ export default defineApp({
|
|
|
63
63
|
"maxHoldMs": 5000
|
|
64
64
|
},
|
|
65
65
|
navigation: {
|
|
66
|
+
"navLogicBundle": {
|
|
67
|
+
"url": "/v1/bundles/himi-branded-lite-nav",
|
|
68
|
+
"integrity": "",
|
|
69
|
+
"contentType": "application/javascript+ts-bundle",
|
|
70
|
+
"declaredCapabilities": [
|
|
71
|
+
"push",
|
|
72
|
+
"theme",
|
|
73
|
+
"wix_api"
|
|
74
|
+
],
|
|
75
|
+
"minBinaryVersion": "0.1.0",
|
|
76
|
+
"bundleVersion": "0.0.1"
|
|
77
|
+
},
|
|
66
78
|
"navKind": "responsive",
|
|
67
79
|
"scheme": "himalaya-__HIMI_APP_SLUG__",
|
|
68
80
|
"deepLinkPatterns": [],
|
|
@@ -25168,7 +25168,7 @@ const SCREENS = runtimeSetting({
|
|
|
25168
25168
|
}
|
|
25169
25169
|
},
|
|
25170
25170
|
"modifiers": {
|
|
25171
|
-
"width":
|
|
25171
|
+
"width": 80
|
|
25172
25172
|
}
|
|
25173
25173
|
},
|
|
25174
25174
|
{
|
|
@@ -190,7 +190,9 @@ export async function placesIn(start: string, end: string, inWindow: Session[],
|
|
|
190
190
|
// Every page, not the first 100: a booking past it would read Book again. Bounded.
|
|
191
191
|
const bookings: WixBooking[] = [];
|
|
192
192
|
for (let page = 0; page < 5; page++) {
|
|
193
|
-
|
|
193
|
+
// Bookings v2 rejects two comparisons in one field expression (INVALID_FILTER).
|
|
194
|
+
// Keep the half-open window as independent AND clauses, with the same member scope.
|
|
195
|
+
const res = await queryBookings({ query: { filter: { "contactDetails.email": { $eq: who.email }, $and: [{ startDate: { $gte: from } }, { startDate: { $lt: to } }] }, paging: { limit: 100, offset: page * 100 } } } as never);
|
|
194
196
|
const batch = res.bookings ?? [];
|
|
195
197
|
bookings.push(...batch);
|
|
196
198
|
if (batch.length < 100) break;
|