@wix/himalaya-cli 0.1404.0 → 0.1406.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/app-config.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +3 -0
- 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/schema.d.ts +88 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +350 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/extensions.d.ts +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/index.d.ts +102 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +82 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +83 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ai-site-chat.mjs +70 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
- package/dist/cli.mjs +250 -40
- package/dist/preview-assets.generated.bin +0 -0
- package/fixtures/wix-canned.json +3 -0
- package/guides/component-reference.json +3 -2
- package/guides/component-reference.md +7 -1
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +133 -2
- package/package.json +2 -2
- package/templates/beauty-salon/config.ts +7 -0
- package/templates/beauty-salon/dev/index.ts +1750 -0
- package/templates/beauty-salon/himalaya.content.json +3 -0
- package/templates/beauty-salon/site-functions/README.md +37 -0
- package/templates/beauty-salon/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/branded-lite/config.ts +7 -0
- package/templates/branded-lite/dev/index.ts +1750 -0
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/site-functions/README.md +37 -0
- package/templates/branded-lite/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/community-club/config.ts +7 -0
- package/templates/community-club/dev/index.ts +1750 -0
- package/templates/community-club/himalaya.content.json +3 -0
- package/templates/community-club/site-functions/README.md +37 -0
- package/templates/community-club/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/community-club/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/events-meetups/config.ts +7 -0
- package/templates/events-meetups/dev/index.ts +1750 -0
- package/templates/events-meetups/himalaya.content.json +3 -0
- package/templates/events-meetups/site-functions/README.md +37 -0
- package/templates/events-meetups/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/gym-fitness/config.ts +7 -0
- package/templates/gym-fitness/dev/index.ts +1750 -0
- package/templates/gym-fitness/himalaya.content.json +3 -0
- package/templates/gym-fitness/site-functions/README.md +37 -0
- package/templates/gym-fitness/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/nonprofit-cause/config.ts +7 -0
- package/templates/nonprofit-cause/dev/index.ts +1750 -0
- package/templates/nonprofit-cause/himalaya.content.json +3 -0
- package/templates/nonprofit-cause/site-functions/README.md +37 -0
- package/templates/nonprofit-cause/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/podcast-creator/config.ts +7 -0
- package/templates/podcast-creator/dev/index.ts +1750 -0
- package/templates/podcast-creator/himalaya.content.json +3 -0
- package/templates/podcast-creator/site-functions/README.md +37 -0
- package/templates/podcast-creator/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/portfolio-creative/config.ts +7 -0
- package/templates/portfolio-creative/dev/index.ts +1750 -0
- package/templates/portfolio-creative/himalaya.content.json +3 -0
- package/templates/portfolio-creative/site-functions/README.md +37 -0
- package/templates/portfolio-creative/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/restaurant/config.ts +7 -0
- package/templates/restaurant/dev/index.ts +1750 -0
- package/templates/restaurant/himalaya.content.json +3 -0
- package/templates/restaurant/site-functions/README.md +37 -0
- package/templates/restaurant/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/retail-store/config.ts +7 -0
- package/templates/retail-store/dev/index.ts +1750 -0
- package/templates/retail-store/himalaya.content.json +3 -0
- package/templates/retail-store/site-functions/README.md +37 -0
- package/templates/retail-store/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
- package/templates/yoga-studio/config.ts +7 -0
- package/templates/yoga-studio/dev/index.ts +1750 -0
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/site-functions/README.md +37 -0
- package/templates/yoga-studio/site-functions/himiMemberPhotoUploadUrl.js +90 -0
- package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +11 -3
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
|
Binary file
|
package/fixtures/wix-canned.json
CHANGED
|
@@ -1025,9 +1025,10 @@
|
|
|
1025
1025
|
"category": "Image well + Wix Media upload",
|
|
1026
1026
|
"propsType": "MediaFieldProps",
|
|
1027
1027
|
"bindings": [
|
|
1028
|
-
"valuePath"
|
|
1028
|
+
"valuePath",
|
|
1029
|
+
"fallbackTextPath"
|
|
1029
1030
|
],
|
|
1030
|
-
"propsSource": "export interface MediaFieldProps {\n /** `$service:<svc>.<path>` → the current image URL; empty ⇒ the empty well with `label`. */\n valuePath: string;\n /** The worker service exposing `genUpload` / `setMedia` and the `uploadUrl` value. */\n uploadService: string;\n /** Empty-well copy (a message key or literal). Default \"Add a photo\". */\n label?: string;\n}"
|
|
1031
|
+
"propsSource": "export interface MediaFieldProps {\n /** `$service:<svc>.<path>` → the current image URL; empty ⇒ the empty well with `label`. */\n valuePath: string;\n /** The worker service exposing `genUpload` / `setMedia` and the `uploadUrl` value. */\n uploadService: string;\n /** Empty-well copy (a message key or literal). Default \"Add a photo\". */\n label?: string;\n /** Set to \"avatar\" for a circular picker row; omitted preserves the 160pt image well. */\n presentation?: string;\n /** `$service:<svc>.<path>` → initials shown in avatar mode when no photo is set. */\n fallbackTextPath?: string;\n /** Optional visible heading in avatar mode; label remains the action caption. */\n heading?: string;\n}"
|
|
1031
1032
|
},
|
|
1032
1033
|
{
|
|
1033
1034
|
"name": "RichTextField",
|
|
@@ -94,7 +94,7 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
|
|
|
94
94
|
| `DataTable` | Analytics data-viz | `rowsPath`, `totalsPath` |
|
|
95
95
|
| `RichContent` | Rich content | `documentJsonPath` |
|
|
96
96
|
| `RichContentEditor` | Rich content editor | `documentPath` |
|
|
97
|
-
| `MediaField` | Image well + Wix Media upload | `valuePath` |
|
|
97
|
+
| `MediaField` | Image well + Wix Media upload | `valuePath`, `fallbackTextPath` |
|
|
98
98
|
| `RichTextField` | Formatted multiline field | `valuePath` |
|
|
99
99
|
| `VoiceNote` | Recorded-audio bubble (messenger design G4) | `waveformPath`, `durationMsPath`, `positionMsPath`, `statePath`, `deliveryPath`, `ratePath` |
|
|
100
100
|
| `Marquee` | Recorded-audio bubble (messenger design G4) | — |
|
|
@@ -1716,6 +1716,12 @@ export interface MediaFieldProps {
|
|
|
1716
1716
|
uploadService: string;
|
|
1717
1717
|
/** Empty-well copy (a message key or literal). Default "Add a photo". */
|
|
1718
1718
|
label?: string;
|
|
1719
|
+
/** Set to "avatar" for a circular picker row; omitted preserves the 160pt image well. */
|
|
1720
|
+
presentation?: string;
|
|
1721
|
+
/** `$service:<svc>.<path>` → initials shown in avatar mode when no photo is set. */
|
|
1722
|
+
fallbackTextPath?: string;
|
|
1723
|
+
/** Optional visible heading in avatar mode; label remains the action caption. */
|
|
1724
|
+
heading?: string;
|
|
1719
1725
|
}
|
|
1720
1726
|
```
|
|
1721
1727
|
|
|
@@ -78,6 +78,7 @@ direction the platform is heading — recommended, not required). Usage is unifo
|
|
|
78
78
|
|
|
79
79
|
- `@himalaya/wix-cashier` — Tier-5 typed binding to the platform's native cashier.
|
|
80
80
|
- `@himalaya/wix-activity-counters` — Wix activity counters — typed REST client
|
|
81
|
+
- `@himalaya/wix-ai-site-chat` — Wix ai site chat — typed REST client
|
|
81
82
|
- `@himalaya/wix-analytics` — Site analytics totals
|
|
82
83
|
- `@himalaya/wix-async-jobs` — Async job status — read first-party job progress through the Wix gateway
|
|
83
84
|
- `@himalaya/wix-automations` — Wix automations — typed REST client
|
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
"name": "NavigationConfig",
|
|
1054
1054
|
"kind": "interface",
|
|
1055
1055
|
"jsdoc": "/** Per-app navigation/deep-link config, served OTA at GET /v1/app-config/:appName. */",
|
|
1056
|
-
"decl": "export interface NavigationConfig {\n /** Tab-bar structure (which tabs; their icons/labels/badges). */\n tabBar?: TabBarConfig;\n /** Slide-in drawer / hamburger-menu destinations. */\n drawer?: DrawerConfig;\n /** Navigation chrome the shell draws.\n * Omitted ⇒ \"bottomTabs\". The shell (not the descriptor) reads this. */\n navKind?: NavKind;\n /** Destinations for \"sidebar\" mode.\n * Absent ⇒ the shell derives the rail from `tabBar.items`. */\n sidebar?: SidebarConfig;\n /** App-level default top bar; a per-screen\n * `ScreenDescriptor.topBar` fully replaces it (override, not merge). */\n topBarDefault?: TopBarConfig;\n /** The post-OS-splash brand surface (see `SplashConfig`). Absent / not enabled\n * ⇒ today's behavior. Operational per (live-flippable). */\n splash?: SplashConfig;\n /** App-level default locale. Operational per so a Hebrew (or Spanish)\n * branded app can pin RTL/l10n OTA without a launch flag. `default` is a\n * BCP-47 primary subtag; clients coerce unknown tags rather than failing the\n * envelope. `pin: true` skips the device/browser language; in-app `locale.set`\n * still wins. Absent ⇒ today's device-then-en behavior. */\n locale?: LocaleConfig;\n /** Effective orientations, resolved INSIDE\n * the binary's build-time envelope (config.ts `orientationEnvelope`). The\n * envelope is the ceiling and can never be OTA (iOS reads the plist before\n * any app code runs); this narrows within it. Always intersected with the\n * envelope — it can never widen it. Absent/empty ⇒ the envelope itself. */\n orientation?: OrientationConfig;\n /** Per-surface nav projection, keyed by catalog\n * surface id (`phone` | `tablet` | `desktop` | `mac` | `watch` | `wear` | `rn`).\n * Keyed the way `orientation` is keyed by device family and narrowed the same\n * way: a key outside the app's `platforms.json` envelope is DROPPED, never\n * honored (see `resolveSurfaceNav`). Absent key ⇒ that surface uses the default\n * projection, so an app that never thinks about surfaces is unaffected. */\n surfaces?: Record<string, SurfaceNavConfig>;\n /** The APP-LEVEL nav worker\n * that feeds every `*Path` binding on `NavTabItem` / `DrawerItem` /\n * `TopBarAction`. App-level, not a screen's worker, because chrome outlives\n * every screen: a cart badge must survive leaving the cart, and a flag-hidden\n * tab must stay hidden three pushes deep in another stack. Absent ⇒ paths stay\n * unresolved and the literals render — the worker enriches, it never gates. */\n navLogicBundle?: LogicBundleRef;\n /** Which nav badges ALSO drive the OS app-icon\n * badge. Each entry is `\"<kind>:<id>\"` (`tab` | `drawer` | `topBarAction`, the\n * spelling `navKey` uses); the icon shows the SUM of those slots' resolved counts.\n * Empty/absent ⇒ no mirroring. An entry naming a slot this build does not have is\n * ignored, never a blanked badge. Requires the `push` capability — `defineApp`\n * rejects the combination, because the badge would be set and never shown. */\n appIconBadgeSources?: string[];\n /** Signed release allowlist for contained browser Tier-5 `_stream` requests. */\n streamPolicy?: StreamPolicy;\n /** A site shell's URL space. A push tap, app link or\n * custom-scheme link whose URL is an https page on one of `site.origins` opens the\n * screen owning its path, and that screen's WebView loads the full URL. Absent ⇒\n * links resolve as before. Build it with `siteNavConfig()` from\n * `@himalaya/core/site-shell`; resolution is `resolveSiteLink()`. */\n site?: SiteNavConfig;\n scheme: string;\n deepLinkPatterns: DeepLinkPattern[];\n linkableScreens: LinkableScreen[];\n}"
|
|
1056
|
+
"decl": "export interface NavigationConfig {\n /** Tab-bar structure (which tabs; their icons/labels/badges). */\n tabBar?: TabBarConfig;\n /** Slide-in drawer / hamburger-menu destinations. */\n drawer?: DrawerConfig;\n /** Navigation chrome the shell draws.\n * Omitted ⇒ \"bottomTabs\". The shell (not the descriptor) reads this. */\n navKind?: NavKind;\n /** Destinations for \"sidebar\" mode.\n * Absent ⇒ the shell derives the rail from `tabBar.items`. */\n sidebar?: SidebarConfig;\n /** App-level default top bar; a per-screen\n * `ScreenDescriptor.topBar` fully replaces it (override, not merge). */\n topBarDefault?: TopBarConfig;\n /** The post-OS-splash brand surface (see `SplashConfig`). Absent / not enabled\n * ⇒ today's behavior. Operational per (live-flippable). */\n splash?: SplashConfig;\n /** App-level default locale. Operational per so a Hebrew (or Spanish)\n * branded app can pin RTL/l10n OTA without a launch flag. `default` is a\n * BCP-47 primary subtag; clients coerce unknown tags rather than failing the\n * envelope. `pin: true` skips the device/browser language; in-app `locale.set`\n * still wins. Absent ⇒ today's device-then-en behavior. */\n locale?: LocaleConfig;\n /** Effective orientations, resolved INSIDE\n * the binary's build-time envelope (config.ts `orientationEnvelope`). The\n * envelope is the ceiling and can never be OTA (iOS reads the plist before\n * any app code runs); this narrows within it. Always intersected with the\n * envelope — it can never widen it. Absent/empty ⇒ the envelope itself. */\n orientation?: OrientationConfig;\n /** Per-surface nav projection, keyed by catalog\n * surface id (`phone` | `tablet` | `desktop` | `mac` | `watch` | `wear` | `rn`).\n * Keyed the way `orientation` is keyed by device family and narrowed the same\n * way: a key outside the app's `platforms.json` envelope is DROPPED, never\n * honored (see `resolveSurfaceNav`). Absent key ⇒ that surface uses the default\n * projection, so an app that never thinks about surfaces is unaffected. */\n surfaces?: Record<string, SurfaceNavConfig>;\n /** The APP-LEVEL nav worker\n * that feeds every `*Path` binding on `NavTabItem` / `DrawerItem` /\n * `TopBarAction`. App-level, not a screen's worker, because chrome outlives\n * every screen: a cart badge must survive leaving the cart, and a flag-hidden\n * tab must stay hidden three pushes deep in another stack. Absent ⇒ paths stay\n * unresolved and the literals render — the worker enriches, it never gates. */\n navLogicBundle?: LogicBundleRef;\n /** Which nav badges ALSO drive the OS app-icon\n * badge. Each entry is `\"<kind>:<id>\"` (`tab` | `drawer` | `topBarAction`, the\n * spelling `navKey` uses); the icon shows the SUM of those slots' resolved counts.\n * Empty/absent ⇒ no mirroring. An entry naming a slot this build does not have is\n * ignored, never a blanked badge. Requires the `push` capability — `defineApp`\n * rejects the combination, because the badge would be set and never shown. */\n appIconBadgeSources?: string[];\n /** Signed release allowlist for contained browser Tier-5 `_stream` requests. */\n streamPolicy?: StreamPolicy;\n /** A site shell's URL space. A push tap, app link or\n * custom-scheme link whose URL is an https page on one of `site.origins` opens the\n * screen owning its path, and that screen's WebView loads the full URL. Absent ⇒\n * links resolve as before. Build it with `siteNavConfig()` from\n * `@himalaya/core/site-shell`; resolution is `resolveSiteLink()`. */\n site?: SiteNavConfig;\n /** amendment \"top-bar gap items\" — app-wide logo for tab-stack roots. */\n topBarLogo?: TopBarLogo;\n scheme: string;\n deepLinkPatterns: DeepLinkPattern[];\n linkableScreens: LinkableScreen[];\n}"
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
1059
|
"name": "NavKind",
|
|
@@ -1095,7 +1095,7 @@
|
|
|
1095
1095
|
"name": "TopBarConfig",
|
|
1096
1096
|
"kind": "interface",
|
|
1097
1097
|
"jsdoc": "/** The shell-owned top bar. The shell paints\n * `ScreenDescriptor.title` and computes the leading slot (back XOR menu) from\n * nav depth; this adds the trailing action cluster + leading/style overrides.\n * Lives on `ScreenDescriptor.topBar` (authoritative) and\n * `NavigationConfig.topBarDefault` (app-level fallback, fully replaced). */",
|
|
1098
|
-
"decl": "export interface TopBarConfig {\n /** Trailing (right-edge) actions, authored order = leading→trailing. */\n actions?: TopBarAction[];\n /** Leading override: \"\" | \"auto\" (shell-computed) | \"back\" | \"menu\" | \"none\". */\n leading?: string;\n /** Content-under-bar: \"\" | \"opaque\" (default) | \"transparent\" | \"immersive\". */\n style?: string;\n}"
|
|
1098
|
+
"decl": "export interface TopBarConfig {\n /** Trailing (right-edge) actions, authored order = leading→trailing. */\n actions?: TopBarAction[];\n /** Leading override: \"\" | \"auto\" (shell-computed) | \"back\" | \"menu\" | \"none\". */\n leading?: string;\n /** Content-under-bar: \"\" | \"opaque\" (default) | \"transparent\" | \"immersive\". */\n style?: string;\n /** Toolbar items (drawn after the legacy `actions`). */\n items?: ToolbarItem[];\n /** \"\" / \"automatic\" (default) | \"large\" | \"inline\". */\n titleDisplay?: string;\n /** The literal subtitle (the fallback for `subtitlePath`). */\n subtitle?: string;\n /** \"\" / \"visible\" (default) | \"hidden\". */\n visibility?: string;\n /** Bar fill token. iOS 26 keeps the system glass (amendment R12). */\n background?: TokenRef;\n // Field 9 (`searchable`) belongs to the \"Native top-bar search\" implementation.\n /** amendment — the screen's logo; overrides `NavigationConfig.topBarLogo`. */\n logo?: TopBarLogo;\n /** amendment — the title as a menu. */\n titleMenu?: TopBarTitleMenu;\n /** amendment — live subtitle (`$service:`); `subtitle` is the fallback. */\n subtitlePath?: string;\n /** amendment — \"\" / \"pinned\" (default) | \"hide_on_scroll\". */\n scrollBehavior?: string;\n /** amendment — truthy ⇒ leaving the presentation asks to discard. Unset/unresolved ⇒ false. */\n dirtyPath?: string;\n}"
|
|
1099
1099
|
},
|
|
1100
1100
|
{
|
|
1101
1101
|
"name": "SplashConfig",
|
|
@@ -1151,6 +1151,30 @@
|
|
|
1151
1151
|
"jsdoc": "/** One entry of {@link SiteNavConfig.routes}. */",
|
|
1152
1152
|
"decl": "export interface SiteRoute {\n /** Site-relative path prefix: `\"/\"`, `\"/shop\"`, `\"/blog\"`. */\n path: string;\n /** The screen whose WebView loads the URL. */\n screenId: string;\n}"
|
|
1153
1153
|
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "TopBarLogo",
|
|
1156
|
+
"kind": "interface",
|
|
1157
|
+
"jsdoc": "/** amendment — the bar logo, per screen (`TopBarConfig.logo`) or app-wide\n * (`NavigationConfig.topBarLogo`). `imageUrlPath` resolves by the parent's context: the\n * screen host per screen, the nav worker app-wide. */",
|
|
1158
|
+
"decl": "export interface TopBarLogo {\n imageUrl?: string;\n imageUrlDark?: string;\n /** Baked asset name; wins over `imageUrl`. */\n imageAsset?: string;\n /** Optional business name beside a mark-only logo. */\n name?: string;\n /** \"\" / \"title\" (default) | \"leading\" | \"none\". */\n placement?: string;\n imageUrlPath?: string;\n /** Default: the app's display name. */\n accessibilityLabel?: string;\n}"
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "ToolbarItem",
|
|
1162
|
+
"kind": "interface",
|
|
1163
|
+
"jsdoc": "/** One top-bar item. Test id `toolbar.<id>`\n * (`toolbar-<id>` on web and React Native). Every tap carries an existing `Action`\n *. Bindings are `$service:` sentinels resolved by the screen host. */",
|
|
1164
|
+
"decl": "export interface ToolbarItem {\n id: string;\n /** \"leading\" | \"trailing\" (default) | \"principal\" | \"bottom\" | \"keyboard\" | \"overflow\". */\n placement?: string;\n /** Text button when there is no icon; the accessible name always. */\n label?: string;\n icon?: IconRef;\n onTap?: Action;\n /** \"\" | \"cancel\" | \"confirm\" | \"destructive\". */\n role?: string;\n disabled?: boolean;\n /** OR'd with `disabled`. For Save, bind \"nothing to save\" (e.g. `cannotSave`), never the dirty flag. */\n disabledPath?: string;\n /** Non-empty ⇒ the item opens a menu. */\n menu?: MenuItem[];\n /** \"principal\" only: a custom title view. */\n content?: Component;\n /** Truthy ⇒ a progress indicator replaces the item. Unset/unresolved ⇒ false. */\n loadingPath?: string;\n /** Set ⇒ the item draws an avatar; `label` stays the accessible name (\"Profile\" by default). */\n avatar?: ToolbarAvatar;\n /** Live label; `label` is the fallback. */\n labelPath?: string;\n}"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "ToolbarAvatar",
|
|
1168
|
+
"kind": "interface",
|
|
1169
|
+
"jsdoc": "/** amendment — an avatar item. Images are absolute https URLs (resolve a Wix\n * media id with `wixMediaUrl` before publishing). */",
|
|
1170
|
+
"decl": "export interface ToolbarAvatar {\n imageUrl?: string;\n initials?: string;\n imageUrlPath?: string;\n initialsPath?: string;\n}"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"name": "TopBarTitleMenu",
|
|
1174
|
+
"kind": "interface",
|
|
1175
|
+
"jsdoc": "/** amendment — the title as a menu (switch location or feed). */",
|
|
1176
|
+
"decl": "export interface TopBarTitleMenu {\n items?: MenuItem[];\n selectedId?: string;\n /** `selectedId` is the fallback. */\n selectedIdPath?: string;\n /** Default \"<title>, switch\". */\n accessibilityLabel?: string;\n}"
|
|
1177
|
+
},
|
|
1154
1178
|
{
|
|
1155
1179
|
"name": "LocaleConfig",
|
|
1156
1180
|
"kind": "interface",
|
|
@@ -5458,6 +5482,113 @@
|
|
|
5458
5482
|
}
|
|
5459
5483
|
]
|
|
5460
5484
|
},
|
|
5485
|
+
{
|
|
5486
|
+
"name": "@himalaya/wix-ai-site-chat",
|
|
5487
|
+
"source": "stdlib/wix-sdk/ai-site-chat/src/index.ts",
|
|
5488
|
+
"description": "Wix ai site chat — typed REST client",
|
|
5489
|
+
"api": [
|
|
5490
|
+
{
|
|
5491
|
+
"name": "WixCallOptions",
|
|
5492
|
+
"kind": "interface",
|
|
5493
|
+
"jsdoc": "/** Per-call options. `site` addresses ONE call at a business other than the app's\n * active one, so a cross-site rollup can read several businesses concurrently without\n * `setActiveSite` moving the whole process between them. Omitted ⇒ the active business,\n * byte-identical to a call that never passed options.\n *\n * `site.forSite(msid)` from `@himalaya/wix-platform` returns a value of this shape, so\n * it can be passed straight through: `someMethod(req, site.forSite(msid))`. */",
|
|
5494
|
+
"decl": "export interface WixCallOptions {\n site?: string;\n}"
|
|
5495
|
+
},
|
|
5496
|
+
{
|
|
5497
|
+
"name": "wixCall",
|
|
5498
|
+
"kind": "function",
|
|
5499
|
+
"jsdoc": "",
|
|
5500
|
+
"decl": "export function wixCall<T>(\n method: string,\n path: string,\n body?: unknown,\n opts?: WixCallOptions,\n): Promise<T>;"
|
|
5501
|
+
},
|
|
5502
|
+
{
|
|
5503
|
+
"name": "wixQueryPath",
|
|
5504
|
+
"kind": "function",
|
|
5505
|
+
"jsdoc": "/** `path` with `req` appended as the query string Wix's RPC gateway reads a GET or\n * DELETE request from. A nested object flattens to dotted field paths\n * (`{ sort: { order: \"ASC\" } }` → `sort.order=ASC`), an array repeats its key\n * (`{ id: [\"a\", \"b\"] }` → `id=a&id=b`), and an absent field contributes nothing —\n * so an empty request yields the bare path. A field whose value is an array of\n * objects has no query-string spelling and is omitted, exactly as Wix's own client\n * omits it; such a field has to be sent through a POST sibling endpoint instead.\n *\n * Built from template literals and `encodeURIComponent`, never `URLSearchParams`:\n * that is a host global the bare Tier-5 worker runtimes (JSCore / Hermes /\n * QuickJS-ng) do not provide, so reaching for it would throw a ReferenceError\n * before the request went out rather than degrade.\n *\n * Exported so the hand-written ./extensions sidecar can build the same URLs. */",
|
|
5506
|
+
"decl": "export function wixQueryPath(path: string, req: unknown): string;"
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"name": "WixMessage",
|
|
5510
|
+
"kind": "interface",
|
|
5511
|
+
"jsdoc": "",
|
|
5512
|
+
"decl": "export interface WixMessage {\n id?: string;\n createdDate?: string;\n sender?: string;\n conversationId?: string;\n answerTo?: string;\n messageType?: string;\n body?: WixBody;\n inboxId?: string;\n visitorOptions?: string[];\n assistantActions?: string[];\n visitorOptionsFields?: Record<string, unknown>[];\n engineStatus?: string;\n}"
|
|
5513
|
+
},
|
|
5514
|
+
{
|
|
5515
|
+
"name": "WixBody",
|
|
5516
|
+
"kind": "interface",
|
|
5517
|
+
"jsdoc": "",
|
|
5518
|
+
"decl": "export interface WixBody {\n mainText?: string;\n footerText?: string;\n additionalData?: Record<string, unknown>[];\n}"
|
|
5519
|
+
},
|
|
5520
|
+
{
|
|
5521
|
+
"name": "WixListMessagesRequest",
|
|
5522
|
+
"kind": "interface",
|
|
5523
|
+
"jsdoc": "",
|
|
5524
|
+
"decl": "export interface WixListMessagesRequest {\n cursorPaging?: WixCursorPaging;\n}"
|
|
5525
|
+
},
|
|
5526
|
+
{
|
|
5527
|
+
"name": "WixCursorPaging",
|
|
5528
|
+
"kind": "interface",
|
|
5529
|
+
"jsdoc": "",
|
|
5530
|
+
"decl": "export interface WixCursorPaging {\n limit?: number;\n cursor?: string;\n}"
|
|
5531
|
+
},
|
|
5532
|
+
{
|
|
5533
|
+
"name": "WixListMessagesResponse",
|
|
5534
|
+
"kind": "interface",
|
|
5535
|
+
"jsdoc": "",
|
|
5536
|
+
"decl": "export interface WixListMessagesResponse {\n messages?: WixMessage[];\n pagingMetadata?: WixPagingMetadataV2;\n}"
|
|
5537
|
+
},
|
|
5538
|
+
{
|
|
5539
|
+
"name": "WixPagingMetadataV2",
|
|
5540
|
+
"kind": "interface",
|
|
5541
|
+
"jsdoc": "",
|
|
5542
|
+
"decl": "export interface WixPagingMetadataV2 {\n count?: number;\n offset?: number;\n total?: number;\n tooManyToCount?: boolean;\n cursors?: WixCursors;\n hasNext?: boolean;\n}"
|
|
5543
|
+
},
|
|
5544
|
+
{
|
|
5545
|
+
"name": "WixCursors",
|
|
5546
|
+
"kind": "interface",
|
|
5547
|
+
"jsdoc": "",
|
|
5548
|
+
"decl": "export interface WixCursors {\n next?: string;\n prev?: string;\n}"
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
"name": "WixStreamMessagesRequest",
|
|
5552
|
+
"kind": "interface",
|
|
5553
|
+
"jsdoc": "",
|
|
5554
|
+
"decl": "export interface WixStreamMessagesRequest {\n message: WixStreamMessage;\n}"
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"name": "WixStreamMessage",
|
|
5558
|
+
"kind": "interface",
|
|
5559
|
+
"jsdoc": "",
|
|
5560
|
+
"decl": "export interface WixStreamMessage {\n sender: \"SITE_VISITOR\";\n messageType: \"VISITOR_OPTION_SELECTED\";\n answerTo: string;\n body: WixStreamMessageBody;\n}"
|
|
5561
|
+
},
|
|
5562
|
+
{
|
|
5563
|
+
"name": "WixStreamMessageBody",
|
|
5564
|
+
"kind": "interface",
|
|
5565
|
+
"jsdoc": "",
|
|
5566
|
+
"decl": "export interface WixStreamMessageBody {\n mainText: string;\n additionalData: WixStreamMessageAdditionalData[];\n}"
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
"name": "WixStreamMessageAdditionalData",
|
|
5570
|
+
"kind": "interface",
|
|
5571
|
+
"jsdoc": "",
|
|
5572
|
+
"decl": "export interface WixStreamMessageAdditionalData {\n id: string;\n type: \"select_option\";\n action: string;\n}"
|
|
5573
|
+
},
|
|
5574
|
+
{
|
|
5575
|
+
"name": "listMessages",
|
|
5576
|
+
"kind": "function",
|
|
5577
|
+
"jsdoc": "/**\n * Lists the messages of the AI Site Chat (Wix Smart Chat) conversation for the active site, paged by cursor via `cursorPaging`. Runs as the site visitor or member session the host supplies; an empty `messages` array means the conversation has no messages yet, and a 4xx/5xx rejects with the gateway error.\n *\n * @scope visitor — an anonymous visitor session is enough.\n *\n * GET /wix-assistant-widget/v1/messages/list\n */",
|
|
5578
|
+
"decl": "export function listMessages(\n req: WixListMessagesRequest = {} as WixListMessagesRequest,\n opts?: WixCallOptions,\n): Promise<WixListMessagesResponse>;",
|
|
5579
|
+
"http": "GET /wix-assistant-widget/v1/messages/list",
|
|
5580
|
+
"scope": "visitor"
|
|
5581
|
+
},
|
|
5582
|
+
{
|
|
5583
|
+
"name": "streamMessages",
|
|
5584
|
+
"kind": "function",
|
|
5585
|
+
"jsdoc": "/** Submits a visitor message (for example a visitor-option selection) to the widget's\n * `messages/stream` endpoint. This is a BUFFERED call, not a stream: the endpoint\n * answers with an SSE body, but the Wix bridge reads the whole body before it resolves,\n * so the promise settles only once the response has ended and the events are not\n * delivered as they arrive. The payload is returned opaque, as the bridge hands it\n * over. Native clients expose the same buffered call as `streamMessages`. The request\n * is sent as the visitor or member session the host supplies; a gateway error rejects.\n * @scope visitor — an anonymous visitor session is enough. */",
|
|
5586
|
+
"decl": "export function streamMessages(req: WixStreamMessagesRequest, opts?: WixCallOptions): Promise<unknown>;",
|
|
5587
|
+
"http": "POST /wix-assistant-widget/v1/messages/stream",
|
|
5588
|
+
"scope": "visitor"
|
|
5589
|
+
}
|
|
5590
|
+
]
|
|
5591
|
+
},
|
|
5461
5592
|
{
|
|
5462
5593
|
"name": "@himalaya/wix-analytics",
|
|
5463
5594
|
"source": "stdlib/wix-sdk/analytics/src/index.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1406.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": [
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"artifactId": "himalaya-cli"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"falconPackageHash": "
|
|
74
|
+
"falconPackageHash": "964966afc4bcb743188c9fdf21d84de92fb1d9a392e0a48b0644a39a"
|
|
75
75
|
}
|
|
@@ -65,6 +65,13 @@ export default defineApp({
|
|
|
65
65
|
"parentScreenId": "himi_account",
|
|
66
66
|
"tabId": "profile"
|
|
67
67
|
},
|
|
68
|
+
{
|
|
69
|
+
"screenId": "himi_account_settings",
|
|
70
|
+
"isPublic": false,
|
|
71
|
+
"paramKeys": [],
|
|
72
|
+
"parentScreenId": "himi_account",
|
|
73
|
+
"tabId": "profile"
|
|
74
|
+
},
|
|
68
75
|
{
|
|
69
76
|
"screenId": "himi_view_profile",
|
|
70
77
|
"isPublic": false,
|