@wix/himalaya-cli 0.1398.0 → 0.1400.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/sdk/sdk-types/src/capabilities.generated.d.ts +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/webview-page/src/capabilities.generated.d.ts +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/wix-chat/src/index.d.ts +33 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +8 -1
- 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/stdlib/wix-sdk/members-v1/src/index.d.ts +66 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/site-media/src/index.d.ts +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +41 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +2 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-auth/worker.mjs +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-auth.mjs +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-chat.mjs +56 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +45 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-site-media.mjs +17 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
- package/dist/cli.mjs +102 -34
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-config.md +1 -1
- package/guides/capabilities.md +5 -0
- package/guides/headless-loop.md +1 -1
- package/guides/importable-sdks.md +1 -0
- package/guides/sdk-reference.json +163 -0
- package/guides/web-page-sdk-reference.md +1 -0
- package/package.json +2 -2
- package/templates/beauty-salon-owner/dev/index.ts +304 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/community-club-owner/dev/index.ts +304 -7
- package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/community-club-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/community-club-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/events-meetups-owner/dev/index.ts +304 -7
- package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/gym-fitness-owner/dev/index.ts +304 -7
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/nonprofit-cause-owner/dev/index.ts +304 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/owner-lite/dev/index.ts +304 -7
- package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/owner-lite/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/owner-lite/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/podcast-creator-owner/dev/index.ts +304 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/portfolio-creative-owner/dev/index.ts +304 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/restaurant-owner/dev/index.ts +304 -7
- package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/restaurant-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/restaurant-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/retail-store-owner/dev/index.ts +304 -7
- package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/retail-store-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/retail-store-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
- package/templates/yoga-studio-owner/dev/index.ts +304 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +39 -33
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-model.ts +26 -4
- package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-view.ts +63 -16
|
Binary file
|
package/guides/app-config.md
CHANGED
|
@@ -127,7 +127,7 @@ does not include answers `module_not_linked` on device. Some components need one
|
|
|
127
127
|
and `himi validate` errors on a screen that uses one the app does not declare.
|
|
128
128
|
`presigned_upload.putFile` also requires `files` on the calling screen.
|
|
129
129
|
|
|
130
|
-
App-level capability vocabulary: `camera`, `barcode_scanner`, `biometrics`, `secure_storage`, `share`, `push`, `file_picker`, `files`, `open_url`, `pdf`, `clipboard`, `theme`, `photos`, `presigned_upload`, `ui`, `calendar`, `contacts`, `tasks`, `audio_record`, `audio_record_background`, `calls`, `location`, `location_background`, `motion`, `health`, `media_playback`, `webview`, `browser_auth`, `haptic`, `himi_apps`, `iap`, `keyboard`, `wix_cashier`, `live_activity`, `local_database`, `speech`, `speaker_diarization`, `system_intents`, `on_device_ai`, `app_info`, `release_control`, `godot`, `base44`, `animation`.
|
|
130
|
+
App-level capability vocabulary: `camera`, `barcode_scanner`, `biometrics`, `secure_storage`, `share`, `push`, `file_picker`, `files`, `open_url`, `pdf`, `clipboard`, `theme`, `photos`, `presigned_upload`, `ui`, `calendar`, `contacts`, `tasks`, `audio_record`, `audio_record_background`, `calls`, `location`, `location_background`, `motion`, `health`, `media_playback`, `webview`, `browser_auth`, `haptic`, `himi_apps`, `iap`, `keyboard`, `wix_cashier`, `wix_chat`, `live_activity`, `local_database`, `speech`, `speaker_diarization`, `system_intents`, `on_device_ai`, `app_info`, `release_control`, `godot`, `base44`, `animation`.
|
|
131
131
|
|
|
132
132
|
## What `himi validate` checks (7 passes)
|
|
133
133
|
|
package/guides/capabilities.md
CHANGED
|
@@ -56,6 +56,11 @@ live_activity — import from @himalaya/live-activity
|
|
|
56
56
|
Agents: the same data is the `himi_capabilities` MCP tool. `himi sdk <name>` also prints the
|
|
57
57
|
capability a package dispatches.
|
|
58
58
|
|
|
59
|
+
`@himalaya/wix-chat` (`wix_chat`) subscribes a worker to incoming Wix Chat events. The native or
|
|
60
|
+
web host obtains Wix and Firebase credentials and keeps them out of worker JavaScript; each worker
|
|
61
|
+
can hold one subscription, which closes when that worker is disposed or its signed-in/site scope
|
|
62
|
+
changes. Declare `wix_chat` in the app and in the calling screen's `declaredCapabilities`.
|
|
63
|
+
|
|
59
64
|
A capability marked **native** (camera, location, photos, contacts, calendar, push, …) puts a
|
|
60
65
|
usage string, entitlement or permission into the binary. No over-the-air push can add one — only
|
|
61
66
|
a new binary can. A capability with no native footprint (share, clipboard, open_url,
|
package/guides/headless-loop.md
CHANGED
|
@@ -229,7 +229,7 @@ A few flags worth knowing up front (all discoverable via `himi render --help`):
|
|
|
229
229
|
which over-stretches a phone layout.
|
|
230
230
|
- **`himi icons`** lists the valid `Icon.name` vocabulary — an unknown name silently falls back to a
|
|
231
231
|
generic glyph on device (and `validate` warns), so pick from this list rather than guessing SF-Symbol
|
|
232
|
-
names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
|
|
232
|
+
names. The full set (aliases included): ai, arrow_down, arrow_left, arrow_right, arrow_up, back, bag, bag_fill, barcode, bell, bell_fill, bell_off, bell_slash, book, bookmark, bookmark_fill, boxes, branch, calendar, camera, cart, cart_fill, chart, chat, check, checklist, checkmark, chevron_down, chevron_left, chevron_right, chevron_up, circle, circle_fill, clock, close, concealed, cookie, copy, dashboard, doc, document, download, edit, ellipsis, error, expand, external_link, eye, eye_slash, filter, folder, forward, fullscreen, gear, gift, globe, grid, grid_fill, grip, heart, heart_fill, help, home, home_fill, house, image, inbox, info, layers, link, list, location, lock, logout, mail, map, menu, message, mic, mic_fill, microphone, microphone_fill, minus, moon, more, more_vertical, music, newspaper, newspaper_fill, next, paper_plane, pause, pencil, people, person, person_fill, phone, photo, pin, play, play_circle, play_circle_fill, plus, plus_circle, plus_circle_fill, prev, question, refresh, repeat, rss, search, send, send_arrow, settings, settings_fill, share, shuffle, skip_back, skip_forward, skip_next, skip_previous, star, star_fill, stop, success, tag, ticket, ticket_fill, trash, tray, undo, user, visible, volume, warning, wifi, xmark.
|
|
233
233
|
|
|
234
234
|
## 4b. Prove it WORKS, not just that it renders (`himi test`, when installed)
|
|
235
235
|
|
|
@@ -65,6 +65,7 @@ package in one greppable file) or `GET /v1/sdk/<name>` over HTTP; in the CLI,
|
|
|
65
65
|
- `@himalaya/webview` — Tier-5 typed binding for the page ↔ worker message channel of a worker-backed webview screen (Part 2 / RFC 0025 composition).
|
|
66
66
|
- `@himalaya/webview-page` — browser-side SDK for a trusted page hosted by a worker-backed Himalaya WebView.
|
|
67
67
|
- `@himalaya/widget` — Tier-5 logic-bundle widget surface.
|
|
68
|
+
- `@himalaya/wix-chat` — host-owned realtime Chat event subscriptions.
|
|
68
69
|
- `@himalaya/wix-llm` — narrow Tier-5 binding for Wix LLM text generation.
|
|
69
70
|
- `@himalaya/wix-platform` — Wix Platform SDK (RFC 0042), worker-facing bindings.
|
|
70
71
|
|
|
@@ -4964,6 +4964,61 @@
|
|
|
4964
4964
|
}
|
|
4965
4965
|
]
|
|
4966
4966
|
},
|
|
4967
|
+
{
|
|
4968
|
+
"name": "@himalaya/wix-chat",
|
|
4969
|
+
"source": "core/sdk/wix-chat/src/index.ts",
|
|
4970
|
+
"description": "host-owned realtime Chat event subscriptions.",
|
|
4971
|
+
"api": [
|
|
4972
|
+
{
|
|
4973
|
+
"name": "RealtimeState",
|
|
4974
|
+
"kind": "type",
|
|
4975
|
+
"jsdoc": "",
|
|
4976
|
+
"decl": "export type RealtimeState = \"connected\" | \"connecting\" | \"reconnecting\" | \"disconnected\" | \"error\" | \"unavailable\";"
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"name": "RealtimeReason",
|
|
4980
|
+
"kind": "type",
|
|
4981
|
+
"jsdoc": "",
|
|
4982
|
+
"decl": "export type RealtimeReason =\n | \"chat_setup_scope_unavailable\"\n | \"runtime_unavailable\"\n | \"invalid_setup_response\"\n | \"firebase_auth_failed\"\n | \"firebase_connection_failed\"\n | \"invalid_event\"\n | \"event_overflow\";"
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"name": "RealtimeStatus",
|
|
4986
|
+
"kind": "interface",
|
|
4987
|
+
"jsdoc": "",
|
|
4988
|
+
"decl": "export interface RealtimeStatus {\n state: RealtimeState;\n reason?: RealtimeReason;\n}"
|
|
4989
|
+
},
|
|
4990
|
+
{
|
|
4991
|
+
"name": "RealtimeSubscription",
|
|
4992
|
+
"kind": "interface",
|
|
4993
|
+
"jsdoc": "",
|
|
4994
|
+
"decl": "export interface RealtimeSubscription extends RealtimeStatus {\n subscriptionId: string;\n}"
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"name": "RealtimeEventEnvelope",
|
|
4998
|
+
"kind": "interface",
|
|
4999
|
+
"jsdoc": "",
|
|
5000
|
+
"decl": "export interface RealtimeEventEnvelope {\n /** A normalized Wix Chat server event from Firebase. */\n event: Record<string, unknown>;\n /** Firebase server timestamp sampled when the subscription was established. */\n connectionEstablishedTimestamp: number;\n}"
|
|
5001
|
+
},
|
|
5002
|
+
{
|
|
5003
|
+
"name": "subscribeRealtime",
|
|
5004
|
+
"kind": "function",
|
|
5005
|
+
"jsdoc": "/** Subscribe this worker to Wix Chat realtime events. Reducers receive one\n * {@link RealtimeEventEnvelope}; status reducers receive {@link RealtimeStatus}.\n * A new subscription replaces the worker's prior subscription, and worker disposal\n * always closes the host stream. The returned identifier is opaque and worker-local. */",
|
|
5006
|
+
"decl": "export async function subscribeRealtime(opts: {\n onEvent: string;\n onStatus?: string;\n}): Promise<RealtimeSubscription>;"
|
|
5007
|
+
},
|
|
5008
|
+
{
|
|
5009
|
+
"name": "unsubscribeRealtime",
|
|
5010
|
+
"kind": "function",
|
|
5011
|
+
"jsdoc": "/** Stop this worker's subscription. Returns `ok: false` for an unknown or stale ID. */",
|
|
5012
|
+
"decl": "export async function unsubscribeRealtime(opts: { subscriptionId: string }): Promise<{ ok: boolean }>;"
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
"name": "getRealtimeStatus",
|
|
5016
|
+
"kind": "function",
|
|
5017
|
+
"jsdoc": "/** Read the latest host connection status for a worker-local subscription ID. */",
|
|
5018
|
+
"decl": "export async function getRealtimeStatus(opts: { subscriptionId: string }): Promise<RealtimeStatus>;"
|
|
5019
|
+
}
|
|
5020
|
+
]
|
|
5021
|
+
},
|
|
4967
5022
|
{
|
|
4968
5023
|
"name": "@himalaya/wix-llm",
|
|
4969
5024
|
"source": "core/sdk/wix-llm/src/index.ts",
|
|
@@ -21995,6 +22050,42 @@
|
|
|
21995
22050
|
"jsdoc": "",
|
|
21996
22051
|
"decl": "export interface WixGetMemberResponse {\n member: WixMember;\n}"
|
|
21997
22052
|
},
|
|
22053
|
+
{
|
|
22054
|
+
"name": "WixGetMyMemberResponse",
|
|
22055
|
+
"kind": "interface",
|
|
22056
|
+
"jsdoc": "",
|
|
22057
|
+
"decl": "export interface WixGetMyMemberResponse {\n member: WixMember;\n}"
|
|
22058
|
+
},
|
|
22059
|
+
{
|
|
22060
|
+
"name": "WixUpdateMemberRequest",
|
|
22061
|
+
"kind": "interface",
|
|
22062
|
+
"jsdoc": "",
|
|
22063
|
+
"decl": "export interface WixUpdateMemberRequest {\n member: Partial<WixMember>;\n}"
|
|
22064
|
+
},
|
|
22065
|
+
{
|
|
22066
|
+
"name": "WixUpdateMemberResponse",
|
|
22067
|
+
"kind": "interface",
|
|
22068
|
+
"jsdoc": "",
|
|
22069
|
+
"decl": "export interface WixUpdateMemberResponse {\n member: WixMember;\n}"
|
|
22070
|
+
},
|
|
22071
|
+
{
|
|
22072
|
+
"name": "WixDeleteMemberPhonesResponse",
|
|
22073
|
+
"kind": "interface",
|
|
22074
|
+
"jsdoc": "",
|
|
22075
|
+
"decl": "export interface WixDeleteMemberPhonesResponse {\n member?: WixMember;\n}"
|
|
22076
|
+
},
|
|
22077
|
+
{
|
|
22078
|
+
"name": "WixListCurrentMemberBlockingRequest",
|
|
22079
|
+
"kind": "interface",
|
|
22080
|
+
"jsdoc": "",
|
|
22081
|
+
"decl": "export interface WixListCurrentMemberBlockingRequest {\n cursorPaging?: { limit?: number; cursor?: string };\n}"
|
|
22082
|
+
},
|
|
22083
|
+
{
|
|
22084
|
+
"name": "WixListCurrentMemberBlockingResponse",
|
|
22085
|
+
"kind": "interface",
|
|
22086
|
+
"jsdoc": "",
|
|
22087
|
+
"decl": "export interface WixListCurrentMemberBlockingResponse {\n blockedMemberIds?: string[];\n pagingMetadata?: { cursors?: { next?: string; prev?: string }; count?: number; total?: number; tooManyToCount?: boolean };\n}"
|
|
22088
|
+
},
|
|
21998
22089
|
{
|
|
21999
22090
|
"name": "queryMembers",
|
|
22000
22091
|
"kind": "function",
|
|
@@ -22009,6 +22100,70 @@
|
|
|
22009
22100
|
"decl": "export function getMember(id: string): Promise<WixGetMemberResponse>;",
|
|
22010
22101
|
"http": "GET /members/v1/members/{…}?fieldsets=FULL"
|
|
22011
22102
|
},
|
|
22103
|
+
{
|
|
22104
|
+
"name": "getMyMember",
|
|
22105
|
+
"kind": "function",
|
|
22106
|
+
"jsdoc": "/** Fetch the currently authenticated member — member-scoped, unlike the owner roster query.\n * @scope member — requires the signed-in site-member identity; an anonymous visitor cannot read this record.\n */",
|
|
22107
|
+
"decl": "export function getMyMember(req: { fieldsets?: string[] } = {}): Promise<WixGetMyMemberResponse>;",
|
|
22108
|
+
"http": "GET /members/v1/members/my?{…}",
|
|
22109
|
+
"scope": "member"
|
|
22110
|
+
},
|
|
22111
|
+
{
|
|
22112
|
+
"name": "updateMember",
|
|
22113
|
+
"kind": "function",
|
|
22114
|
+
"jsdoc": "/** Update a member record. Callers that serve members must pass the authenticated member's id.\n * @scope member — the id must identify the signed-in member; mismatches are rejected by Wix authorization.\n */",
|
|
22115
|
+
"decl": "export function updateMember(id: string, req: WixUpdateMemberRequest): Promise<WixUpdateMemberResponse>;",
|
|
22116
|
+
"http": "PATCH /members/v1/members/{…}",
|
|
22117
|
+
"scope": "member"
|
|
22118
|
+
},
|
|
22119
|
+
{
|
|
22120
|
+
"name": "updateMySlug",
|
|
22121
|
+
"kind": "function",
|
|
22122
|
+
"jsdoc": "/** Change the signed-in member's own public profile slug.\n * @scope member — requires a signed-in site member; the operation applies only to that member's slug.\n */",
|
|
22123
|
+
"decl": "export function updateMySlug(req: { slug: string }): Promise<WixUpdateMemberResponse>;",
|
|
22124
|
+
"http": "POST /members/v1/members/my/slug",
|
|
22125
|
+
"scope": "member"
|
|
22126
|
+
},
|
|
22127
|
+
{
|
|
22128
|
+
"name": "listCurrentMemberBlocking",
|
|
22129
|
+
"kind": "function",
|
|
22130
|
+
"jsdoc": "/** List IDs blocked by the authenticated member — member-owned social blocks, not site moderation.\n * @scope member — requires a signed-in site member; an empty list means the member has no blocked members.\n */",
|
|
22131
|
+
"decl": "export function listCurrentMemberBlocking(req: WixListCurrentMemberBlockingRequest = {}): Promise<WixListCurrentMemberBlockingResponse>;",
|
|
22132
|
+
"http": "GET /members/v1/member-to-member-blocks/members/my{…}",
|
|
22133
|
+
"scope": "member"
|
|
22134
|
+
},
|
|
22135
|
+
{
|
|
22136
|
+
"name": "unblockCurrentMember",
|
|
22137
|
+
"kind": "function",
|
|
22138
|
+
"jsdoc": "/** Remove one member from the authenticated member's own block list.\n * @scope member — requires a signed-in site member; Wix applies the change to that member's block list.\n */",
|
|
22139
|
+
"decl": "export function unblockCurrentMember(memberId: string): Promise<Record<string, never>>;",
|
|
22140
|
+
"http": "DELETE /members/v1/member-to-member-blocks/members/my/{…}",
|
|
22141
|
+
"scope": "member"
|
|
22142
|
+
},
|
|
22143
|
+
{
|
|
22144
|
+
"name": "deleteMemberPhones",
|
|
22145
|
+
"kind": "function",
|
|
22146
|
+
"jsdoc": "/** Delete every stored contact phone from a member's own profile. The API has no per-phone delete.\n * @scope member — id must be the signed-in member; this endpoint clears all phone numbers on that profile.\n */",
|
|
22147
|
+
"decl": "export function deleteMemberPhones(id: string): Promise<WixDeleteMemberPhonesResponse>;",
|
|
22148
|
+
"http": "DELETE /members/v1/members/{…}/phones",
|
|
22149
|
+
"scope": "member"
|
|
22150
|
+
},
|
|
22151
|
+
{
|
|
22152
|
+
"name": "leaveCommunity",
|
|
22153
|
+
"kind": "function",
|
|
22154
|
+
"jsdoc": "/** Leave the Wix Members Area community. Wix changes the member to PRIVATE.\n * @scope member — requires a signed-in member; this removes that member from the public Members Area community.\n */",
|
|
22155
|
+
"decl": "export function leaveCommunity(): Promise<WixUpdateMemberResponse>;",
|
|
22156
|
+
"http": "POST /members/v1/members/leave-community",
|
|
22157
|
+
"scope": "member"
|
|
22158
|
+
},
|
|
22159
|
+
{
|
|
22160
|
+
"name": "joinCommunity",
|
|
22161
|
+
"kind": "function",
|
|
22162
|
+
"jsdoc": "/** Join the Wix Members Area community. Wix changes the member to PUBLIC.\n * @scope member — requires a signed-in member; this makes that member's Members Area profile public.\n */",
|
|
22163
|
+
"decl": "export function joinCommunity(): Promise<WixUpdateMemberResponse>;",
|
|
22164
|
+
"http": "POST /members/v1/members/join-community",
|
|
22165
|
+
"scope": "member"
|
|
22166
|
+
},
|
|
22012
22167
|
{
|
|
22013
22168
|
"name": "approveMember",
|
|
22014
22169
|
"kind": "function",
|
|
@@ -23918,6 +24073,14 @@
|
|
|
23918
24073
|
"decl": "export function generateUploadUrl(\n mimeType: string,\n fileName: string,\n parentFolderId?: string,\n): Promise<GenerateUploadUrlResponse>;",
|
|
23919
24074
|
"http": "POST /site-media/v1/files/generate-upload-url"
|
|
23920
24075
|
},
|
|
24076
|
+
{
|
|
24077
|
+
"name": "generateMemberPhotoUploadUrl",
|
|
24078
|
+
"kind": "function",
|
|
24079
|
+
"jsdoc": "/** Ask a site-owned Velo HTTP function for a member-authorized photo upload URL.\n * The backend function must independently bind the request to its authenticated\n * member and return `{ uploadUrl }`; this helper does not add credentials or\n * bypass the host's current Wix identity.\n * @scope member — requires a signed-in member and a configured site function that verifies the current member;\n * the returned URL is for upload only and does not itself update the member profile.\n */",
|
|
24080
|
+
"decl": "export function generateMemberPhotoUploadUrl(\n functionName: string,\n mimeType: string,\n fileName: string,\n): Promise<GenerateUploadUrlResponse>;",
|
|
24081
|
+
"http": "POST /velo/v1/http/invoke/{…}",
|
|
24082
|
+
"scope": "member"
|
|
24083
|
+
},
|
|
23921
24084
|
{
|
|
23922
24085
|
"name": "(reexport)",
|
|
23923
24086
|
"kind": "reexport",
|
|
@@ -53,4 +53,5 @@ the SDK sources, so it matches the shipped SDKs.
|
|
|
53
53
|
- [`theme`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Ftheme?format=md) — Runtime brand overlay. 2 methods.
|
|
54
54
|
- [`ui`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fui?format=md) — Imperative popup capability. 2 methods · not in Brandy.
|
|
55
55
|
- [`wix_cashier`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fwix_cashier?format=md) — Native cashier. 2 methods.
|
|
56
|
+
- [`wix_chat`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fwix_chat?format=md) — Host-owned realtime Chat event subscriptions. 2 methods.
|
|
56
57
|
- [`wix_platform`](https://apps.wix.com/_api/himi-serve/authoring/resource/web-sdk%2Fwix_platform?format=md) — Wix Platform SDK, worker-facing bindings. 30 methods · not in Brandy.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1400.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": "16227ece9e0317f714176f3eecc0ae2774dc54d2f87df990070d3d72"
|
|
75
75
|
}
|
|
@@ -57627,6 +57627,7 @@ const SCREENS = runtimeSetting({
|
|
|
57627
57627
|
"title": "$item.buttonLabel",
|
|
57628
57628
|
"style": "secondary",
|
|
57629
57629
|
"size": "sm",
|
|
57630
|
+
"fullWidth": false,
|
|
57630
57631
|
"action": {
|
|
57631
57632
|
"actionId": "tier5.himiOwnerLiteAria.widgetRespond",
|
|
57632
57633
|
"params": {
|
|
@@ -58822,15 +58823,95 @@ const SCREENS = runtimeSetting({
|
|
|
58822
58823
|
}
|
|
58823
58824
|
},
|
|
58824
58825
|
{
|
|
58825
|
-
"id": "",
|
|
58826
|
+
"id": "himi_owner_lite_aria.widget.PLANS.benefits_$item.id",
|
|
58826
58827
|
"body": {
|
|
58827
58828
|
"package": "himalaya",
|
|
58828
|
-
"type": "
|
|
58829
|
+
"type": "LazyList",
|
|
58829
58830
|
"props": {
|
|
58830
|
-
"
|
|
58831
|
-
"
|
|
58832
|
-
"
|
|
58833
|
-
|
|
58831
|
+
"itemsPath": "$item.benefits",
|
|
58832
|
+
"spacing": 4,
|
|
58833
|
+
"items": [
|
|
58834
|
+
{
|
|
58835
|
+
"id": "",
|
|
58836
|
+
"body": {
|
|
58837
|
+
"package": "himalaya",
|
|
58838
|
+
"type": "HStack",
|
|
58839
|
+
"props": {
|
|
58840
|
+
"spacing": 8,
|
|
58841
|
+
"children": [
|
|
58842
|
+
{
|
|
58843
|
+
"id": "",
|
|
58844
|
+
"body": {
|
|
58845
|
+
"package": "himalaya",
|
|
58846
|
+
"type": "Icon",
|
|
58847
|
+
"props": {
|
|
58848
|
+
"name": "$item.icon",
|
|
58849
|
+
"size": 12,
|
|
58850
|
+
"tint": "success"
|
|
58851
|
+
}
|
|
58852
|
+
},
|
|
58853
|
+
"modifiers": {
|
|
58854
|
+
"accessibilityRole": "decorative",
|
|
58855
|
+
"hiddenPath": "$item.successHidden"
|
|
58856
|
+
}
|
|
58857
|
+
},
|
|
58858
|
+
{
|
|
58859
|
+
"id": "",
|
|
58860
|
+
"body": {
|
|
58861
|
+
"package": "himalaya",
|
|
58862
|
+
"type": "Icon",
|
|
58863
|
+
"props": {
|
|
58864
|
+
"name": "$item.icon",
|
|
58865
|
+
"size": 12,
|
|
58866
|
+
"tint": "textPrimary"
|
|
58867
|
+
}
|
|
58868
|
+
},
|
|
58869
|
+
"modifiers": {
|
|
58870
|
+
"accessibilityRole": "decorative",
|
|
58871
|
+
"hiddenPath": "$item.plainHidden"
|
|
58872
|
+
}
|
|
58873
|
+
},
|
|
58874
|
+
{
|
|
58875
|
+
"id": "",
|
|
58876
|
+
"body": {
|
|
58877
|
+
"package": "himalaya",
|
|
58878
|
+
"type": "Icon",
|
|
58879
|
+
"props": {
|
|
58880
|
+
"name": "$item.icon",
|
|
58881
|
+
"size": 12,
|
|
58882
|
+
"tint": "accentPrimary"
|
|
58883
|
+
}
|
|
58884
|
+
},
|
|
58885
|
+
"modifiers": {
|
|
58886
|
+
"accessibilityRole": "decorative",
|
|
58887
|
+
"theme": {
|
|
58888
|
+
"colors": {
|
|
58889
|
+
"accentPrimary": "$item.colorHex"
|
|
58890
|
+
}
|
|
58891
|
+
},
|
|
58892
|
+
"hiddenPath": "$item.customHidden"
|
|
58893
|
+
}
|
|
58894
|
+
},
|
|
58895
|
+
{
|
|
58896
|
+
"id": "",
|
|
58897
|
+
"body": {
|
|
58898
|
+
"package": "himalaya",
|
|
58899
|
+
"type": "Text",
|
|
58900
|
+
"props": {
|
|
58901
|
+
"text": "$item.text",
|
|
58902
|
+
"style": "footnote",
|
|
58903
|
+
"maxLines": 8
|
|
58904
|
+
}
|
|
58905
|
+
},
|
|
58906
|
+
"modifiers": {
|
|
58907
|
+
"weight": 1
|
|
58908
|
+
}
|
|
58909
|
+
}
|
|
58910
|
+
]
|
|
58911
|
+
}
|
|
58912
|
+
}
|
|
58913
|
+
}
|
|
58914
|
+
]
|
|
58834
58915
|
}
|
|
58835
58916
|
},
|
|
58836
58917
|
"modifiers": {
|
|
@@ -59230,6 +59311,181 @@ const SCREENS = runtimeSetting({
|
|
|
59230
59311
|
}
|
|
59231
59312
|
}
|
|
59232
59313
|
},
|
|
59314
|
+
{
|
|
59315
|
+
"id": "himi_owner_lite_aria.widget.VISUAL_DISPLAY.variants",
|
|
59316
|
+
"body": {
|
|
59317
|
+
"package": "himalaya",
|
|
59318
|
+
"type": "LazyList",
|
|
59319
|
+
"props": {
|
|
59320
|
+
"itemsPath": "$service:himiOwnerLiteAria.widget.options",
|
|
59321
|
+
"spacing": 6,
|
|
59322
|
+
"items": [
|
|
59323
|
+
{
|
|
59324
|
+
"id": "himi_owner_lite_aria.widget.VISUAL_DISPLAY.variant_$item.id",
|
|
59325
|
+
"body": {
|
|
59326
|
+
"package": "himalaya",
|
|
59327
|
+
"type": "Card",
|
|
59328
|
+
"props": {
|
|
59329
|
+
"children": [
|
|
59330
|
+
{
|
|
59331
|
+
"id": "",
|
|
59332
|
+
"body": {
|
|
59333
|
+
"package": "himalaya",
|
|
59334
|
+
"type": "VStack",
|
|
59335
|
+
"props": {
|
|
59336
|
+
"spacing": 8,
|
|
59337
|
+
"children": [
|
|
59338
|
+
{
|
|
59339
|
+
"id": "",
|
|
59340
|
+
"body": {
|
|
59341
|
+
"package": "himalaya",
|
|
59342
|
+
"type": "Image",
|
|
59343
|
+
"props": {
|
|
59344
|
+
"url": "$item.pictureUrl",
|
|
59345
|
+
"fillWidth": true,
|
|
59346
|
+
"aspectRatio": 1.5,
|
|
59347
|
+
"contentMode": "fill",
|
|
59348
|
+
"contentDescription": "$item.title"
|
|
59349
|
+
}
|
|
59350
|
+
},
|
|
59351
|
+
"modifiers": {
|
|
59352
|
+
"hiddenPath": "$item.pictureHidden"
|
|
59353
|
+
}
|
|
59354
|
+
},
|
|
59355
|
+
{
|
|
59356
|
+
"id": "",
|
|
59357
|
+
"body": {
|
|
59358
|
+
"package": "himalaya",
|
|
59359
|
+
"type": "HStack",
|
|
59360
|
+
"props": {
|
|
59361
|
+
"spacing": 0,
|
|
59362
|
+
"children": [
|
|
59363
|
+
{
|
|
59364
|
+
"id": "",
|
|
59365
|
+
"body": {
|
|
59366
|
+
"package": "himalaya",
|
|
59367
|
+
"type": "Text",
|
|
59368
|
+
"props": {
|
|
59369
|
+
"text": "$item.badge",
|
|
59370
|
+
"style": "footnote",
|
|
59371
|
+
"color": "surfacePrimary"
|
|
59372
|
+
}
|
|
59373
|
+
},
|
|
59374
|
+
"modifiers": {
|
|
59375
|
+
"background": {
|
|
59376
|
+
"token": "textSecondary"
|
|
59377
|
+
},
|
|
59378
|
+
"cornerRadius": 4,
|
|
59379
|
+
"padding": {
|
|
59380
|
+
"leading": 8,
|
|
59381
|
+
"trailing": 8,
|
|
59382
|
+
"top": 2,
|
|
59383
|
+
"bottom": 2
|
|
59384
|
+
}
|
|
59385
|
+
}
|
|
59386
|
+
},
|
|
59387
|
+
{
|
|
59388
|
+
"id": "",
|
|
59389
|
+
"body": {
|
|
59390
|
+
"package": "himalaya",
|
|
59391
|
+
"type": "Spacer",
|
|
59392
|
+
"props": {}
|
|
59393
|
+
}
|
|
59394
|
+
}
|
|
59395
|
+
]
|
|
59396
|
+
}
|
|
59397
|
+
},
|
|
59398
|
+
"modifiers": {
|
|
59399
|
+
"hiddenPath": "$item.badgeHidden"
|
|
59400
|
+
}
|
|
59401
|
+
},
|
|
59402
|
+
{
|
|
59403
|
+
"id": "",
|
|
59404
|
+
"body": {
|
|
59405
|
+
"package": "himalaya",
|
|
59406
|
+
"type": "Text",
|
|
59407
|
+
"props": {
|
|
59408
|
+
"text": "$item.title",
|
|
59409
|
+
"style": "bodyEmphasis"
|
|
59410
|
+
}
|
|
59411
|
+
}
|
|
59412
|
+
},
|
|
59413
|
+
{
|
|
59414
|
+
"id": "",
|
|
59415
|
+
"body": {
|
|
59416
|
+
"package": "himalaya",
|
|
59417
|
+
"type": "Text",
|
|
59418
|
+
"props": {
|
|
59419
|
+
"text": "$item.subtitle",
|
|
59420
|
+
"style": "body",
|
|
59421
|
+
"color": "textSecondary"
|
|
59422
|
+
}
|
|
59423
|
+
},
|
|
59424
|
+
"modifiers": {
|
|
59425
|
+
"hiddenPath": "$item.subtitleHidden"
|
|
59426
|
+
}
|
|
59427
|
+
},
|
|
59428
|
+
{
|
|
59429
|
+
"id": "",
|
|
59430
|
+
"body": {
|
|
59431
|
+
"package": "himalaya",
|
|
59432
|
+
"type": "Text",
|
|
59433
|
+
"props": {
|
|
59434
|
+
"text": "$item.text",
|
|
59435
|
+
"style": "body"
|
|
59436
|
+
}
|
|
59437
|
+
},
|
|
59438
|
+
"modifiers": {
|
|
59439
|
+
"hiddenPath": "$item.textHidden"
|
|
59440
|
+
}
|
|
59441
|
+
},
|
|
59442
|
+
{
|
|
59443
|
+
"id": "",
|
|
59444
|
+
"body": {
|
|
59445
|
+
"package": "himalaya",
|
|
59446
|
+
"type": "Text",
|
|
59447
|
+
"props": {
|
|
59448
|
+
"text": "$item.listText",
|
|
59449
|
+
"style": "body"
|
|
59450
|
+
}
|
|
59451
|
+
},
|
|
59452
|
+
"modifiers": {
|
|
59453
|
+
"hiddenPath": "$item.listHidden"
|
|
59454
|
+
}
|
|
59455
|
+
},
|
|
59456
|
+
{
|
|
59457
|
+
"id": "himi_owner_lite_aria.widget.VISUAL_DISPLAY.variant_$item.id.button",
|
|
59458
|
+
"body": {
|
|
59459
|
+
"package": "himalaya",
|
|
59460
|
+
"type": "Button",
|
|
59461
|
+
"props": {
|
|
59462
|
+
"title": "$item.buttonLabel",
|
|
59463
|
+
"style": "secondary",
|
|
59464
|
+
"size": "sm",
|
|
59465
|
+
"action": {
|
|
59466
|
+
"actionId": "tier5.himiOwnerLiteAria.widgetRespond",
|
|
59467
|
+
"params": {
|
|
59468
|
+
"value": "$item.id"
|
|
59469
|
+
}
|
|
59470
|
+
}
|
|
59471
|
+
}
|
|
59472
|
+
},
|
|
59473
|
+
"modifiers": {
|
|
59474
|
+
"hiddenPath": "$item.buttonHidden"
|
|
59475
|
+
}
|
|
59476
|
+
}
|
|
59477
|
+
]
|
|
59478
|
+
}
|
|
59479
|
+
}
|
|
59480
|
+
}
|
|
59481
|
+
]
|
|
59482
|
+
}
|
|
59483
|
+
}
|
|
59484
|
+
}
|
|
59485
|
+
]
|
|
59486
|
+
}
|
|
59487
|
+
}
|
|
59488
|
+
},
|
|
59233
59489
|
{
|
|
59234
59490
|
"id": "",
|
|
59235
59491
|
"body": {
|
|
@@ -60461,7 +60717,23 @@ const SCREENS = runtimeSetting({
|
|
|
60461
60717
|
},
|
|
60462
60718
|
"modifiers": {
|
|
60463
60719
|
"accessibilityLabel": "$service:himiOwnerLiteAria.widget.text",
|
|
60464
|
-
"hiddenPath": "$service:himiOwnerLiteAria.widget.
|
|
60720
|
+
"hiddenPath": "$service:himiOwnerLiteAria.widget.chartPlainPieHidden"
|
|
60721
|
+
}
|
|
60722
|
+
},
|
|
60723
|
+
{
|
|
60724
|
+
"id": "himi_owner_lite_aria.widget.CHART.doughnut",
|
|
60725
|
+
"body": {
|
|
60726
|
+
"package": "himalaya",
|
|
60727
|
+
"type": "DonutChart",
|
|
60728
|
+
"props": {
|
|
60729
|
+
"slicesPath": "$service:himiOwnerLiteAria.widget.slices",
|
|
60730
|
+
"thickness": 18,
|
|
60731
|
+
"size": 160
|
|
60732
|
+
}
|
|
60733
|
+
},
|
|
60734
|
+
"modifiers": {
|
|
60735
|
+
"accessibilityLabel": "$service:himiOwnerLiteAria.widget.text",
|
|
60736
|
+
"hiddenPath": "$service:himiOwnerLiteAria.widget.chartRingHidden"
|
|
60465
60737
|
}
|
|
60466
60738
|
},
|
|
60467
60739
|
{
|
|
@@ -60480,6 +60752,21 @@ const SCREENS = runtimeSetting({
|
|
|
60480
60752
|
"hiddenPath": "$service:himiOwnerLiteAria.widget.chartSeriesHidden"
|
|
60481
60753
|
}
|
|
60482
60754
|
},
|
|
60755
|
+
{
|
|
60756
|
+
"id": "himi_owner_lite_aria.widget.CHART.legend",
|
|
60757
|
+
"body": {
|
|
60758
|
+
"package": "himalaya",
|
|
60759
|
+
"type": "Legend",
|
|
60760
|
+
"props": {
|
|
60761
|
+
"itemsPath": "$service:himiOwnerLiteAria.widget.chartLegend",
|
|
60762
|
+
"orientation": "vertical"
|
|
60763
|
+
}
|
|
60764
|
+
},
|
|
60765
|
+
"modifiers": {
|
|
60766
|
+
"accessibilityLabel": "$service:himiOwnerLiteAria.widget.text",
|
|
60767
|
+
"hiddenPath": "$service:himiOwnerLiteAria.widget.chartPieHidden"
|
|
60768
|
+
}
|
|
60769
|
+
},
|
|
60483
60770
|
{
|
|
60484
60771
|
"id": "",
|
|
60485
60772
|
"body": {
|
|
@@ -60572,6 +60859,16 @@ const SCREENS = runtimeSetting({
|
|
|
60572
60859
|
}
|
|
60573
60860
|
]
|
|
60574
60861
|
}
|
|
60862
|
+
},
|
|
60863
|
+
"modifiers": {
|
|
60864
|
+
"theme": {
|
|
60865
|
+
"colors": {
|
|
60866
|
+
"ariaChartBlue": "#126EFF",
|
|
60867
|
+
"ariaChartGreen": "#26A659",
|
|
60868
|
+
"ariaChartPurple": "#9926D6",
|
|
60869
|
+
"ariaChartGray": "#878AA6"
|
|
60870
|
+
}
|
|
60871
|
+
}
|
|
60575
60872
|
}
|
|
60576
60873
|
},
|
|
60577
60874
|
"accessibilityAnnouncement": "$service:himiOwnerLiteAria.widget.text"
|