@wix/himalaya-cli 0.1101.0 → 0.1102.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.
Files changed (27) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +23 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +34 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/automations-v1/src/index.d.ts +2 -2
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/badges-v2/src/index.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/comments-v1/src/index.d.ts +1 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/data-collections-v1/src/index.d.ts +1 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/email-marketing-v1/src/index.d.ts +2 -2
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/rich-content-editor/src/index.d.ts +29 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/workflows-v1/src/index.d.ts +1 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +4 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +30 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-automations.mjs +10 -4
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-badges.mjs +5 -2
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-comments.mjs +5 -2
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-data-collections.mjs +5 -2
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-email-marketing.mjs +10 -4
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-rich-content-editor.mjs +82 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-workflows.mjs +5 -2
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  20. package/dist/cli.mjs +1979 -1125
  21. package/dist/preview-assets.generated.bin +0 -0
  22. package/guides/component-reference.json +30 -1
  23. package/guides/component-reference.md +45 -3
  24. package/guides/importable-sdks.md +1 -0
  25. package/guides/index.json +1 -1
  26. package/guides/sdk-reference.json +45 -8
  27. package/package.json +2 -2
Binary file
@@ -2,7 +2,7 @@
2
2
  "_comment": "GENERATED by core/web-embed/authoring/gen-reference.mjs from core/ts/src/schema.ts — do not hand-edit. The schema is the source of truth; regenerate on schema changes.",
3
3
  "schemaSource": "core/ts/src/schema.ts",
4
4
  "bindingGrammar": "$service:<service>.<path> (worker state) · $item.<field> (list row) · $flag:<key> (feature flag) · $env:<key> (client environment — #1056). Bindings resolve in the text/value props marked 'binding-aware' below — INCLUDING Modifiers token refs — but only `background` and `border.color`, which are the two whose token a binding actually fills: a worker can drive per-item theming (e.g. a game board's per-square color), not just text. `shadow` is NOT binding-aware on any renderer, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref — so `shadow: { token: \"$item.x\" }` and `backgroundGradient: { token: \"$item.x\" }` keep the sentinel and silently lose the per-item styling. Colour slots split by LEVEL, not by component: inside modifiers a colour is a TokenRef OBJECT ({ token: \"…\" }), inside props it is a bare TokenName STRING — there is no modifiers.color or modifiers.tint (see the 'Token slots' section in component-reference.md). A few input props render the LITERAL and are NOT binding-aware — notably SearchField.placeholder and Chip.label; SearchField.value is live and binding-aware like other content props. Bindings also CANNOT target strict-enum fields (style, size, alignment, severity, presentation, contentMode, …) — those fail at render, not validation. $env: is client-resolved (no worker) and valid in modifiers.hiddenPath and FragmentSlot.casePath ONLY — keys reduceMotion/colorScheme/sizeClass/isRTL, e.g. hiddenPath:\"$env:reduceMotion\" or hiddenPath:\"$env:colorScheme==light\", casePath:\"$env:colorScheme\"; unknown key fails open (shown / defaultCase).",
5
- "componentCount": 83,
5
+ "componentCount": 84,
6
6
  "notImplementedComponents": [
7
7
  "FieldError",
8
8
  "Picker",
@@ -990,6 +990,34 @@
990
990
  ],
991
991
  "propsSource": "export interface RichContentProps {\n /** `$service:<svc>.<path>` or `$item.<field>` → the UTF-8 JSON of `{ nodes, metadata?, documentStyle? }`. */\n documentJsonPath?: string;\n /** Literal document JSON (seed / offline). */\n documentJson?: string;\n /** Dispatched on a link, button or card tap with `args.url`. Absent ⇒ http(s) opens the in-app browser. */\n onLink?: Action;\n /** Rendered when the document is rejected (over budget / invalid). Absent ⇒ nothing. */\n fallback?: Component;\n}"
992
992
  },
