@wix/himalaya-cli 0.1749.0 → 0.1751.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 (324) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/himi-package.d.ts +478 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/host-compatibility.d.ts +56 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/icon-catalog.generated.d.ts +1 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +156 -8
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +3 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +2 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast-service.d.ts +105 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/podcast.d.ts +116 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +326 -13
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +730 -81
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +155 -0
  14. package/dist/browser-plane/assets.json +5 -5
  15. package/dist/browser-plane/preview-deferred/{b40ea5d0d6251898ff5617139fde8be008dd11e99a70b14c1052093685401700.bin → 21f35a12bd94f4ab97a9a75453c4adcadc438daf024a4b1950d5c356c123bd01.bin} +1 -1
  16. package/dist/browser-plane/sw.js +7 -7
  17. package/dist/cli.mjs +44618 -35753
  18. package/dist/preview-assets.generated.bin +0 -0
  19. package/guides/component-reference.json +1 -1
  20. package/guides/component-reference.md +4 -0
  21. package/guides/designing-himi-screens.md +7 -0
  22. package/guides/getting-started.md +5 -1
  23. package/guides/headless-loop.md +1 -1
  24. package/guides/himi-json-output.md +54 -1
  25. package/guides/himi-skill.md +5 -1
  26. package/guides/index.json +6 -0
  27. package/guides/one-app-to-himi-app.md +31 -8
  28. package/guides/qa-builds.md +12 -1
  29. package/guides/recipe-podcast.md +149 -0
  30. package/guides/skill.md +3 -1
  31. package/guides/store-submission.md +149 -34
  32. package/guides/tier-5-add-a-screen.md +16 -2
  33. package/guides/wix-business-context.md +43 -0
  34. package/guides/wix-platform-usage.md +7 -2
  35. package/package.json +10 -10
  36. package/template-icons/fitness-gym.png +0 -0
  37. package/template-icons/personal-fitness-trainer.png +0 -0
  38. package/templates/beauty-salon/config.ts +12 -0
  39. package/templates/beauty-salon/dev/index.ts +1 -1
  40. package/templates/beauty-salon/l10n/en.json +1 -1
  41. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +3 -1
  42. package/templates/beauty-salon/tier5-src/_shared/business-chat-transport.ts +148 -0
  43. package/templates/beauty-salon/tier5-src/_shared/header-badges.ts +113 -0
  44. package/templates/beauty-salon/tier5-src/_shared/location-pin.ts +97 -0
  45. package/templates/beauty-salon/tier5-src/_shared/member-access.ts +17 -6
  46. package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +16 -0
  47. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +5 -8
  48. package/templates/beauty-salon/tier5-src/_shared/source-badges.ts +72 -0
  49. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  50. package/templates/beauty-salon/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  51. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +13 -4
  52. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  53. package/templates/branded-lite/config.ts +12 -0
  54. package/templates/branded-lite/dev/index.ts +101 -1
  55. package/templates/branded-lite/l10n/en.json +22 -1
  56. package/templates/branded-lite/l10n/es.json +22 -0
  57. package/templates/branded-lite/l10n/fr.json +23 -0
  58. package/templates/branded-lite/l10n/he.json +19 -0
  59. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +3 -1
  60. package/templates/branded-lite/tier5-src/_shared/location-pin.ts +97 -0
  61. package/templates/branded-lite/tier5-src/_shared/member-access.ts +17 -6
  62. package/templates/branded-lite/tier5-src/_shared/program-fields.ts +16 -0
  63. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +5 -8
  64. package/templates/branded-lite/tier5-src/himi-branded-lite-access-nav/index.ts +10 -5
  65. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  66. package/templates/branded-lite/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  67. package/templates/branded-lite/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
  68. package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +12 -1
  69. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +13 -4
  70. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  71. package/templates/brandy/README.md +33 -0
  72. package/templates/brandy/config.ts +51 -7
  73. package/templates/brandy/dev/index.ts +23 -9
  74. package/templates/community-club/l10n/en.json +1 -1
  75. package/templates/community-club/tier5-src/_shared/member-access.ts +17 -6
  76. package/templates/community-club/tier5-src/_shared/program-fields.ts +16 -0
  77. package/templates/community-club/tier5-src/_shared/programs-section.ts +5 -8
  78. package/templates/community-club/tier5-src/himi-store-account/index.ts +13 -4
  79. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  80. package/templates/conference/tier5-src/_shared/member-access.ts +17 -6
  81. package/templates/conference/tier5-src/himi-store-account/index.ts +13 -4
  82. package/templates/events-meetups/l10n/en.json +1 -1
  83. package/templates/events-meetups/tier5-src/_shared/member-access.ts +17 -6
  84. package/templates/events-meetups/tier5-src/_shared/program-fields.ts +16 -0
  85. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +5 -8
  86. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +13 -4
  87. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  88. package/templates/fitness-gym/README.md +53 -0
  89. package/templates/fitness-gym/config.ts +560 -0
  90. package/templates/fitness-gym/dev/index.ts +25787 -0
  91. package/templates/fitness-gym/himalaya.content.json +64 -0
  92. package/templates/fitness-gym/himalaya.template.json +15 -0
  93. package/templates/fitness-gym/icon.png +0 -0
  94. package/templates/fitness-gym/platforms.json +1 -0
  95. package/templates/fitness-gym/tier5-src/_shared/app-locale.ts +61 -0
  96. package/templates/fitness-gym/tier5-src/_shared/booking-location.ts +147 -0
  97. package/templates/fitness-gym/tier5-src/_shared/booking-session.ts +224 -0
  98. package/templates/fitness-gym/tier5-src/_shared/branded-lite-hosted.ts +280 -0
  99. package/templates/fitness-gym/tier5-src/_shared/branded-load-state.ts +109 -0
  100. package/templates/fitness-gym/tier5-src/_shared/business-chat-copy.ts +40 -0
  101. package/templates/fitness-gym/tier5-src/_shared/business-chat-history.ts +51 -0
  102. package/templates/fitness-gym/tier5-src/_shared/business-chat-message-model.ts +177 -0
  103. package/templates/fitness-gym/tier5-src/_shared/business-chat-model.ts +56 -0
  104. package/templates/fitness-gym/tier5-src/_shared/business-chat-presenter.ts +576 -0
  105. package/templates/fitness-gym/tier5-src/_shared/business-chat-transport.ts +148 -0
  106. package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +228 -0
  107. package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +193 -0
  108. package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +400 -0
  109. package/templates/fitness-gym/tier5-src/_shared/detail-presence.ts +51 -0
  110. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +523 -0
  111. package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +194 -0
  112. package/templates/fitness-gym/tier5-src/_shared/himi-booking-saved.ts +88 -0
  113. package/templates/fitness-gym/tier5-src/_shared/himi-bookings.ts +318 -0
  114. package/templates/fitness-gym/tier5-src/_shared/himi-copy.ts +116 -0
  115. package/templates/fitness-gym/tier5-src/_shared/himi-media.ts +29 -0
  116. package/templates/fitness-gym/tier5-src/_shared/himi-store.ts +7 -0
  117. package/templates/fitness-gym/tier5-src/_shared/himi-text.ts +24 -0
  118. package/templates/fitness-gym/tier5-src/_shared/host-events.ts +66 -0
  119. package/templates/fitness-gym/tier5-src/_shared/hosted-checkout.ts +70 -0
  120. package/templates/fitness-gym/tier5-src/_shared/iap-attendance-form.ts +106 -0
  121. package/templates/fitness-gym/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
  122. package/templates/fitness-gym/tier5-src/_shared/iap-attendance.ts +38 -0
  123. package/templates/fitness-gym/tier5-src/_shared/iap-worker.ts +127 -0
  124. package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +68 -0
  125. package/templates/fitness-gym/tier5-src/_shared/local-preferences.ts +38 -0
  126. package/templates/fitness-gym/tier5-src/_shared/member-access.ts +63 -0
  127. package/templates/fitness-gym/tier5-src/_shared/member-account-routes.ts +52 -0
  128. package/templates/fitness-gym/tier5-src/_shared/member-bookings.ts +107 -0
  129. package/templates/fitness-gym/tier5-src/_shared/member-screen.ts +99 -0
  130. package/templates/fitness-gym/tier5-src/_shared/notification-target.ts +141 -0
  131. package/templates/fitness-gym/tier5-src/_shared/offset-page.ts +10 -0
  132. package/templates/fitness-gym/tier5-src/_shared/online-actions.ts +76 -0
  133. package/templates/fitness-gym/tier5-src/_shared/owner-load-error.ts +348 -0
  134. package/templates/fitness-gym/tier5-src/_shared/payment-setup.ts +6 -0
  135. package/templates/fitness-gym/tier5-src/_shared/pricing-plan-display.ts +64 -0
  136. package/templates/fitness-gym/tier5-src/_shared/program-description.ts +11 -0
  137. package/templates/fitness-gym/tier5-src/_shared/program-fields.ts +16 -0
  138. package/templates/fitness-gym/tier5-src/_shared/program-standing.ts +46 -0
  139. package/templates/fitness-gym/tier5-src/_shared/rich-body.ts +78 -0
  140. package/templates/fitness-gym/tier5-src/_shared/rich-content-link.ts +34 -0
  141. package/templates/fitness-gym/tier5-src/_shared/sign-in-sheet.ts +18 -0
  142. package/templates/fitness-gym/tier5-src/_shared/staff-name.ts +18 -0
  143. package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +107 -0
  144. package/templates/fitness-gym/tier5-src/_shared/wix-bi.ts +85 -0
  145. package/templates/fitness-gym/tier5-src/_shared/wix-member-links.ts +114 -0
  146. package/templates/fitness-gym/tier5-src/_shared/wix-service-price.ts +146 -0
  147. package/templates/fitness-gym/tier5-src/business-chat/index.ts +732 -0
  148. package/templates/fitness-gym/tier5-src/business-contact/index.ts +6 -0
  149. package/templates/fitness-gym/tier5-src/himi-booking-account/index.ts +267 -0
  150. package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +468 -0
  151. package/templates/fitness-gym/tier5-src/himi-booking-service/index.ts +1190 -0
  152. package/templates/fitness-gym/tier5-src/himi-booking-services/index.ts +791 -0
  153. package/templates/fitness-gym/tier5-src/himi-booking-time/index.ts +1729 -0
  154. package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
  155. package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +656 -0
  156. package/templates/fitness-gym/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
  157. package/templates/fitness-gym/tier5-src/himi-branded-lite-plans/index.ts +495 -0
  158. package/templates/fitness-gym/tier5-src/himi-branded-lite-program/facts.ts +52 -0
  159. package/templates/fitness-gym/tier5-src/himi-branded-lite-program/index.ts +845 -0
  160. package/templates/fitness-gym/tier5-src/himi-fitcoach-goal/index.ts +191 -0
  161. package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +619 -0
  162. package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +1007 -0
  163. package/templates/fitness-gym/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
  164. package/templates/fitness-gym/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  165. package/templates/fitness-gym/tokens.json +414 -0
  166. package/templates/gym-fitness/config.ts +12 -0
  167. package/templates/gym-fitness/dev/index.ts +1 -1
  168. package/templates/gym-fitness/l10n/en.json +1 -1
  169. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +3 -1
  170. package/templates/gym-fitness/tier5-src/_shared/business-chat-transport.ts +148 -0
  171. package/templates/gym-fitness/tier5-src/_shared/header-badges.ts +113 -0
  172. package/templates/gym-fitness/tier5-src/_shared/location-pin.ts +97 -0
  173. package/templates/gym-fitness/tier5-src/_shared/member-access.ts +17 -6
  174. package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +16 -0
  175. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +5 -8
  176. package/templates/gym-fitness/tier5-src/_shared/source-badges.ts +72 -0
  177. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  178. package/templates/gym-fitness/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  179. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +13 -4
  180. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  181. package/templates/medical-services/dev/index.ts +2 -1
  182. package/templates/medical-services/tier5-src/_shared/booking-session.ts +3 -1
  183. package/templates/medical-services/tier5-src/_shared/member-access.ts +17 -6
  184. package/templates/medical-services/tier5-src/himi-booking-account/index.ts +16 -1
  185. package/templates/medical-services/tier5-src/himi-store-account/index.ts +13 -4
  186. package/templates/nonprofit-cause/l10n/en.json +1 -1
  187. package/templates/nonprofit-cause/tier5-src/_shared/member-access.ts +17 -6
  188. package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +16 -0
  189. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +5 -8
  190. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +13 -4
  191. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  192. package/templates/personal-fitness-trainer/README.md +51 -0
  193. package/templates/personal-fitness-trainer/config.ts +343 -0
  194. package/templates/personal-fitness-trainer/dev/index.ts +24813 -0
  195. package/templates/personal-fitness-trainer/himalaya.content.json +79 -0
  196. package/templates/personal-fitness-trainer/himalaya.template.json +14 -0
  197. package/templates/personal-fitness-trainer/icon.png +0 -0
  198. package/templates/personal-fitness-trainer/platforms.json +3 -0
  199. package/templates/personal-fitness-trainer/splash.json +3 -0
  200. package/templates/personal-fitness-trainer/tier5-src/_shared/app-locale.ts +61 -0
  201. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-location.ts +147 -0
  202. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-session.ts +224 -0
  203. package/templates/personal-fitness-trainer/tier5-src/_shared/branded-lite-hosted.ts +280 -0
  204. package/templates/personal-fitness-trainer/tier5-src/_shared/branded-load-state.ts +109 -0
  205. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-copy.ts +40 -0
  206. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-history.ts +51 -0
  207. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-message-model.ts +177 -0
  208. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-model.ts +56 -0
  209. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-presenter.ts +576 -0
  210. package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-transport.ts +148 -0
  211. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +228 -0
  212. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +193 -0
  213. package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +400 -0
  214. package/templates/personal-fitness-trainer/tier5-src/_shared/detail-presence.ts +51 -0
  215. package/templates/personal-fitness-trainer/tier5-src/_shared/empty-flags.ts +33 -0
  216. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +523 -0
  217. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +194 -0
  218. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-booking-saved.ts +88 -0
  219. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-bookings.ts +318 -0
  220. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-copy.ts +116 -0
  221. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-layouts.ts +142 -0
  222. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-store.ts +7 -0
  223. package/templates/personal-fitness-trainer/tier5-src/_shared/himi-text.ts +24 -0
  224. package/templates/personal-fitness-trainer/tier5-src/_shared/host-events.ts +66 -0
  225. package/templates/personal-fitness-trainer/tier5-src/_shared/hosted-checkout.ts +70 -0
  226. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-form.ts +106 -0
  227. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance-purchase.ts +216 -0
  228. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-attendance.ts +38 -0
  229. package/templates/personal-fitness-trainer/tier5-src/_shared/iap-worker.ts +127 -0
  230. package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +68 -0
  231. package/templates/personal-fitness-trainer/tier5-src/_shared/local-preferences.ts +38 -0
  232. package/templates/personal-fitness-trainer/tier5-src/_shared/member-access.ts +63 -0
  233. package/templates/personal-fitness-trainer/tier5-src/_shared/member-account-routes.ts +52 -0
  234. package/templates/personal-fitness-trainer/tier5-src/_shared/member-bookings.ts +107 -0
  235. package/templates/personal-fitness-trainer/tier5-src/_shared/member-screen.ts +99 -0
  236. package/templates/personal-fitness-trainer/tier5-src/_shared/offset-page.ts +10 -0
  237. package/templates/personal-fitness-trainer/tier5-src/_shared/online-actions.ts +76 -0
  238. package/templates/personal-fitness-trainer/tier5-src/_shared/owner-load-error.ts +348 -0
  239. package/templates/personal-fitness-trainer/tier5-src/_shared/payment-setup.ts +6 -0
  240. package/templates/personal-fitness-trainer/tier5-src/_shared/pricing-plan-display.ts +64 -0
  241. package/templates/personal-fitness-trainer/tier5-src/_shared/rich-body.ts +78 -0
  242. package/templates/personal-fitness-trainer/tier5-src/_shared/rich-content-link.ts +34 -0
  243. package/templates/personal-fitness-trainer/tier5-src/_shared/sign-in-sheet.ts +18 -0
  244. package/templates/personal-fitness-trainer/tier5-src/_shared/staff-name.ts +18 -0
  245. package/templates/personal-fitness-trainer/tier5-src/_shared/video-caption.ts +21 -0
  246. package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +107 -0
  247. package/templates/personal-fitness-trainer/tier5-src/_shared/wix-bi.ts +85 -0
  248. package/templates/personal-fitness-trainer/tier5-src/_shared/wix-service-price.ts +146 -0
  249. package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +732 -0
  250. package/templates/personal-fitness-trainer/tier5-src/business-contact/index.ts +6 -0
  251. package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +468 -0
  252. package/templates/personal-fitness-trainer/tier5-src/himi-booking-service/index.ts +1190 -0
  253. package/templates/personal-fitness-trainer/tier5-src/himi-booking-services/index.ts +791 -0
  254. package/templates/personal-fitness-trainer/tier5-src/himi-booking-time/index.ts +1729 -0
  255. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  256. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +1094 -0
  257. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +988 -0
  258. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-appearance/index.ts +94 -0
  259. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-notifsettings/index.ts +173 -0
  260. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-plans/index.ts +495 -0
  261. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-splash/index.ts +35 -0
  262. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +226 -0
  263. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-videos/index.ts +145 -0
  264. package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-home/index.ts +70 -0
  265. package/templates/personal-fitness-trainer/tier5-src/himi-fitness-trainer-profile/index.ts +53 -0
  266. package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +1007 -0
  267. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-app-language/index.ts +73 -0
  268. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-delete-account/index.ts +59 -0
  269. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-my-subscriptions/index.ts +84 -0
  270. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
  271. package/templates/personal-fitness-trainer/tier5-src/wix-spaces-view-profile/index.ts +119 -0
  272. package/templates/personal-fitness-trainer/tokens.json +381 -0
  273. package/templates/podcast-creator/dev/index.ts +100 -0
  274. package/templates/podcast-creator/l10n/en.json +22 -1
  275. package/templates/podcast-creator/l10n/es.json +22 -0
  276. package/templates/podcast-creator/l10n/fr.json +18 -0
  277. package/templates/podcast-creator/l10n/he.json +15 -0
  278. package/templates/podcast-creator/tier5-src/_shared/member-access.ts +17 -6
  279. package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +16 -0
  280. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +5 -8
  281. package/templates/podcast-creator/tier5-src/himi-branded-lite-podcasts/index.ts +14 -234
  282. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +13 -4
  283. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  284. package/templates/portfolio-creative/l10n/en.json +1 -1
  285. package/templates/portfolio-creative/tier5-src/_shared/member-access.ts +17 -6
  286. package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +16 -0
  287. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +5 -8
  288. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +13 -4
  289. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  290. package/templates/restaurant/l10n/en.json +1 -1
  291. package/templates/restaurant/tier5-src/_shared/member-access.ts +17 -6
  292. package/templates/restaurant/tier5-src/_shared/program-fields.ts +16 -0
  293. package/templates/restaurant/tier5-src/_shared/programs-section.ts +5 -8
  294. package/templates/restaurant/tier5-src/himi-store-account/index.ts +13 -4
  295. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  296. package/templates/retail-store/l10n/en.json +1 -1
  297. package/templates/retail-store/tier5-src/_shared/member-access.ts +17 -6
  298. package/templates/retail-store/tier5-src/_shared/program-fields.ts +16 -0
  299. package/templates/retail-store/tier5-src/_shared/programs-section.ts +5 -8
  300. package/templates/retail-store/tier5-src/himi-store-account/index.ts +13 -4
  301. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +68 -55
  302. package/templates/salon-spa/dev/index.ts +1 -1
  303. package/templates/salon-spa/tier5-src/_shared/booking-session.ts +3 -1
  304. package/templates/salon-spa/tier5-src/_shared/member-access.ts +17 -6
  305. package/templates/salon-spa/tier5-src/himi-booking-account/index.ts +16 -1
  306. package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  307. package/templates/salon-spa/tier5-src/himi-store-account/index.ts +13 -4
  308. package/templates/wholesale-store/tier5-src/_shared/member-access.ts +17 -6
  309. package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +13 -4
  310. package/templates/yoga-studio/config.ts +12 -0
  311. package/templates/yoga-studio/dev/index.ts +1 -1
  312. package/templates/yoga-studio/l10n/en.json +1 -1
  313. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +3 -1
  314. package/templates/yoga-studio/tier5-src/_shared/business-chat-transport.ts +148 -0
  315. package/templates/yoga-studio/tier5-src/_shared/header-badges.ts +113 -0
  316. package/templates/yoga-studio/tier5-src/_shared/location-pin.ts +97 -0
  317. package/templates/yoga-studio/tier5-src/_shared/member-access.ts +17 -6
  318. package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +16 -0
  319. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +5 -8
  320. package/templates/yoga-studio/tier5-src/_shared/source-badges.ts +72 -0
  321. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +37 -4
  322. package/templates/yoga-studio/tier5-src/himi-branded-lite-nav/index.ts +152 -0
  323. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +13 -4
  324. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +68 -55
