@wix/himalaya-cli 0.1516.0 → 0.1518.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 (42) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -0
  3. package/dist/cli.mjs +78 -47
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/recipe-dynamic-list.md +19 -11
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +0 -1
  9. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +0 -1
  10. package/templates/branded-lite/config.ts +6 -13
  11. package/templates/branded-lite/dev/index.ts +5 -100
  12. package/templates/branded-lite/himalaya.content.json +1 -4
  13. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  14. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +0 -1
  15. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  16. package/templates/community-club/tier5-src/_shared/collection-contract.ts +0 -1
  17. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +0 -1
  18. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  19. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +0 -1
  20. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +0 -1
  21. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  22. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +0 -1
  23. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +0 -1
  24. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  25. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +0 -1
  26. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +0 -1
  27. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +0 -1
  28. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  29. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +0 -1
  30. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +0 -1
  31. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  32. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +0 -1
  33. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +0 -1
  34. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  35. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +0 -1
  36. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +0 -1
  37. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  38. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +0 -1
  39. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +0 -1
  40. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -2
  41. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +0 -1
  42. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +0 -1
Binary file
@@ -23,12 +23,13 @@ screen's outer scroll also stays eager, and a fixed-height panel inside that scr
23
23
  change that on Android. A worker-bound horizontal list is also eager on Android: it renders
24
24
  every row in a plain `Row`, so keep rails short.
25
25
 
26
- **`Grid` is not a `LazyList` with one column.** It shares `itemsPath` and the row
27
- template, and nothing else: the gesture props in §5 (`onPullToRefresh`, `pagination`)
28
- and `stickyHeader`/`rowSwipeActions` are declared on `LazyListProps` only. A key `Grid`
29
- does not declare is **silently dropped** by the native decoders (`ignoreUnknownKeys =
30
- true`) — `himi validate` catches it and names the declared set, but nothing catches it
31
- at runtime. If you need pull-to-refresh or load-more, use `LazyList`.
26
+ **`Grid` is not a `LazyList` with one column.** It shares `itemsPath`, the row
27
+ template and the two gesture props in §5 (`onPullToRefresh`, `pagination`, with the
28
+ same semantics since #4672), and nothing else: `stickyHeader`/`rowSwipeActions` are
29
+ declared on `LazyListProps` only. A key `Grid` does not declare is **silently dropped**
30
+ by the native decoders (`ignoreUnknownKeys = true`) — `himi validate` catches it and
31
+ names the declared set, but nothing catches it at runtime. If you need a pinned header
32
+ or swipe actions, use `LazyList`.
32
33
 
33
34
  ## The shape (canonical off-repo)
34
35
 
@@ -190,10 +191,14 @@ modifiers — see `apps/himi-owner-lite`.) Design guidance for these states:
190
191
 
191
192
  ## 5. Refresh + load-more gestures (RFC 0008)
192
193
 
