@wix/himalaya-cli 0.1035.0 → 0.1037.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 (276) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +7 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/display.d.ts +13 -1
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/portfolio/src/index.d.ts +46 -9
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +28 -6
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-portfolio.mjs +14 -2
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores-collections.mjs +1 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-stores.mjs +7 -1
  8. package/dist/cli.mjs +482 -113
  9. package/dist/preview-assets.generated.bin +0 -0
  10. package/fixtures/wix-canned.json +51 -2
  11. package/guides/sdk-reference.json +32 -14
  12. package/guides/wix-business-context.md +13 -1
  13. package/guides/wix-site-to-himi-app.md +10 -1
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/dev/index.ts +72 -175
  16. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +16 -9
  17. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +19 -5
  18. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +51 -0
  19. package/templates/beauty-salon/tier5-src/_shared/himi-restaurants.ts +4 -4
  20. package/templates/beauty-salon/tier5-src/_shared/owner-load-error.ts +49 -0
  21. package/templates/beauty-salon/tier5-src/_shared/wix-service-price.ts +1 -1
  22. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +14 -8
  23. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +12 -1
  24. package/templates/beauty-salon/tier5-src/himi-branded-lite-info/index.ts +5 -2
  25. package/templates/beauty-salon/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  26. package/templates/beauty-salon/tier5-src/wix-spaces-collections/index.ts +1 -1
  27. package/templates/beauty-salon/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  28. package/templates/beauty-salon-owner/dev/index.ts +84 -599
  29. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +22 -6
  30. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +16 -9
  31. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +19 -5
  32. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +51 -0
  33. package/templates/beauty-salon-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  34. package/templates/beauty-salon-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  35. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  36. package/templates/branded-lite/dev/index.ts +178 -264
  37. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +16 -9
  38. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +19 -5
  39. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +51 -0
  40. package/templates/branded-lite/tier5-src/_shared/himi-restaurants.ts +4 -4
  41. package/templates/branded-lite/tier5-src/_shared/owner-load-error.ts +49 -0
  42. package/templates/branded-lite/tier5-src/_shared/wix-service-price.ts +1 -1
  43. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +14 -8
  44. package/templates/branded-lite/tier5-src/himi-branded-lite-cms/index.ts +5 -5
  45. package/templates/branded-lite/tier5-src/himi-branded-lite-coupons/index.ts +33 -7
  46. package/templates/branded-lite/tier5-src/himi-branded-lite-donations/index.ts +3 -3
  47. package/templates/branded-lite/tier5-src/himi-branded-lite-forms/index.ts +11 -10
  48. package/templates/branded-lite/tier5-src/himi-branded-lite-giftcards/index.ts +3 -3
  49. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +12 -1
  50. package/templates/branded-lite/tier5-src/himi-branded-lite-info/index.ts +5 -2
  51. package/templates/branded-lite/tier5-src/himi-branded-lite-invoices/index.ts +3 -3
  52. package/templates/branded-lite/tier5-src/himi-branded-lite-loyalty/index.ts +1 -1
  53. package/templates/branded-lite/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  54. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +2 -2
  55. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -3
  56. package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +1 -1
  57. package/templates/branded-lite/tier5-src/himi-branded-lite-reserve/index.ts +5 -3
  58. package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +1 -1
  59. package/templates/branded-lite/tier5-src/himi-events-list/index.ts +20 -4
  60. package/templates/branded-lite/tier5-src/himi-events-my-events/index.ts +2 -2
  61. package/templates/branded-lite/tier5-src/wix-spaces-collections/index.ts +1 -1
  62. package/templates/branded-lite/tier5-src/wix-spaces-forum/index.ts +7 -1
  63. package/templates/branded-lite/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  64. package/templates/community-club/dev/index.ts +62 -81
  65. package/templates/community-club/tier5-src/_shared/collection-contract.ts +16 -9
  66. package/templates/community-club/tier5-src/_shared/collection-service.ts +19 -5
  67. package/templates/community-club/tier5-src/_shared/engine-intl.ts +51 -0
  68. package/templates/community-club/tier5-src/_shared/himi-restaurants.ts +4 -4
  69. package/templates/community-club/tier5-src/_shared/owner-load-error.ts +49 -0
  70. package/templates/community-club/tier5-src/_shared/wix-service-price.ts +1 -1
  71. package/templates/community-club/tier5-src/himi-branded-lite-cms/index.ts +5 -5
  72. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +12 -1
  73. package/templates/community-club/tier5-src/himi-branded-lite-info/index.ts +5 -2
  74. package/templates/community-club/tier5-src/himi-events-detail/index.ts +1 -1
  75. package/templates/community-club/tier5-src/himi-events-list/index.ts +20 -4
  76. package/templates/community-club/tier5-src/himi-events-my-events/index.ts +2 -2
  77. package/templates/community-club/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  78. package/templates/community-club-owner/dev/index.ts +84 -599
  79. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +22 -6
  80. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +16 -9
  81. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +19 -5
  82. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +51 -0
  83. package/templates/community-club-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  84. package/templates/community-club-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  85. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  86. package/templates/events-meetups/dev/index.ts +60 -79
  87. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +16 -9
  88. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +19 -5
  89. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +51 -0
  90. package/templates/events-meetups/tier5-src/_shared/himi-restaurants.ts +4 -4
  91. package/templates/events-meetups/tier5-src/_shared/owner-load-error.ts +49 -0
  92. package/templates/events-meetups/tier5-src/_shared/wix-service-price.ts +1 -1
  93. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +12 -1
  94. package/templates/events-meetups/tier5-src/himi-branded-lite-info/index.ts +5 -2
  95. package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +1 -1
  96. package/templates/events-meetups/tier5-src/himi-events-list/index.ts +20 -4
  97. package/templates/events-meetups/tier5-src/himi-events-my-events/index.ts +2 -2
  98. package/templates/events-meetups/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  99. package/templates/events-meetups-owner/dev/index.ts +84 -543
  100. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +22 -6
  101. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +16 -9
  102. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +19 -5
  103. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +51 -0
  104. package/templates/events-meetups-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  105. package/templates/events-meetups-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  106. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  107. package/templates/gym-fitness/dev/index.ts +73 -204
  108. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +16 -9
  109. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +19 -5
  110. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +51 -0
  111. package/templates/gym-fitness/tier5-src/_shared/himi-restaurants.ts +4 -4
  112. package/templates/gym-fitness/tier5-src/_shared/owner-load-error.ts +49 -0
  113. package/templates/gym-fitness/tier5-src/_shared/wix-service-price.ts +1 -1
  114. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +14 -8
  115. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +12 -1
  116. package/templates/gym-fitness/tier5-src/himi-branded-lite-info/index.ts +5 -2
  117. package/templates/gym-fitness/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  118. package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +1 -1
  119. package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +20 -4
  120. package/templates/gym-fitness/tier5-src/himi-events-my-events/index.ts +2 -2
  121. package/templates/gym-fitness/tier5-src/wix-spaces-collections/index.ts +1 -1
  122. package/templates/gym-fitness/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  123. package/templates/gym-fitness-owner/dev/index.ts +84 -627
  124. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +22 -6
  125. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +16 -9
  126. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +19 -5
  127. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +51 -0
  128. package/templates/gym-fitness-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  129. package/templates/gym-fitness-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  130. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  131. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  132. package/templates/himi-chat/tier5-src/_shared/owner-load-error.ts +49 -0
  133. package/templates/nonprofit-cause/dev/index.ts +71 -90
  134. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +16 -9
  135. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +19 -5
  136. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +51 -0
  137. package/templates/nonprofit-cause/tier5-src/_shared/himi-restaurants.ts +4 -4
  138. package/templates/nonprofit-cause/tier5-src/_shared/owner-load-error.ts +49 -0
  139. package/templates/nonprofit-cause/tier5-src/_shared/wix-service-price.ts +1 -1
  140. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +12 -1
  141. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-info/index.ts +5 -2
  142. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  143. package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +1 -1
  144. package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +20 -4
  145. package/templates/nonprofit-cause/tier5-src/himi-events-my-events/index.ts +2 -2
  146. package/templates/nonprofit-cause/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  147. package/templates/nonprofit-cause-owner/dev/index.ts +84 -571
  148. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +22 -6
  149. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +16 -9
  150. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +19 -5
  151. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +51 -0
  152. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  153. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  154. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  155. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  156. package/templates/owner-lite/dev/index.ts +84 -627
  157. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +22 -6
  158. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +16 -9
  159. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +19 -5
  160. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +51 -0
  161. package/templates/owner-lite/tier5-src/_shared/owner-load-error.ts +49 -0
  162. package/templates/owner-lite/tier5-src/_shared/owner-module-data.ts +2 -2
  163. package/templates/owner-lite/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  164. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +1 -0
  165. package/templates/podcast-creator/dev/index.ts +71 -90
  166. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +16 -9
  167. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +19 -5
  168. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +51 -0
  169. package/templates/podcast-creator/tier5-src/_shared/himi-restaurants.ts +4 -4
  170. package/templates/podcast-creator/tier5-src/_shared/owner-load-error.ts +49 -0
  171. package/templates/podcast-creator/tier5-src/_shared/wix-service-price.ts +1 -1
  172. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +12 -1
  173. package/templates/podcast-creator/tier5-src/himi-branded-lite-info/index.ts +5 -2
  174. package/templates/podcast-creator/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  175. package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +1 -1
  176. package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +20 -4
  177. package/templates/podcast-creator/tier5-src/himi-events-my-events/index.ts +2 -2
  178. package/templates/podcast-creator/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  179. package/templates/podcast-creator-owner/dev/index.ts +84 -599
  180. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +22 -6
  181. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +16 -9
  182. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +19 -5
  183. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +51 -0
  184. package/templates/podcast-creator-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  185. package/templates/podcast-creator-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  186. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  187. package/templates/portfolio-creative/dev/index.ts +62 -137
  188. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +16 -9
  189. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +19 -5
  190. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +51 -0
  191. package/templates/portfolio-creative/tier5-src/_shared/himi-restaurants.ts +4 -4
  192. package/templates/portfolio-creative/tier5-src/_shared/owner-load-error.ts +49 -0
  193. package/templates/portfolio-creative/tier5-src/_shared/wix-service-price.ts +1 -1
  194. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +12 -1
  195. package/templates/portfolio-creative/tier5-src/himi-branded-lite-info/index.ts +5 -2
  196. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +2 -2
  197. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +3 -3
  198. package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +1 -1
  199. package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +20 -4
  200. package/templates/portfolio-creative/tier5-src/himi-events-my-events/index.ts +2 -2
  201. package/templates/portfolio-creative/tier5-src/wix-spaces-collections/index.ts +1 -1
  202. package/templates/portfolio-creative/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  203. package/templates/portfolio-creative-owner/dev/index.ts +84 -599
  204. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +22 -6
  205. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +16 -9
  206. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +19 -5
  207. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +51 -0
  208. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  209. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  210. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  211. package/templates/restaurant/dev/index.ts +124 -101
  212. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +16 -9
  213. package/templates/restaurant/tier5-src/_shared/collection-service.ts +19 -5
  214. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +51 -0
  215. package/templates/restaurant/tier5-src/_shared/himi-restaurants.ts +4 -4
  216. package/templates/restaurant/tier5-src/_shared/owner-load-error.ts +49 -0
  217. package/templates/restaurant/tier5-src/_shared/wix-service-price.ts +1 -1
  218. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +12 -1
  219. package/templates/restaurant/tier5-src/himi-branded-lite-info/index.ts +5 -2
  220. package/templates/restaurant/tier5-src/himi-branded-lite-reserve/index.ts +5 -3
  221. package/templates/restaurant/tier5-src/himi-events-detail/index.ts +1 -1
  222. package/templates/restaurant/tier5-src/himi-events-list/index.ts +20 -4
  223. package/templates/restaurant/tier5-src/himi-events-my-events/index.ts +2 -2
  224. package/templates/restaurant/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  225. package/templates/restaurant-owner/dev/index.ts +84 -627
  226. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +22 -6
  227. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +16 -9
  228. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +19 -5
  229. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +51 -0
  230. package/templates/restaurant-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  231. package/templates/restaurant-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  232. package/templates/restaurant-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  233. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  234. package/templates/retail-store/dev/index.ts +59 -106
  235. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +16 -9
  236. package/templates/retail-store/tier5-src/_shared/collection-service.ts +19 -5
  237. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +51 -0
  238. package/templates/retail-store/tier5-src/_shared/himi-restaurants.ts +4 -4
  239. package/templates/retail-store/tier5-src/_shared/owner-load-error.ts +49 -0
  240. package/templates/retail-store/tier5-src/_shared/wix-service-price.ts +1 -1
  241. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +12 -1
  242. package/templates/retail-store/tier5-src/himi-branded-lite-info/index.ts +5 -2
  243. package/templates/retail-store/tier5-src/wix-spaces-collections/index.ts +1 -1
  244. package/templates/retail-store/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  245. package/templates/retail-store-owner/dev/index.ts +84 -571
  246. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +22 -6
  247. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +16 -9
  248. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +19 -5
  249. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +51 -0
  250. package/templates/retail-store-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  251. package/templates/retail-store-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  252. package/templates/yoga-studio/dev/index.ts +73 -148
  253. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +16 -9
  254. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +19 -5
  255. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +51 -0
  256. package/templates/yoga-studio/tier5-src/_shared/himi-restaurants.ts +4 -4
  257. package/templates/yoga-studio/tier5-src/_shared/owner-load-error.ts +49 -0
  258. package/templates/yoga-studio/tier5-src/_shared/wix-service-price.ts +1 -1
  259. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +14 -8
  260. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +12 -1
  261. package/templates/yoga-studio/tier5-src/himi-branded-lite-info/index.ts +5 -2
  262. package/templates/yoga-studio/tier5-src/himi-branded-lite-plans/index.ts +1 -1
  263. package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +1 -1
  264. package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +1 -1
  265. package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +20 -4
  266. package/templates/yoga-studio/tier5-src/himi-events-my-events/index.ts +2 -2
  267. package/templates/yoga-studio/tier5-src/wix-spaces-whats-new/index.ts +4 -4
  268. package/templates/yoga-studio-owner/dev/index.ts +84 -571
  269. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +22 -6
  270. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +16 -9
  271. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +19 -5
  272. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +51 -0
  273. package/templates/yoga-studio-owner/tier5-src/_shared/owner-load-error.ts +49 -0
  274. package/templates/yoga-studio-owner/tier5-src/_shared/owner-module-data.ts +2 -2
  275. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-appointments/index.ts +4 -1
  276. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