993
+ {
994
+ "name": "RichContentEditor",
995
+ "category": "Rich content editor",
996
+ "propsType": "RichContentEditorProps",
997
+ "bindings": [
998
+ "documentPath"
999
+ ],
1000
+ "dispatches": [
1001
+ {
1002
+ "callback": "onChange",
1003
+ "key": "dirty",
1004
+ "encoding": "string",
1005
+ "note": "Always the string \"true\", debounced ≥ 500 ms after a change that moved the document. Never the document itself: that rides the Form bag under `name`, so the submit action receives it as `values[name]`.",
1006
+ "divergences": [
1007
+ {
1008
+ "arms": [
1009
+ "ios",
1010
+ "android"
1011
+ ],
1012
+ "kind": "no-payload",
1013
+ "actual": "renders `fallback` only — no editor exists yet, so nothing dispatches on_change.",
1014
+ "reason": "The editor has not reached these renderers yet, so they show the descriptor's `fallback`; the editor runs on the web and in React Native hosts that register its adapter."
1015
+ }
1016
+ ]
1017
+ }
1018
+ ],
1019
+ "propsSource": "export interface RichContentEditorProps {\n /** Form-bag key. Required inside a Form (validator). */\n name?: string;\n /** `$service:<svc>.<path>` → the document JSON string. Seeds ONCE (the first non-empty value). */\n documentPath?: string;\n /** Literal seed document JSON. At most one of documentPath / documentJson. */\n documentJson?: string;\n placeholder?: string;\n /** Empty ⇒ all, minus \"image\" unless uploadService is set. \"image\" requires uploadService. */\n tools?: RichContentEditorTool[];\n /** Debounced ≥ 500 ms; args = { dirty: \"true\" } — never the document. */\n onChange?: Action;\n /** Worker service made by `ricosUploadService` (@himalaya/wix-rich-content-editor). Enables \"image\". */\n uploadService?: string;\n /** Take the remaining height of a bounded parent; else `minHeight`. */\n fillAvailable?: boolean;\n /** Default 240. */\n minHeight?: number;\n /** Rendered when the engine page is unavailable (not bundled / missing / failed / 15 s timeout). */\n fallback?: Component;\n}"
1020
+ },
993
1021
  {
994
1022
  "name": "VoiceNote",
995
1023
  "category": "Recorded-audio bubble (messenger design G4)",
@@ -1263,6 +1291,7 @@
1263
1291
  "PickerOption": "export interface PickerOption {\n id: string;\n label: string;\n}",
1264
1292
  "GaugeRing": "export interface GaugeRing {\n /** Fraction 0..1 for this ring. */\n value?: number;\n /** `$service:`/`$item.` binding → a live number (overrides `value`). */\n valuePath?: string;\n tint?: TokenName;\n}",
1265
1293
  "WidgetTimeRef": "export interface WidgetTimeRef {\n /** Epoch seconds the style counts from/to. */\n at: number;\n /** SwiftUI `Text.DateStyle` / Android time style (default \"timer\"). */\n style?: \"timer\" | \"relative\" | \"date\" | \"time\" | \"offset\";\n}",
1294
+ "RichContentEditorTool": "export type RichContentEditorTool = \"bold\" | \"italic\" | \"underline\" | \"heading\" | \"bullet\" | \"ordered\" | \"quote\" | \"link\" | \"image\" | \"divider\" | \"undo\" | \"redo\";",
1266
1295
  "Border": "export interface Border {\n width: number;\n color: TokenRef;\n}"
1267
1296
  }
1268
1297
  }
@@ -3,7 +3,7 @@
3
3
  > GENERATED from `core/ts/src/schema.ts` by `core/web-embed/authoring/gen-reference.mjs`.
4
4
  > The schema is the source of truth — regenerate on schema changes; do not hand-edit.
5
5
 