193
- `LazyList` takes two optional gesture props — both are plain action wiring, no new
194
- worker concepts. **`LazyList` only**: `GridProps` declares `items`, `columns`,
195
- `columnsMedium`, `columnsExpanded`, `spacing`, `itemsPath` and `staggerMs`, and the
196
- native decoders drop anything else without a word:
194
+ `LazyList` and `Grid` take the same two optional gesture props — both are plain action
195
+ wiring, no new worker concepts, with the same contract on both containers. (One known gap:
196
+ the iOS and Android `LazyList` still de-duplicate load-more by older per-renderer rules —
197
+ #4891 moves them onto the rule below, which `Grid` and web already follow.) The rest of
198
+ the list enrichments are **`LazyList` only**: `GridProps` declares `items`, `columns`,
199
+ `columnsMedium`, `columnsExpanded`, `spacing`, `itemsPath`, `staggerMs`,
200
+ `onPullToRefresh` and `pagination`, and the native decoders drop anything else without a
201
+ word:
197
202
 
198
203
  ```jsonc
199
204
  "props": {
@@ -211,7 +216,10 @@ native decoders drop anything else without a word:
211
216
  - **Pull-to-refresh** just re-dispatches your existing reload action; the spinner
212
217
  dismisses when the action's state lands.
213
218
  - **Load-more is cursor-gated on every renderer**: the trailing spinner/sentinel
214
- exists only while the bound `cursor` string is **non-empty**. An exhausted list
219
+ exists only while the bound `cursor` string is **non-empty**, and `onLoadMore` fires
220
+ once per cursor the worker publishes, as it comes into view — reaching the end again
221
+ never repeats a page, and a cursor a refresh brings back pages again. On a `Grid` it
222
+ follows the last card and spans every column. An exhausted list
215
223
  (or a non-paging API) carries no footer and fires no no-op dispatches — publish
216
224
  `nextCursor: ""` and you're done.
217
225
  - The worker's `loadMore` idiom (see `himi-owner-lite-products`): fetch with the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1516.0",
3
+ "version": "0.1518.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": "0602ed245984d711a872272b5985afd46f930628995a4a4d5bf6aa87"
74
+ "falconPackageHash": "6d3356378dc26bca1c7ee0fbf3b01e7675aeccdc2b30f7bcfbdcddf8"
75
75
  }
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -324,21 +324,21 @@ export default defineApp({
324
324
  "paramKeys": [
325
325
  "id"
326
326
  ],
327
- "parentScreenId": "himi_inbox",
327
+ "parentScreenId": "himi_business_chat",
328
328
  "tabId": ""
329
329
  },
330
330
  {
331
331
  "screenId": "himi_new_message",
332
332
  "isPublic": false,
333
333
  "paramKeys": [],
334
- "parentScreenId": "himi_inbox",
335
- "tabId": ""
334
+ "parentScreenId": "himi_account",
335
+ "tabId": "profile"
336
336
  },
337
337
  {
338
338
  "screenId": "himi_business_chat",
339
- "isPublic": false,
339
+ "isPublic": true,
340
340
  "paramKeys": [],
341
- "parentScreenId": "himi_inbox",
341
+ "parentScreenId": "",
342
342
  "tabId": ""
343
343
  },
344
344
  {
@@ -685,13 +685,6 @@ export default defineApp({
685
685
  "parentScreenId": "himi_gallery",
686
686
  "tabId": ""
687
687
  },
688
- {
689
- "screenId": "himi_inbox",
690
- "isPublic": true,
691
- "paramKeys": [],
692
- "parentScreenId": "",
693
- "tabId": ""
694
- },
695
688
  {
696
689
  "screenId": "himi_faq",
697
690
  "isPublic": true,
@@ -985,7 +978,7 @@ export default defineApp({
985
978
  },
986
979
  {
987
980
  "id": "drawer_inbox",
988
- "screenId": "himi_inbox",
981
+ "screenId": "himi_business_chat",
989
982
  "label": "Inbox",
990
983
  "icon": "chat"
991
984
  },
@@ -4784,7 +4784,7 @@ const SCREENS = runtimeSetting({
4784
4784
  "package": "himalaya",
4785
4785
  "type": "Text",
4786
4786
  "props": {
4787
- "text": "My inbox",
4787
+ "text": "Chat with us",
4788
4788
  "style": "body",
4789
4789
  "maxLines": 1
4790
4790
  }
@@ -4810,13 +4810,13 @@ const SCREENS = runtimeSetting({
4810
4810
  "onTap": {
4811
4811
  "actionId": "himi.open",
4812
4812
  "params": {
4813
- "screenId": "himi_inbox"
4813
+ "screenId": "himi_business_chat"
4814
4814
  }
4815
4815
  },
4816
4816
  "pressFeedback": "highlight",
4817
4817
  "haptic": "light",
4818
4818
  "accessibilityRole": "button",
4819
- "accessibilityLabel": "My inbox"
4819
+ "accessibilityLabel": "Chat with us"
4820
4820
  }
4821
4821
  }
4822
4822
  ]
@@ -37438,7 +37438,7 @@ const SCREENS = runtimeSetting({
37438
37438
  "action": {
37439
37439
  "actionId": "himi.open",
37440
37440
  "params": {
37441
- "screenId": "himi_inbox"
37441
+ "screenId": "himi_business_chat"
37442
37442
  }
37443
37443
  }
37444
37444
  }
@@ -86589,101 +86589,6 @@ const SCREENS = runtimeSetting({
86589
86589
  "bundleVersion": "0.0.1"
86590
86590
  }
86591
86591
  },
86592
- "himi_inbox": {
86593
- "screenId": "himi_inbox",
86594
- "renderer": "sdui_intent",
86595
- "title": "",
86596
- "schemaVersion": 1,
86597
- "cacheControl": {
86598
- "maxAge": 0,
86599
- "staleWhileRevalidate": 0
86600
- },
86601
- "payload": {
86602
- "id": "himi_inbox.root",
86603
- "body": {
86604
- "package": "himalaya",
86605
- "type": "VStack",
86606
- "props": {
86607
- "spacing": 16,
86608
- "alignment": "leading",
86609
- "children": [
86610
- {
86611
- "id": "himi_inbox.title",
86612
- "body": {
86613
- "package": "himalaya",
86614
- "type": "Text",
86615
- "props": {
86616
- "text": "Inbox",
86617
- "style": "title1"
86618
- }
86619
- }
86620
- },
86621
- {
86622
- "id": "",
86623
- "body": {
86624
- "package": "himalaya",
86625
- "type": "Text",
86626
- "props": {
86627
- "text": "Your messages with us.",
86628
- "style": "body",
86629
- "color": "textSecondary"
86630
- }
86631
- }
86632
- },
86633
- {
86634
- "id": "himi_inbox.new_message",
86635
- "body": {
86636
- "package": "himalaya",
86637
- "type": "Button",
86638
- "props": {
86639
- "title": "New Message",
86640
- "style": "secondary",
86641
- "fullWidth": true,
86642
- "leadingIcon": "plus",
86643
- "action": {
86644
- "actionId": "himi.open",
86645
- "params": {
86646
- "screenId": "himi_new_message"
86647
- }
86648
- }
86649
- }
86650
- }
86651
- },
86652
- {
86653
- "id": "himi_inbox.chat_with_us",
86654
- "body": {
86655
- "package": "himalaya",
86656
- "type": "Button",
86657
- "props": {
86658
- "title": "Chat with us",
86659
- "style": "secondary",
86660
- "fullWidth": true,
86661
- "leadingIcon": "chat",
86662
- "action": {
86663
- "actionId": "himi.open",
86664
- "params": {
86665
- "screenId": "himi_business_chat"
86666
- }
86667
- }
86668
- }
86669
- }
86670
- }
86671
- ]
86672
- }
86673
- },
86674
- "modifiers": {
86675
- "background": {
86676
- "token": "surfacePrimary"
86677
- },
86678
- "padding": {
86679
- "leading": 16,
86680
- "trailing": 16,
86681
- "top": 18,
86682
- "bottom": 28
86683
- }
86684
- }
86685
- }
86686
- },
86687
86592
  "himi_business_chat": {
86688
86593
  "screenId": "himi_business_chat",
86689
86594
  "renderer": "sdui_intent",
@@ -93944,7 +93849,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
93944
93849
  "action": {
93945
93850
  "actionId": "himi.open",
93946
93851
  "params": {
93947
- "screenId": "himi_inbox"
93852
+ "screenId": "himi_business_chat"
93948
93853
  }
93949
93854
  },
93950
93855
  "actionLabel": "Contact Us"
@@ -44,7 +44,7 @@
44
44
  "displayName": "Home"
45
45
  },
46
46
  "himi_business_chat": {
47
- "displayName": "Business Chat"
47
+ "displayName": "Inbox"
48
48
  },
49
49
  "himi_cart": {
50
50
  "displayName": "Cart"
@@ -133,9 +133,6 @@
133
133
  "himi_groups": {
134
134
  "displayName": "Groups"
135
135
  },
136
- "himi_inbox": {
137
- "displayName": "Inbox"
138
- },
139
136
  "himi_invoice": {
140
137
  "displayName": "Invoice"
141
138
  },
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {
@@ -56,7 +56,7 @@ export const VERTICAL_ROOT_SCREENS: Readonly<Record<string, readonly string[]>>
56
56
  notifsettings: ["himi_notif_settings"], events: ["himi_events"], blog: ["himi_blog"],
57
57
  groups: ["himi_groups"], cms: ["himi_cms"], donations: ["himi_donations"], giftCards: ["himi_gift_cards"],
58
58
  videos: ["himi_videos"], podcasts: ["himi_podcasts"], forms: ["himi_forms"], galleries: ["himi_galleries"],
59
- inbox: ["himi_inbox"], faq: ["himi_faq"],
59
+ inbox: ["himi_business_chat"], faq: ["himi_faq"],
60
60
  };
61
61
 
62
62
  /** Every screen a vertical owns, so a route to ANY of them (a child or action screen as much as the
@@ -97,7 +97,6 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
97
97
  himi_gift_card: ["giftCards"],
98
98
  himi_gift_cards: ["giftCards"],
99
99
  himi_groups: ["groups"],
100
- himi_inbox: ["inbox"],
101
100
  himi_invoice: ["invoices"],
102
101
  himi_invoices: ["invoices"],
103
102
  himi_loyalty: ["loyalty"],
@@ -102,7 +102,6 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
102
102
  himiBrandedPodcasts: { rows: 'episodes', title: 'title', subtitle: 'subtitle', image: 'image', metadata: ['progressLabel'], view: 'list' },
103
103
  himiBrandedForms: { rows: 'forms', title: 'name', subtitle: 'description', view: 'list' },
104
104
  himiBrandedGalleries: { rows: 'galleries', title: 'name', subtitle: 'description', image: 'image', view: 'grid' },
105
- himiBrandedInbox: { rows: 'conversations', title: 'title', subtitle: 'preview', view: 'list' },
106
105
  himiBrandedMenus: { rows: 'rows', title: 'name', subtitle: 'description', image: 'image', sectioned: true, filter: 'collectionCategory', metadata: ['collectionCategory', 'priceLine', 'label1', 'label2', 'label3'], view: 'grid', searchPlaceholder: 'Search the menu', countNoun: ['dish', 'dishes'] },
107
106
  };
108
107
  export interface CollectionPreferences {