@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
@@ -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 {