6
- **83 core component types.** Every component body is `{ "package": "himalaya", "type": "<Type>", "props": { … } }`.
6
+ **84 core component types.** Every component body is `{ "package": "himalaya", "type": "<Type>", "props": { … } }`.
7
7
  Binding grammar: `$service:<service>.<path>` (worker state) · `$item.<field>` (list row template) · `$flag:<key>` (feature flag) · `$env:<key>` (client environment — #1056).
8
8
  Bindings resolve in the text/value props marked **binding-aware** below — **including two `Modifiers` token refs**, `background` and `border.color`, which are the only two whose token a binding actually fills: a worker can drive per-item **theming** (e.g. a game board's per-square color, `background: { token: "$item.bg" }`), not just text content. `shadow` and `backgroundGradient` are `TokenRef`s but are **not** binding-aware on any renderer — `shadow: { token: "$item.x" }` keeps the sentinel as a literal token name and silently loses the per-item styling, and a gradient is driven by its own `backgroundGradientPath` prop resolving to a gradient token NAME, not by a binding inside a token ref.
9
9
  `$env:` is **client-resolved** (no worker) and valid in `modifiers.hiddenPath` and `FragmentSlot.casePath` **only** — keys `reduceMotion` / `colorScheme` / `sizeClass` / `isRTL`, with an optional `==`/`!=` comparison (e.g. `hiddenPath: "$env:reduceMotion"`, `hiddenPath: "$env:colorScheme==light"`, `casePath: "$env:colorScheme"`). An unknown key fails open (shown / `defaultCase`).
@@ -93,6 +93,7 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
93
93
  | `Legend` | Analytics data-viz | `itemsPath` |
94
94
  | `DataTable` | Analytics data-viz | `rowsPath`, `totalsPath` |
95
95
  | `RichContent` | Rich content | `documentJsonPath` |
96
+ | `RichContentEditor` | Rich content editor | `documentPath` |
96
97
  | `VoiceNote` | Recorded-audio bubble (messenger design G4) | `waveformPath`, `durationMsPath`, `positionMsPath`, `statePath`, `deliveryPath`, `ratePath` |
97
98
  | `Marquee` | Recorded-audio bubble (messenger design G4) | — |
98
99
  | `Timeline` | Recorded-audio bubble (messenger design G4) | `entriesPath` |
@@ -115,7 +116,7 @@ See also **[Modifiers](#modifiers)** (the `modifiers` block) and **[Actions](#ac
115
116
 
116
117
  These props are accepted by the schema and pass validation, but the named platform's renderer never reads them — they silently do nothing (no warning, no log). Prefer a prop NOT listed here, or drive the behaviour from a worker.
117
118
 
118
- **Scope: 14 of 83 components, all of them ios-only** — every other component/platform pair reads every prop it decodes. The list splits in two, and the halves mean different things:
119
+ **Scope: 14 of 84 components, all of them ios-only** — every other component/platform pair reads every prop it decodes. The list splits in two, and the halves mean different things:
119
120
 
120
121
  - **`category` (4: `BottomSheet`, `Menu`, `Tooltip`, `Popover`)** — the prop changes the component's *kind*. These genuinely are **not implemented**: an overlay renders always-visible inline, so the component does not do the job its name implies. Check the row's note for a working alternative — for a dismissible sheet it is `presentation: "sheet"` on the navigating `Action`, not `BottomSheet`.
121
122
  - **`styling` (10: `FieldError`, `Picker`, `DatePicker`, `Tabs`, `Snackbar`, `Slider`, `ActivityIndicator`, `ChipsInput`, `OtpInput`, `Video`)** — the component itself **works**; only the listed prop is inert. `Slider` on iOS is a working slider whose `debounceMs` does not throttle — not a broken `Slider`. Use the component; just do not depend on that one prop.
@@ -1615,6 +1616,44 @@ export interface RichContentProps {
1615
1616
  }
1616
1617
  ```
1617
1618
 
1619
+ ### Rich content editor
1620
+
1621
+ #### RichContentEditor
1622
+
1623
+ ```ts
1624
+ export interface RichContentEditorProps {
1625
+ /** Form-bag key. Required inside a Form (validator). */
1626
+ name?: string;
1627
+ /** `$service:<svc>.<path>` → the document JSON string. Seeds ONCE (the first non-empty value). */
1628
+ documentPath?: string;
1629
+ /** Literal seed document JSON. At most one of documentPath / documentJson. */
1630
+ documentJson?: string;
1631
+ placeholder?: string;
1632
+ /** Empty ⇒ all, minus "image" unless uploadService is set. "image" requires uploadService. */
1633
+ tools?: RichContentEditorTool[];
1634
+ /** Debounced ≥ 500 ms; args = { dirty: "true" } — never the document. */
1635
+ onChange?: Action;
1636
+ /** Worker service made by `ricosUploadService` (@himalaya/wix-rich-content-editor). Enables "image". */
1637
+ uploadService?: string;
1638
+ /** Take the remaining height of a bounded parent; else `minHeight`. */
1639
+ fillAvailable?: boolean;
1640
+ /** Default 240. */
1641
+ minHeight?: number;
1642
+ /** Rendered when the engine page is unavailable (not bundled / missing / failed / 15 s timeout). */
1643
+ fallback?: Component;
1644
+ }
1645
+ ```
1646
+
1647
+ **Dispatches** — see [What a control sends](#what-a-control-sends-action-payloads):
1648
+
1649
+ | callback | key | type |
1650
+ |---|---|---|
1651
+ | `onChange` | `dirty` | string |
1652
+
1653
+ > `onChange` — Always the string "true", debounced ≥ 500 ms after a change that moved the document. Never the document itself: that rides the Form bag under `name`, so the submit action receives it as `values[name]`.
1654
+
1655
+ > ⚠️ **`onChange` on ios + android — DIVERGES:** renders `fallback` only — no editor exists yet, so nothing dispatches on_change. The editor has not reached these renderers yet, so they show the descriptor's `fallback`; the editor runs on the web and in React Native hosts that register its adapter.
1656
+
1618
1657
  ### Recorded-audio bubble (messenger design G4)
1619
1658
 
1620
1659
  #### VoiceNote
@@ -2201,7 +2240,8 @@ export interface LogicBundleRef {
2201
2240
  A few props take a typed **object** rather than nested components. Some are arrays of them:
2202
2241
  `FilterChips.chips` is a `FilterChip[]`, `SegmentedControl.options` / `Tabs.tabs` are a
2203
2242
  `TabItem[]`, `Picker.options` / `WheelPicker.options` are a `PickerOption[]`, and
2204
- `Gauge.rings` is a `GaugeRing[]` (concentric rings, drawn outer→inner).
2243
+ `Gauge.rings` is a `GaugeRing[]` (concentric rings, drawn outer→inner), and
2244
+ `RichContentEditor.tools` is a `RichContentEditorTool[]` (a fixed list of toolbar buttons).
2205
2245
  One is a single object: `Text.timeRef` is a `WidgetTimeRef`, the widget-safe live clock —
2206
2246
  note its `at` is REQUIRED and is in epoch SECONDS. The prop blocks above name these types;
2207
2247
  here are the interfaces themselves (for the arrays, each item's own fields — `id` is what an
@@ -2240,6 +2280,8 @@ export interface WidgetTimeRef {
2240
2280
  /** SwiftUI `Text.DateStyle` / Android time style (default "timer"). */
2241
2281
  style?: "timer" | "relative" | "date" | "time" | "offset";
2242
2282
  }
2283
+
2284
+ export type RichContentEditorTool = "bold" | "italic" | "underline" | "heading" | "bullet" | "ordered" | "quote" | "link" | "image" | "divider" | "undo" | "redo";
2243
2285
  ```
2244
2286
 
2245
2287
  ## Modifiers
@@ -112,6 +112,7 @@ direction the platform is heading — recommended, not required). Usage is unifo
112
112
  - `@himalaya/wix-restaurants` — Restaurants — menus and orders
113
113
  - `@himalaya/wix-reviews` — Product and site reviews
114
114
  - `@himalaya/wix-rich-content` — Ricos rich content — encode a post body for the RichContent viewer; plain-text helpers
115
+ - `@himalaya/wix-rich-content-editor` — RichContentEditor image uploads — ricosUploadService mints the signed Wix Media URL
115
116
  - `@himalaya/wix-seo` — Wix seo — typed REST client
116
117
  - `@himalaya/wix-site-list` — The user's Wix sites
117
118
  - `@himalaya/wix-site-media` — Wix site media — typed REST client
package/guides/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_comment": "AUTO-GENERATED by tools/authoring-kit/bundle.mjs — DO NOT EDIT. Regenerate with: npm run authoring:gen",
3
3
  "schemaStamp": {
4
- "componentCount": 83,
4
+ "componentCount": 84,
5
5
  "schemaSource": "core/ts/src/schema.ts"
6
6
  },
7
7
  "portalUrl": "https://apps.wix.com/_api/himi-serve/docs",
@@ -5362,7 +5362,7 @@
5362
5362
  "name": "getAutomationRevision",
5363
5363
  "kind": "function",
5364
5364
  "jsdoc": "",
5365
- "decl": "export function getAutomationRevision(\n automationId: string,\n opts?: WixCallOptions,\n): Promise<WixGetAutomationRevisionResponse>;",
5365
+ "decl": "export function getAutomationRevision(\n automationId: string,\n req?: Omit<WixGetAutomationRevisionRequest, \"automationId\">,\n opts?: WixCallOptions,\n): Promise<WixGetAutomationRevisionResponse>;",
5366
5366
  "http": "GET /automations/v1/automation-revisions/{…}"
5367
5367
  },
5368
5368
  {
@@ -5530,7 +5530,7 @@
5530
5530
  "name": "deletePreinstalledAutomation",
5531
5531
  "kind": "function",
5532
5532
  "jsdoc": "",
5533
- "decl": "export function deletePreinstalledAutomation(\n componentId: string,\n opts?: WixCallOptions,\n): Promise<WixDeletePreinstalledAutomationResponse>;",
5533
+ "decl": "export function deletePreinstalledAutomation(\n componentId: string,\n req?: Omit<WixDeletePreinstalledAutomationRequest, \"componentId\">,\n opts?: WixCallOptions,\n): Promise<WixDeletePreinstalledAutomationResponse>;",
5534
5534
  "http": "DELETE /automations/v2/preinstalled-automation/{…}"
5535
5535
  },
5536
5536
  {
@@ -5949,7 +5949,7 @@
5949
5949
  "name": "unassignBadge",
5950
5950
  "kind": "function",
5951
5951
  "jsdoc": "",
5952
- "decl": "export function unassignBadge(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixUnassignBadgeResponse>;",
5952
+ "decl": "export function unassignBadge(\n id: string,\n req?: Omit<WixUnassignBadgeRequest, \"id\">,\n opts?: WixCallOptions,\n): Promise<WixUnassignBadgeResponse>;",
5953
5953
  "http": "DELETE /badges/v4/badges/{…}/members"
5954
5954
  },
5955
5955
  {
@@ -10162,7 +10162,7 @@
10162
10162
  "name": "getCommentThread",
10163
10163
  "kind": "function",
10164
10164
  "jsdoc": "",
10165
- "decl": "export function getCommentThread(\n commentId: string,\n opts?: WixCallOptions,\n): Promise<WixGetCommentThreadResponse>;",
10165
+ "decl": "export function getCommentThread(\n commentId: string,\n req?: Omit<WixGetCommentThreadRequest, \"commentId\">,\n opts?: WixCallOptions,\n): Promise<WixGetCommentThreadResponse>;",
10166
10166
  "http": "GET /comments/v1/comments/{…}/thread"
10167
10167
  },
10168
10168
  {
@@ -12688,7 +12688,7 @@
12688
12688
  "name": "getDataCollection",
12689
12689
  "kind": "function",
12690
12690
  "jsdoc": "",
12691
- "decl": "export function getDataCollection(\n dataCollectionId: string,\n opts?: WixCallOptions,\n): Promise<WixGetDataCollectionResponse>;",
12691
+ "decl": "export function getDataCollection(\n dataCollectionId: string,\n req?: Omit<WixGetDataCollectionRequest, \"dataCollectionId\">,\n opts?: WixCallOptions,\n): Promise<WixGetDataCollectionResponse>;",
12692
12692
  "http": "GET /data/v2/collections/{…}"
12693
12693
  },
12694
12694
  {
@@ -14904,7 +14904,7 @@
14904
14904
  "name": "listRecipients",
14905
14905
  "kind": "function",
14906
14906
  "jsdoc": "",
14907
- "decl": "export function listRecipients(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixListRecipientsResponse>;",
14907
+ "decl": "export function listRecipients(\n campaignId: string,\n req?: Omit<WixListRecipientsRequest, \"campaignId\">,\n opts?: WixCallOptions,\n): Promise<WixListRecipientsResponse>;",
14908
14908
  "http": "GET /email-marketing/v1/campaigns/{…}/statistics/recipients"
14909
14909
  },
14910
14910
  {
@@ -14983,7 +14983,7 @@
14983
14983
  "name": "getCampaign",
14984
14984
  "kind": "function",
14985
14985
  "jsdoc": "/**\n * Retrieves information about an email campaign.\n *\n * Wix permissions: shoutout.manage.\n *\n * @scope owner — requires an owner / business identity — a visitor session gets 403.\n *\n * GET /email-marketing/v1/campaigns/{campaignId}\n */",
14986
- "decl": "export function getCampaign(\n campaignId: string,\n opts?: WixCallOptions,\n): Promise<WixGetCampaignResponse>;",
14986
+ "decl": "export function getCampaign(\n campaignId: string,\n req?: Omit<WixGetCampaignRequest, \"campaignId\">,\n opts?: WixCallOptions,\n): Promise<WixGetCampaignResponse>;",
14987
14987
  "http": "GET /email-marketing/v1/campaigns/{…}",
14988
14988
  "scope": "owner"
14989
14989
  },
@@ -21318,6 +21318,43 @@
21318
21318
  }