Binary file
@@ -1057,20 +1057,69 @@
1057
1057
  "title": "Roastery Rebuild",
1058
1058
  "description": "A 12-week fit-out, start to finish.",
1059
1059
  "slug": "roastery-rebuild",
1060
- "coverImage": "https://static.wixstatic.com/media/example-rebuild.jpg"
1060
+ "coverImage": {
1061
+ "type": "WIX_MEDIA",
1062
+ "imageInfo": {
1063
+ "id": "example-rebuild.jpg",
1064
+ "url": "https://static.wixstatic.com/media/example-rebuild.jpg",
1065
+ "width": 2752,
1066
+ "height": 1536
1067
+ },
1068
+ "secure": false
1069
+ }
1061
1070
  },
1062
1071
  {
1063
1072
  "id": "proj-0002",
1064
1073
  "title": "Harvest Field Notes",
1065
1074
  "description": "Photography from the 2026 trip.",
1066
1075
  "slug": "harvest-field-notes",
1067
- "coverImage": "https://static.wixstatic.com/media/example-fieldnotes.jpg"
1076
+ "coverImage": {
1077
+ "type": "WIX_MEDIA",
1078
+ "imageInfo": {
1079
+ "id": "example-fieldnotes.jpg",
1080
+ "url": "https://static.wixstatic.com/media/example-fieldnotes.jpg",
1081
+ "width": 1024,
1082
+ "height": 1024
1083
+ },
1084
+ "secure": false
1085
+ }
1068
1086
  }