@@ -0,0 +1,381 @@
1
+ {
2
+ "colors": {
3
+ "surfacePrimary": {
4
+ "light": "#F5F3EB",
5
+ "dark": "#1D2019",
6
+ "highContrast": "#FFFFFF"
7
+ },
8
+ "surfaceSecondary": {
9
+ "light": "#EDE8DF",
10
+ "dark": "#282D23",
11
+ "highContrast": "#F5F3EB"
12
+ },
13
+ "surfaceElevated": {
14
+ "light": "#F9F7F0",
15
+ "dark": "#30352A",
16
+ "highContrast": "#F9F7F0"
17
+ },
18
+ "surfaceSubtle": {
19
+ "light": "#EEEADF",
20
+ "dark": "#252B20",
21
+ "highContrast": "#F0F0E8"
22
+ },
23
+ "surfaceTertiary": {
24
+ "light": "#E4DECC",
25
+ "dark": "#343B2C",
26
+ "highContrast": "#E4DECC"
27
+ },
28
+ "textPrimary": {
29
+ "light": "#292626",
30
+ "dark": "#F5F3EB",
31
+ "highContrast": "#151510"
32
+ },
33
+ "textSecondary": {
34
+ "light": "#626154",
35
+ "dark": "#C8C7B7",
36
+ "highContrast": "#35352B"
37
+ },
38
+ "textTertiary": {
39
+ "light": "#72705F",
40
+ "dark": "#B8B6A6",
41
+ "highContrast": "#72705F"
42
+ },
43
+ "textOnAccent": {
44
+ "light": "#FFFFFF",
45
+ "dark": "#242718",
46
+ "highContrast": "#FFFFFF"
47
+ },
48
+ "accentPrimary": {
49
+ "light": "#57532A",
50
+ "dark": "#C8C18C",
51
+ "highContrast": "#454118"
52
+ },
53
+ "accentSecondary": {
54
+ "light": "#82695D",
55
+ "dark": "#BBA398",
56
+ "highContrast": "#82695D"
57
+ },
58
+ "accentSurface": {
59
+ "light": "#E9E6CD",
60
+ "dark": "#363D2A",
61
+ "highContrast": "#E9E6CD"
62
+ },
63
+ "success": {
64
+ "light": "#008A2E",
65
+ "dark": "#33E633",
66
+ "highContrast": "#3FB950"
67
+ },
68
+ "successSurface": {
69
+ "light": "#D6FFD6",
70
+ "dark": "#112911",
71
+ "highContrast": "#FFFFFF"
72
+ },
73
+ "warning": {
74
+ "light": "#7A4D00",
75
+ "dark": "#FFB300",
76
+ "highContrast": "#D29922"
77
+ },
78
+ "warningSurface": {
79
+ "light": "#FFF3C2",
80
+ "dark": "#292109",
81
+ "highContrast": "#FFFFFF"
82
+ },
83
+ "danger": {
84
+ "light": "#D60000",
85
+ "dark": "#FF3333",
86
+ "highContrast": "#FF5555"
87
+ },
88
+ "dangerSurface": {
89
+ "light": "#FFD6D6",
90
+ "dark": "#291111",
91
+ "highContrast": "#FFFFFF"
92
+ },
93
+ "border": {
94
+ "light": "#DDD8C6",
95
+ "dark": "#444A3B",
96
+ "highContrast": "#DDD8C6"
97
+ },
98
+ "accentText": {
99
+ "light": "#57532A",
100
+ "dark": "#D9D29B",
101
+ "highContrast": "#57532A"
102
+ },
103
+ "accentSoft": {
104
+ "light": "#E9E6CD",
105
+ "dark": "#363D2A",
106
+ "highContrast": "#E9E6CD"
107
+ },
108
+ "heroText": {
109
+ "light": "#FFFFFF",
110
+ "dark": "#FFFFFF",
111
+ "highContrast": "#FFFFFF"
112
+ },
113
+ "heroScrim": {
114
+ "light": "#29261699",
115
+ "dark": "#16191299",
116
+ "highContrast": "#29261699"
117
+ }
118
+ },
119
+ "spacing": {
120
+ "xs": 4,
121
+ "sm": 8,
122
+ "md": 12,
123
+ "lg": 16,
124
+ "xl": 24
125
+ },
126
+ "typography": {
127
+ "pageTitle": {
128
+ "size": 28,
129
+ "weight": 400,
130
+ "line": 1.25,
131
+ "letterSpacing": 0
132
+ },
133
+ "title1": {
134
+ "family": "Georgia",
135
+ "size": 28,
136
+ "weight": 400,
137
+ "line": 1.15
138
+ },
139
+ "title2": {
140
+ "family": "Georgia",
141
+ "size": 24,
142
+ "weight": 400,
143
+ "line": 1.2
144
+ },
145
+ "title3": {
146
+ "family": "Georgia",
147
+ "size": 21,
148
+ "weight": 400,
149
+ "line": 1.25
150
+ },
151
+ "body": {
152
+ "family": "Wix Madefor Text",
153
+ "size": 16,
154
+ "weight": 400,
155
+ "line": 1.5
156
+ },
157
+ "bodyEmphasis": {
158
+ "family": "Wix Madefor Text",
159
+ "size": 16,
160
+ "weight": 600,
161
+ "line": 1.4
162
+ },
163
+ "footnote": {
164
+ "size": 13,
165
+ "weight": 500,
166
+ "line": 1.3,
167
+ "letterSpacing": 0,
168
+ "family": "Wix Madefor Text"
169
+ },
170
+ "footnoteRegular": {
171
+ "size": 14,
172
+ "weight": 400,
173
+ "line": 1.4,
174
+ "letterSpacing": 1
175
+ },
176
+ "caption": {
177
+ "family": "Wix Madefor Text",
178
+ "size": 13,
179
+ "weight": 400,
180
+ "line": 1.35
181
+ },
182
+ "display": {
183
+ "size": 44,
184
+ "weight": 800,
185
+ "line": 1.1,
186
+ "letterSpacing": -1,
187
+ "family": "Wix Madefor Display"
188
+ },
189
+ "heroTitle": {
190
+ "size": 38,
191
+ "weight": 800,
192
+ "line": 1.1,
193
+ "letterSpacing": -0.8,
194
+ "family": "Wix Madefor Display"
195
+ },
196
+ "largeTitle": {
197
+ "family": "Georgia",
198
+ "size": 42,
199
+ "weight": 400,
200
+ "line": 1.05
201
+ },
202
+ "headline": {
203
+ "family": "Wix Madefor Text",
204
+ "size": 17,
205
+ "weight": 600,
206
+ "line": 1.3
207
+ },
208
+ "pricingTitle": {
209
+ "family": "Georgia",
210
+ "size": 28,
211
+ "weight": 400,
212
+ "line": 1.15
213
+ },
214
+ "pricingSection": {
215
+ "family": "Wix Madefor Text",
216
+ "size": 17,
217
+ "weight": 600,
218
+ "line": 1.3
219
+ }
220
+ },
221
+ "controls": {
222
+ "button": {
223
+ "variants": {
224
+ "tertiary": {
225
+ "label": "textPrimary"
226
+ }
227
+ }
228
+ }
229
+ },
230
+ "radius": {
231
+ "sm": 3,
232
+ "md": 6,
233
+ "lg": 8,
234
+ "pill": 0
235
+ },
236
+ "kit": {
237
+ "material": "flat",
238
+ "density": "comfortable",
239
+ "motion": "smooth"
240
+ },
241
+ "shadows": {
242
+ "sm": {
243
+ "color": "#000000",
244
+ "opacity": 0.08,
245
+ "radius": 6,
246
+ "x": 0,
247
+ "y": 2
248
+ },
249
+ "md": {
250
+ "color": "#000000",
251
+ "opacity": 0.12,
252
+ "radius": 16,
253
+ "x": 0,
254
+ "y": 6
255
+ },
256
+ "lg": {
257
+ "color": "#000000",
258
+ "opacity": 0.16,
259
+ "radius": 28,
260
+ "x": 0,
261
+ "y": 12
262
+ }
263
+ },
264
+ "gradients": {
265
+ "brand": {
266
+ "colors": [
267
+ "accentPrimary",
268
+ "accentSecondary"
269
+ ],
270
+ "angle": 135
271
+ },
272
+ "subtle": {
273
+ "colors": [
274
+ "surfaceSecondary",
275
+ "surfacePrimary"
276
+ ],
277
+ "angle": 180
278
+ },
279
+ "hero": {
280
+ "colors": [
281
+ "accentSurface",
282
+ "surfacePrimary"
283
+ ],
284
+ "angle": 160
285
+ }
286
+ },
287
+ "materials": {
288
+ "flat": {
289
+ "style": "flat",
290
+ "tint": "surfaceSecondary",
291
+ "opacity": 1
292
+ },
293
+ "glass": {
294
+ "style": "glass",
295
+ "tint": "surfaceSecondary",
296
+ "opacity": 0.6,
297
+ "blur": 20
298
+ }
299
+ },
300
+ "motions": {
301
+ "smooth": {
302
+ "duration": 250,
303
+ "easing": "easeInOut"
304
+ },
305
+ "bouncy": {
306
+ "duration": 420,
307
+ "easing": "spring"
308
+ },
309
+ "quick": {
310
+ "duration": 140,
311
+ "easing": "easeOut"
312
+ },
313
+ "appearSoft": {
314
+ "duration": 500,
315
+ "easing": "easeOut"
316
+ }
317
+ },
318
+ "tabBar": {
319
+ "background": {
320
+ "color": "surfacePrimary"
321
+ },
322
+ "shape": {
323
+ "kind": "full",
324
+ "inset": 12,
325
+ "cornerRadius": 26
326
+ },
327
+ "selectedIndicator": {
328
+ "kind": "colorOnly",
329
+ "color": "accentPrimary"
330
+ },
331
+ "activeTint": "accentPrimary",
332
+ "inactiveTint": "textPrimary",
333
+ "labels": {
334
+ "show": true,
335
+ "typography": "caption"
336
+ },
337
+ "iconSize": 22,
338
+ "motion": "crisp",
339
+ "border": {
340
+ "topHairline": true,
341
+ "color": "border",
342
+ "width": 1
343
+ }
344
+ },
345
+ "drawer": {
346
+ "background": {
347
+ "color": "surfaceSecondary"
348
+ },
349
+ "width": 300,
350
+ "activeTint": "accentPrimary",
351
+ "inactiveTint": "textSecondary",
352
+ "selectedIndicator": {
353
+ "kind": "pill",
354
+ "color": "accentPrimary"
355
+ },
356
+ "labels": {
357
+ "show": true,
358
+ "typography": "body"
359
+ },
360
+ "iconSize": 22,
361
+ "edgeInsets": 12,
362
+ "motion": "smooth"
363
+ },
364
+ "contentMaxWidth": {
365
+ "base": 480,
366
+ "medium": 600,
367
+ "expanded": 760
368
+ },
369
+ "idiom": {
370
+ "ios": {
371
+ "radius": {
372
+ "md": 6
373
+ }
374
+ },
375
+ "material": {
376
+ "radius": {
377
+ "md": 8
378
+ }
379
+ }
380
+ }
381
+ }
@@ -21113,6 +21113,41 @@ const SCREENS = runtimeSetting({
21113
21113
  "props": {
21114
21114
  "spacing": 8,
21115
21115
  "children": [
21116
+ {
21117
+ "id": "himi_podcasts.mini_player_previous",
21118
+ "body": {
21119
+ "package": "himalaya",
21120
+ "type": "Button",
21121
+ "props": {
21122
+ "title": "Previous",
21123
+ "leadingIcon": "skip_previous",
21124
+ "iconOnly": true,
21125
+ "style": "plain",
21126
+ "action": {
21127
+ "actionId": "tier5.himiBrandedPodcasts.previousEpisode"
21128
+ }
21129
+ }
21130
+ }
21131
+ },
21132
+ {
21133
+ "id": "himi_podcasts.mini_player_back",
21134
+ "body": {
21135
+ "package": "himalaya",
21136
+ "type": "Button",
21137
+ "props": {
21138
+ "title": "Back 15 seconds",
21139
+ "leadingIcon": "undo",
21140
+ "iconOnly": true,
21141
+ "style": "plain",
21142
+ "action": {
21143
+ "actionId": "tier5.himiBrandedPodcasts.seekBy",
21144
+ "params": {
21145
+ "deltaMs": "-15000"
21146
+ }
21147
+ }
21148
+ }
21149
+ }
21150
+ },
21116
21151
  {
21117
21152
  "id": "himi_podcasts.mini_player_toggle",
21118
21153
  "body": {
@@ -21128,6 +21163,25 @@ const SCREENS = runtimeSetting({
21128
21163
  }
21129
21164
  }
21130
21165
  },
21166
+ {
21167
+ "id": "himi_podcasts.mini_player_forward",
21168
+ "body": {
21169
+ "package": "himalaya",
21170
+ "type": "Button",
21171
+ "props": {
21172
+ "title": "Forward 30 seconds",
21173
+ "leadingIcon": "refresh",
21174
+ "iconOnly": true,
21175
+ "style": "plain",
21176
+ "action": {
21177
+ "actionId": "tier5.himiBrandedPodcasts.seekBy",
21178
+ "params": {
21179
+ "deltaMs": "30000"
21180
+ }
21181
+ }
21182
+ }
21183
+ }
21184
+ },
21131
21185
  {
21132
21186
  "id": "himi_podcasts.mini_player_next",
21133
21187
  "body": {
@@ -21147,6 +21201,52 @@ const SCREENS = runtimeSetting({
21147
21201
  }
21148
21202
  }
21149
21203
  },
21204
+ {
21205
+ "id": "himi_podcasts.playback_error",
21206
+ "body": {
21207
+ "package": "himalaya",
21208
+ "type": "VStack",
21209
+ "props": {
21210
+ "spacing": 6,
21211
+ "alignment": "leading",
21212
+ "children": [
21213
+ {
21214
+ "id": "",
21215
+ "body": {
21216
+ "package": "himalaya",
21217
+ "type": "Text",
21218
+ "props": {
21219
+ "text": "$service:himiBrandedPodcasts.playbackErrorText",
21220
+ "style": "footnote",
21221
+ "color": "danger",
21222
+ "collapseWhenEmpty": true
21223
+ }
21224
+ }
21225
+ },
21226
+ {
21227
+ "id": "himi_podcasts.playback_retry",
21228
+ "body": {
21229
+ "package": "himalaya",
21230
+ "type": "Button",
21231
+ "props": {
21232
+ "title": "Try again",
21233
+ "style": "secondary",
21234
+ "action": {
21235
+ "actionId": "tier5.himiBrandedPodcasts.retryPlayback"
21236
+ }
21237
+ }
21238
+ },
21239
+ "modifiers": {
21240
+ "hiddenPath": "$service:himiBrandedPodcasts.hidePlaybackRetry"
21241
+ }
21242
+ }
21243
+ ]
21244
+ }
21245
+ },
21246
+ "modifiers": {
21247
+ "hiddenPath": "$service:himiBrandedPodcasts.hidePlaybackError"
21248
+ }
21249
+ },
21150
21250
  {
21151
21251
  "id": "himi_podcasts.mini_player_progress",
21152
21252
  "body": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$source": "en",
3
- "$generated": "2026-11-15T09:24:42.792Z",
3
+ "$generated": "2026-11-17T08:26:59.985Z",
4
4
  "messages": {
5
5
  "h_01e1787a9e5b": {
6
6
  "source": "App language",
@@ -327,6 +327,13 @@
327
327
  "key": "accountSettings.manageLoginCta",
328
328
  "keyOrigin": "string-table"
329
329
  },
330
+ "h_30668dc2c5d0": {
331
+ "source": "Forward 30 seconds",
332
+ "kind": "Button.title",
333
+ "translation": "",
334
+ "key": "podcasts.seekForwardCta",
335
+ "keyOrigin": "string-table"
336
+ },
330
337
  "h_311872a406d5": {
331
338
  "source": "Your profile photo is managed on the Wix site.",
332
339
  "kind": "Text.text",
@@ -499,6 +506,13 @@
499
506
  "key": "account.backToSignInCta",
500
507
  "keyOrigin": "string-table"
501
508
  },
509
+ "h_50f94286ba30": {
510
+ "source": "Previous",
511
+ "kind": "Button.title",
512
+ "translation": "",
513
+ "key": "podcasts.previousCta",
514
+ "keyOrigin": "string-table"
515
+ },
502
516
  "h_511f7ba65081": {
503
517
  "source": "Something did not load.",
504
518
  "kind": "Text.text",
@@ -629,6 +643,13 @@
629
643
  "key": "plans.errorTitle",
630
644
  "keyOrigin": "string-table"
631
645
  },
646
+ "h_6a20b2e95b10": {
647
+ "source": "Back 15 seconds",
648
+ "kind": "Button.title",
649
+ "translation": "",
650
+ "key": "podcasts.seekBackCta",
651
+ "keyOrigin": "string-table"
652
+ },
632
653
  "h_6a72085653e4": {
633
654
  "source": "All",
634
655
  "kind": "atom.label",
@@ -2,9 +2,31 @@
2
2
  "$source": "es",
3
3
  "$note": "Partial stock translations; missing strings retain their English fallback.",
4
4
  "messages": {
5
+ "h_30668dc2c5d0": {
6
+ "source": "Forward 30 seconds",
7
+ "key": "podcasts.seekForwardCta",
8
+ "translation": "Avanzar 30 segundos",
9
+ "origin": "machine"
10
+ },
11
+ "h_50f94286ba30": {
12
+ "source": "Previous",
13
+ "key": "podcasts.previousCta",
14
+ "translation": "Anterior",
15
+ "origin": "machine"
16
+ },
17
+ "h_6a20b2e95b10": {
18
+ "source": "Back 15 seconds",
19
+ "key": "podcasts.seekBackCta",
20
+ "translation": "Retroceder 15 segundos",
21
+ "origin": "machine"
22
+ },
5
23
  "h_0d049cb0b019": {
6
24
  "source": "This site is not accepting online payments. Go back or contact the business for other payment options.",
7
25
  "translation": "Este sitio no acepta pagos en línea. Vuelve atrás o contacta con el negocio para consultar otras opciones de pago."
26
+ },
27
+ "h_5d12bd53552c": {
28
+ "source": "Play",
29
+ "translation": "Reproducir"
8
30
  }
9
31
  }
10
32
  }
@@ -1454,6 +1454,24 @@
1454
1454
  "translation": "Suivre",
1455
1455
  "origin": "machine"
1456
1456
  },
1457
+ "h_30668dc2c5d0": {
1458
+ "source": "Forward 30 seconds",
1459
+ "key": "podcasts.seekForwardCta",
1460
+ "translation": "Avancer de 30 secondes",
1461
+ "origin": "machine"
1462
+ },
1463
+ "h_50f94286ba30": {
1464
+ "source": "Previous",
1465
+ "key": "podcasts.previousCta",
1466
+ "translation": "Précédent",
1467
+ "origin": "machine"
1468
+ },
1469
+ "h_6a20b2e95b10": {
1470
+ "source": "Back 15 seconds",
1471
+ "key": "podcasts.seekBackCta",
1472
+ "translation": "Reculer de 15 secondes",
1473
+ "origin": "machine"
1474
+ },
1457
1475
  "h_03e89418ffdf": {
1458
1476
  "source": "Your Home",
1459
1477
  "translation": "Votre accueil",
@@ -1224,6 +1224,21 @@
1224
1224
  "key": "loyalty.follow",
1225
1225
  "translation": "מעקב"
1226
1226
  },
1227
+ "h_30668dc2c5d0": {
1228
+ "source": "Forward 30 seconds",
1229
+ "key": "podcasts.seekForwardCta",
1230
+ "translation": "קדימה 30 שניות"
1231
+ },
1232
+ "h_50f94286ba30": {
1233
+ "source": "Previous",
1234
+ "key": "podcasts.previousCta",
1235
+ "translation": "הקודם"
1236
+ },
1237
+ "h_6a20b2e95b10": {
1238
+ "source": "Back 15 seconds",
1239
+ "key": "podcasts.seekBackCta",
1240
+ "translation": "אחורה 15 שניות"
1241
+ },
1227
1242
  "h_03e89418ffdf": {
1228
1243
  "source": "Your Home",
1229
1244
  "translation": "הבית שלך"
@@ -1,33 +1,44 @@
1
1
  import { dispatch } from "@himalaya/dispatch";
2
2
  import { getMyData } from "@himalaya/wix-users";
3
3
 
4
- export interface MemberAccess { email: string; scope: string; }
4
+ export interface MemberAccess { email: string; scope: string; signedIn?: boolean; }
5
5
  export function memberAccessChanged(): Error {
6
6
  const error = new Error("Member access changed"); error.name = "MemberAccessChanged"; return error;
7
7
  }
8
- export async function memberAccess(): Promise<MemberAccess> {
8
+ export async function memberAccess(options: { throwOnUnavailable?: boolean } = {}): Promise<MemberAccess> {
9
9
  let email = "";
10
+ let signedIn = false;
10
11
  let identityUnavailable = false;
11
12
  try {
12
- const value = await dispatch("himi.wix.memberIdentity") as { email?: unknown; payload?: { email?: unknown } } | null;
13
+ const value = await dispatch("himi.wix.memberIdentity") as { status?: unknown; ok?: unknown; email?: unknown; signedIn?: unknown; payload?: { email?: unknown; signedIn?: unknown } } | null;
14
+ if (value?.status === "error" || value?.ok === false) throw value;
13
15
  const raw = value?.email ?? value?.payload?.email;
14
16
  email = typeof raw === "string" ? raw.trim().toLowerCase() : "";
17
+ signedIn = (value?.signedIn ?? value?.payload?.signedIn) === true;
15
18
  } catch { identityUnavailable = true; }
16
19
  // Older native hosts predate the memberIdentity action but can still expose
17
20
  // the authenticated profile through wix-users. Only a missing action uses
18
- // that rung: an explicit empty current-session response remains a visitor.
21
+ // that rung. A successful host response is authoritative, including a signed-in
22
+ // session whose email has not arrived yet; it must not consult owner records.
19
23
  if (!email && identityUnavailable) {
20
24
  try {
21
25
  const profile = await getMyData();
22
26
  const raw = profile.email ?? profile.contactEmail;
23
27
  email = typeof raw === "string" ? raw.trim().toLowerCase() : "";
24
- } catch { /* A visitor or an unavailable legacy profile remains anonymous. */ }
28
+ } catch (error) {
29
+ const failure = error as { status?: unknown; statusCode?: unknown; code?: unknown } | null;
30
+ const anonymous = failure?.status === 401 || failure?.statusCode === 401 || failure?.code === "UNAUTHENTICATED";
31
+ // Legacy bridges can lose the structured status. An unknown failure is
32
+ // unavailable in strict consumers, never evidence of a signed-out session.
33
+ if (options.throwOnUnavailable && !anonymous) throw error;
34
+ }
25
35
  }
26
36
  const input = (globalThis as { himalaya?: { input?: Record<string, unknown> } }).himalaya?.input;
27
37
  const account = input?.__himiPreferenceAccount, business = input?.__himiPreferenceBusiness;
28
38
  const valid = (v: unknown): v is string => typeof v === "string" && /^[A-Za-z0-9_.:-]{1,128}$/.test(v) && v !== "default";
29
39
  // These fields are overwritten by authenticated hosts. Older binaries stay online-only.
30
- return { email, scope: email && valid(account) && valid(business) ? JSON.stringify([account, business, email]) : "" };
40
+ // A session signal does not grant an email-scoped cache or private query.
41
+ return { email, signedIn: signedIn || Boolean(email), scope: email && valid(account) && valid(business) ? JSON.stringify([account, business, email]) : "" };
31
42
  }
32
43
  export async function assertMemberAccess(member: MemberAccess): Promise<void> {
33
44
  const current = await memberAccess();