21319
21319
  ]
21320
21320
  },
21321
+ {
21322
+ "name": "@himalaya/wix-rich-content-editor",
21323
+ "source": "stdlib/wix-sdk/rich-content-editor/src/index.ts",
21324
+ "description": "RichContentEditor image uploads — ricosUploadService mints the signed Wix Media URL",
21325
+ "api": [
21326
+ {
21327
+ "name": "DEFAULT_MAX_UPLOAD_BYTES",
21328
+ "kind": "const",
21329
+ "jsdoc": "",
21330
+ "decl": "export const DEFAULT_MAX_UPLOAD_BYTES = 25 * 1024 * 1024;"
21331
+ },
21332
+ {
21333
+ "name": "RicosUploadError",
21334
+ "kind": "type",
21335
+ "jsdoc": "",
21336
+ "decl": "export type RicosUploadError = \"bad_request\" | \"unsupported_type\" | \"too_large\" | \"upload_url_failed\";"
21337
+ },
21338
+ {
21339
+ "name": "RicosUploadEntry",
21340
+ "kind": "type",
21341
+ "jsdoc": "",
21342
+ "decl": "export type RicosUploadEntry = { status: \"ready\"; uploadUrl: string } | { status: \"error\"; error: RicosUploadError };"
21343
+ },
21344
+ {
21345
+ "name": "RicosUploadState",
21346
+ "kind": "interface",
21347
+ "jsdoc": "",
21348
+ "decl": "export interface RicosUploadState { uploads: Record<string, RicosUploadEntry>; maxBytes: number }"
21349
+ },
21350
+ {
21351
+ "name": "ricosUploadService",
21352
+ "kind": "function",
21353
+ "jsdoc": "/** A worker service named `name` with two actions the RichContentEditor arm dispatches:\n * `genUpload({requestId, mimeType, fileName, sizeBytes?})` → `state.uploads[requestId]`, and\n * `clearUpload({requestId})`. Errors are reason codes, never server messages. */",
21354
+ "decl": "export function ricosUploadService(name: string, opts: { maxBytes?: number } = {});"
21355
+ }
21356
+ ]
21357
+ },
21321
21358
  {
21322
21359
  "name": "@himalaya/wix-seo",
21323
21360
  "source": "stdlib/wix-sdk/seo-v1/src/index.ts",
@@ -22591,7 +22628,7 @@
22591
22628
  "name": "getWorkflow",
22592
22629
  "kind": "function",
22593
22630
  "jsdoc": "",
22594
- "decl": "export function getWorkflow(\n id: string,\n opts?: WixCallOptions,\n): Promise<WixGetWorkflowResponse>;",
22631
+ "decl": "export function getWorkflow(\n id: string,\n req?: Omit<WixGetWorkflowRequest, \"id\">,\n opts?: WixCallOptions,\n): Promise<WixGetWorkflowResponse>;",
22595
22632
  "http": "GET /workflows/v1/workflows/{…}"
22596
22633
  },
22597
22634
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1101.0",
3
+ "version": "0.1102.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": [
@@ -67,5 +67,5 @@
67
67
  "artifactId": "himalaya-cli"
68
68
  }
69
69
  },
70
- "falconPackageHash": "2618ea0b06031d403b767c776f5a991ef20f8a4b7878493bbd8bee92"
70
+ "falconPackageHash": "49e51090f4e4f0dc82b4398a9f06fb4f52e4055be047ff22734a8d41"
71
71
  }