1069
1087
  ],
1070
1088
  "pagingMetadata": {
1071
1089
  "count": 2
1072
1090
  }
1073
1091
  },
1092
+ "POST /portfolio/v1/items/query": {
1093
+ "items": [
1094
+ {
1095
+ "id": "item-0001",
1096
+ "projectId": "proj-0001",
1097
+ "sortOrder": 1,
1098
+ "type": "IMAGE",
1099
+ "title": "The finished bar",
1100
+ "image": {
1101
+ "type": "WIX_MEDIA",
1102
+ "imageInfo": {
1103
+ "id": "example-rebuild-bar.jpg",
1104
+ "url": "https://static.wixstatic.com/media/example-rebuild-bar.jpg",
1105
+ "width": 1600,
1106
+ "height": 1067
1107
+ }
1108
+ }
1109
+ },
1110
+ {
1111
+ "id": "item-0002",
1112
+ "projectId": "proj-0001",
1113
+ "sortOrder": 2,
1114
+ "type": "TEXT",
1115
+ "title": "Twelve weeks",
1116
+ "description": "Stripped to the brick, rebuilt around the roaster."
1117
+ }
1118
+ ],
1119
+ "metadata": {
1120
+ "count": 2
1121
+ }
1122
+ },
1074
1123
  "POST /badges/v4/badges/query": {
1075
1124
  "badges": [
1076
1125
  {
@@ -14603,7 +14603,7 @@
14603
14603
  "name": "EventRow",
14604
14604
  "kind": "interface",
14605
14605
  "jsdoc": "",
14606
- "decl": "export interface EventRow {\n id: string;\n title: string;\n day: string;\n month: string;\n dateLine: string;\n location: string;\n status: string;\n image: string;\n hasImage: boolean;\n noImage: boolean;\n detailScreenId: string;\n}"
14606
+ "decl": "export interface EventRow {\n id: string;\n title: string;\n day: string;\n month: string;\n dateLine: string;\n /** \"Past\" once the event has finished, else \"\". */\n statusLabel: string;\n location: string;\n status: string;\n image: string;\n hasImage: boolean;\n noImage: boolean;\n detailScreenId: string;\n}"
14607
14607
  },
14608
14608
  {
14609
14609
  "name": "titleCase",
@@ -14662,15 +14662,27 @@
14662
14662
  {
14663
14663
  "name": "eventWhen",
14664
14664
  "kind": "function",
14665
- "jsdoc": "",
14666
- "decl": "export function eventWhen(e: WixEvent): string;"
14665
+ "jsdoc": "/** The event's date line. The year is written only when it is not the current year, so a\n * past-year event can no longer pass for an upcoming one (\"Sat, Jul 18\"). `now` is injectable\n * for tests; it defaults to the wall clock. */",
14666
+ "decl": "export function eventWhen(e: WixEvent, now: number = Date.now()): string;"
14667
+ },
14668
+ {
14669
+ "name": "eventIsPast",
14670
+ "kind": "function",
14671
+ "jsdoc": "/** Has the event finished? Its end when it has one, else its start. */",
14672
+ "decl": "export function eventIsPast(e: WixEvent, now: number = Date.now()): boolean;"
14667
14673
  },
14668
14674
  {
14669
14675
  "name": "normalizeEvent",
14670
14676
  "kind": "function",
14671
- "jsdoc": "",
14677
+ "jsdoc": "/** One-argument on purpose: callers write `.map(normalizeEvent)`, which would pass the array\n * index as a second argument. Use {@link normalizeEventAt} to pin the clock. */",
14672
14678
  "decl": "export function normalizeEvent(e: WixEvent): EventRow;"
14673
14679
  },
14680
+ {
14681
+ "name": "normalizeEventAt",
14682
+ "kind": "function",
14683
+ "jsdoc": "/** {@link normalizeEvent} against an explicit clock (epoch ms): `now` decides whether the date\n * line carries the year and whether `statusLabel` reads \"Past\". Pure — no API call, any scope. */",
14684
+ "decl": "export function normalizeEventAt(e: WixEvent, now: number): EventRow;"
14685
+ },
14674
14686
  {
14675
14687
  "name": "eventDescription",
14676
14688
  "kind": "function",
@@ -19552,11 +19564,23 @@
19552
19564
  "source": "stdlib/wix-sdk/portfolio/src/index.ts",
19553
19565
  "description": "Portfolio — projects and collections",
19554
19566
  "api": [
19567
+ {
19568
+ "name": "WixMediaImage",
19569
+ "kind": "interface",
19570
+ "jsdoc": "/** A Wix Portfolio media image — a project / collection cover or a project item's image. */",
19571
+ "decl": "export interface WixMediaImage {\n type?: string;\n imageInfo?: { id?: string; url?: string; width?: number; height?: number };\n}"
19572
+ },
19573
+ {
19574
+ "name": "portfolioCoverRef",
19575
+ "kind": "function",
19576
+ "jsdoc": "/**\n * The Wix media reference of a Portfolio cover or item image — its `imageInfo.url`, else\n * its `imageInfo.id` — for `wixMediaUrl` to resolve and size. `\"\"` when there is none.\n * A bare string is still accepted, so a cover stored as a url string keeps rendering.\n *\n * @example\n * const image = wixMediaUrl(portfolioCoverRef(project.coverImage));\n */",
19577
+ "decl": "export function portfolioCoverRef(cover: WixMediaImage | string | null | undefined): string;"
19578
+ },
19555
19579
  {
19556
19580
  "name": "WixPortfolioProject",
19557
19581
  "kind": "interface",
19558
19582
  "jsdoc": "",
19559
- "decl": "export interface WixPortfolioProject {\n id: string;\n title?: string;\n description?: string;\n /** Project cover. coverImage is a Wix media url/id. */\n coverImage?: string;\n slug?: string;\n hidden?: boolean;\n createdDate?: string;\n updatedDate?: string;\n}"
19583
+ "decl": "export interface WixPortfolioProject {\n id: string;\n title?: string;\n description?: string;\n /**\n * Project cover. The live wire shape is a media OBJECT\n * (`{type:\"WIX_MEDIA\", imageInfo:{id,url,width,height}}`), not a url string —\n * read it with {@link portfolioCoverRef}; `wixMediaUrl` returns `\"\"` for the object.\n * A url string is still accepted, for projects constructed by hand.\n */\n coverImage?: WixMediaImage | string;\n slug?: string;\n hidden?: boolean;\n createdDate?: string;\n updatedDate?: string;\n}"
19560
19584
  },
19561
19585
  {
19562
19586
  "name": "WixListProjectsResponse",
@@ -19571,12 +19595,6 @@
19571
19595
  "decl": "export function listProjects(limit = 100, cursor?: string): Promise<WixListProjectsResponse>;",
19572
19596
  "http": "GET /portfolio/v1/projects?{…}"
19573
19597
  },
19574
- {
19575
- "name": "WixMediaImage",
19576
- "kind": "interface",
19577
- "jsdoc": "",
19578
- "decl": "export interface WixMediaImage { imageInfo?: { id?: string; url?: string } }"
19579
- },
19580
19598
  {
19581
19599
  "name": "WixPortfolioCollection",
19582
19600
  "kind": "interface",
@@ -19606,14 +19624,14 @@
19606
19624
  "name": "WixListProjectItemsResponse",
19607
19625
  "kind": "interface",
19608
19626
  "jsdoc": "",
19609
- "decl": "export interface WixListProjectItemsResponse {\n items?: WixPortfolioProjectItem[];\n pagingMetadata?: { count?: number; cursors?: { next?: string }; hasNext?: boolean };\n}"
19627
+ "decl": "export interface WixListProjectItemsResponse {\n items?: WixPortfolioProjectItem[];\n /**\n * Paging, under the name this function always documented. A Wix query reports it as\n * `metadata`; {@link listProjectItems} copies that here when `pagingMetadata` is absent.\n */\n pagingMetadata?: { count?: number; cursors?: { next?: string }; hasNext?: boolean };\n /** The query endpoint's own name for the paging block. */\n metadata?: { count?: number; cursors?: { next?: string }; hasNext?: boolean };\n}"
19610
19628
  },
19611
19629
  {
19612
19630
  "name": "listProjectItems",
19613
19631
  "kind": "function",
19614
- "jsdoc": "/** GET /portfolio/v1/projects/{projectId}/items — list a project's items. */",
19632
+ "jsdoc": "/**\n * POST /portfolio/v1/items/query — list a project's items.\n *\n * A first page filters on `projectId` with `paging.limit`. Passing a `cursor` (a previous\n * page's `pagingMetadata.cursors.next`) switches to `cursorPaging` and drops the filter,\n * because a Wix query cursor already carries it. Items come back in the order Wix returns\n * them — sort on `sortOrder` for the author's order.\n */",
19615
19633
  "decl": "export function listProjectItems(projectId: string, limit = 100, cursor?: string): Promise<WixListProjectItemsResponse>;",
19616
- "http": "GET /portfolio/v1/projects/{…}/items?{…}"
19634
+ "http": "POST /portfolio/v1/items/query"
19617
19635
  }
19618
19636
  ]
19619
19637
  },
@@ -122,9 +122,21 @@ never change. If nothing is reachable, keep the default kit.
122
122
  RFC 0048 refused a **content dump** on the runtime facade. The dump lives here, at **build time**:
123
123
 
124
124
  ```bash
125
- himi site analyze --client-id <id> --site <msid> --url https://… --out .himi/business-book [--apply]
125
+ himi site analyze --url https://… --out .himi/business-book # visitor-only pass
126
+ himi site analyze --url https://… --client-id <id> [--site <msid>] --out .himi/business-book [--apply]
126
127
  ```
127
128
 
129
+ `--url` alone is the **visitor-only pass**: the published pages, their look (screenshots,
130
+ `--wst-*`), the Copy chapter and the Placeholders chapter (template phone/email, Wix editor text, a
131
+ second business name, repeated images). It needs no OAuth client, so no anonymous token is minted
132
+ and every vertical probe reports `visitor skipped` — the Catalog has no counts. `--client-id` (the
133
+ site's Headless client) adds those counts, each Bookings service's price and payment mode
134
+ (`pay online only`, `pay in person only`, `free`, …), and the `wix` binding `--apply` writes;
135
+ `--apply` without it exits 2. `--site` adds the owner-only chapters (CMS, media, roles); an
136
+ ambient `WIX_SITE_ID` does so only beside an explicit `--client-id` flag (an exported
137
+ `WIX_CLIENT_ID` does not count), so a URL-only pass is never silently upgraded to an owner read
138
+ of whichever site that variable names.
139
+
128
140
  Same collector, three doors:
129
141
 
130
142
  | Door | Artifact |
@@ -59,14 +59,23 @@ banner. Keep **only the first ASCII line** (`head -1`) or HTTP headers throw
59
59
  ### 1. Analyze — do not re-fetch Wix
60
60
 
61
61
  ```sh
62
+ # Visitor-only pass — the URL is all it needs (published pages, look, copy, template leftovers):
63
+ himi site analyze --url https://customer.wixsite.com/site --out .himi/business-book
64
+
65
+ # Full pass — --client-id adds catalog counts, service payment modes and the --apply binding;
66
+ # --site adds the owner chapters (CMS, media, roles):
62
67
  himi site analyze \
63
- --client-id <headless-oauth-client-id> \
64
68
  --url https://customer.wixsite.com/site \
69
+ --client-id <headless-oauth-client-id> \
65
70
  --site <msid> \
66
71
  --out .himi/business-book
67
72
  # screenshots + --wst-*: npx playwright install chromium
68
73
  ```
69
74
 
75
+ Check `book.md` → **Placeholders** before reusing any copy: a template phone (`123-456-7890`),
76
+ Wix editor text, a second business name or one photo repeated across a gallery is the
77
+ template's, not the customer's.
78
+
70
79
  Read `book.json`, `book.md`, `evidence/pages/`, `media/`, `velo/` (via
71
80
  `book.velo.files[].localPath`). Write `.himi/business-book/look.notes.md` for mood,
72
81
  overlay tie-break, language. **Never rewrite `book.json`.** Never log
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1035.0",
3
+ "version": "0.1037.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": [
@@ -65,5 +65,5 @@
65
65
  "artifactId": "himalaya-cli"
66
66
  }
67
67
  },
68
- "falconPackageHash": "a1f78ccbd699eee4485119c69175cd6331ff4eb0fb6f23f06086d17a"
68
+ "falconPackageHash": "e35236017e826d4e25212e7448f29f8004d84cec687b348a8231366e"
69
69
  }