@ankhorage/templates 9.1.2 → 9.1.4

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 (741) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/authoring/compose-category-manifest.js +1 -1
  3. package/dist/authoring/compose-category-manifest.js.map +1 -1
  4. package/dist/authoring/create-manifest-shell.d.ts.map +1 -0
  5. package/dist/{templates/shared → authoring}/create-manifest-shell.js +1 -1
  6. package/dist/authoring/create-manifest-shell.js.map +1 -0
  7. package/dist/authoring/splash-screen.d.ts.map +1 -0
  8. package/dist/authoring/splash-screen.js.map +1 -0
  9. package/dist/catalog.d.ts +3 -4
  10. package/dist/catalog.d.ts.map +1 -1
  11. package/dist/catalog.js +11 -41
  12. package/dist/catalog.js.map +1 -1
  13. package/dist/commands.d.ts +4 -5
  14. package/dist/commands.d.ts.map +1 -1
  15. package/dist/commands.js +41 -68
  16. package/dist/commands.js.map +1 -1
  17. package/dist/fixtures/oauth.d.ts +1 -9
  18. package/dist/fixtures/oauth.d.ts.map +1 -1
  19. package/dist/fixtures/oauth.js +0 -13
  20. package/dist/fixtures/oauth.js.map +1 -1
  21. package/dist/index.d.ts +2 -3
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +2 -3
  24. package/dist/index.js.map +1 -1
  25. package/dist/internal/defaults.d.ts +0 -2
  26. package/dist/internal/defaults.d.ts.map +1 -1
  27. package/dist/internal/defaults.js +0 -2
  28. package/dist/internal/defaults.js.map +1 -1
  29. package/dist/projectSeed.d.ts +4 -4
  30. package/dist/projectSeed.d.ts.map +1 -1
  31. package/dist/projectSeed.js +16 -31
  32. package/dist/projectSeed.js.map +1 -1
  33. package/dist/templateSelector.d.ts +2 -2
  34. package/dist/templateSelector.d.ts.map +1 -1
  35. package/dist/templateSelector.js +13 -17
  36. package/dist/templateSelector.js.map +1 -1
  37. package/dist/templates/catalog.d.ts +33 -0
  38. package/dist/templates/catalog.d.ts.map +1 -0
  39. package/dist/templates/catalog.generated.d.ts +3 -0
  40. package/dist/templates/catalog.generated.d.ts.map +1 -0
  41. package/dist/templates/catalog.generated.js +10 -0
  42. package/dist/templates/catalog.generated.js.map +1 -0
  43. package/dist/templates/catalog.js +68 -0
  44. package/dist/templates/catalog.js.map +1 -0
  45. package/dist/templates/categories/lifestyle/stillpath/createAppManifest.d.ts +4 -0
  46. package/dist/templates/categories/lifestyle/stillpath/createAppManifest.d.ts.map +1 -0
  47. package/dist/templates/categories/lifestyle/stillpath/createAppManifest.js +991 -0
  48. package/dist/templates/categories/lifestyle/stillpath/createAppManifest.js.map +1 -0
  49. package/package.json +6 -6
  50. package/src/templates/categories/lifestyle/stillpath/assets/images/home-hero.webp +0 -0
  51. package/src/templates/categories/lifestyle/stillpath/assets/images/ocean-release.webp +0 -0
  52. package/src/templates/categories/lifestyle/stillpath/assets/images/reflection-rest.webp +0 -0
  53. package/src/templates/categories/lifestyle/stillpath/assets/images/ritual-hero.webp +0 -0
  54. package/src/templates/categories/lifestyle/stillpath/assets/screens/home.webp +0 -0
  55. package/src/templates/categories/lifestyle/stillpath/assets/screens/journal.webp +0 -0
  56. package/src/templates/categories/lifestyle/stillpath/assets/screens/profile.webp +0 -0
  57. package/src/templates/categories/lifestyle/stillpath/assets/screens/rituals.webp +0 -0
  58. package/assets/templates/capability-proof/checker.svg +0 -1
  59. package/dist/generators/create-category-app.d.ts +0 -5
  60. package/dist/generators/create-category-app.d.ts.map +0 -1
  61. package/dist/generators/create-category-app.js +0 -51
  62. package/dist/generators/create-category-app.js.map +0 -1
  63. package/dist/internal/merge.d.ts +0 -4
  64. package/dist/internal/merge.d.ts.map +0 -1
  65. package/dist/internal/merge.js +0 -24
  66. package/dist/internal/merge.js.map +0 -1
  67. package/dist/internal/overrides.d.ts +0 -7
  68. package/dist/internal/overrides.d.ts.map +0 -1
  69. package/dist/internal/overrides.js +0 -2
  70. package/dist/internal/overrides.js.map +0 -1
  71. package/dist/internal/zora-nodes.d.ts +0 -135
  72. package/dist/internal/zora-nodes.d.ts.map +0 -1
  73. package/dist/internal/zora-nodes.js +0 -9
  74. package/dist/internal/zora-nodes.js.map +0 -1
  75. package/dist/templates/shared/create-manifest-shell.d.ts.map +0 -1
  76. package/dist/templates/shared/create-manifest-shell.js.map +0 -1
  77. package/dist/templates/shared/create-theme.d.ts +0 -11
  78. package/dist/templates/shared/create-theme.d.ts.map +0 -1
  79. package/dist/templates/shared/create-theme.js +0 -19
  80. package/dist/templates/shared/create-theme.js.map +0 -1
  81. package/dist/templates/shared/index.d.ts +0 -7
  82. package/dist/templates/shared/index.d.ts.map +0 -1
  83. package/dist/templates/shared/index.js +0 -7
  84. package/dist/templates/shared/index.js.map +0 -1
  85. package/dist/templates/shared/route.d.ts +0 -13
  86. package/dist/templates/shared/route.d.ts.map +0 -1
  87. package/dist/templates/shared/route.js +0 -14
  88. package/dist/templates/shared/route.js.map +0 -1
  89. package/dist/templates/shared/screen.d.ts +0 -11
  90. package/dist/templates/shared/screen.d.ts.map +0 -1
  91. package/dist/templates/shared/screen.js +0 -12
  92. package/dist/templates/shared/screen.js.map +0 -1
  93. package/dist/templates/shared/splash-screen.d.ts.map +0 -1
  94. package/dist/templates/shared/splash-screen.js.map +0 -1
  95. package/dist/templates/shared/starter-screens.d.ts +0 -46
  96. package/dist/templates/shared/starter-screens.d.ts.map +0 -1
  97. package/dist/templates/shared/starter-screens.js +0 -53
  98. package/dist/templates/shared/starter-screens.js.map +0 -1
  99. package/dist/templates/shared/zora-node-helpers.d.ts +0 -12
  100. package/dist/templates/shared/zora-node-helpers.d.ts.map +0 -1
  101. package/dist/templates/shared/zora-node-helpers.js +0 -33
  102. package/dist/templates/shared/zora-node-helpers.js.map +0 -1
  103. package/dist/templates/starter/categories/books-reading/content.d.ts +0 -80
  104. package/dist/templates/starter/categories/books-reading/content.d.ts.map +0 -1
  105. package/dist/templates/starter/categories/books-reading/content.js +0 -100
  106. package/dist/templates/starter/categories/books-reading/content.js.map +0 -1
  107. package/dist/templates/starter/categories/books-reading/default.template.d.ts +0 -4
  108. package/dist/templates/starter/categories/books-reading/default.template.d.ts.map +0 -1
  109. package/dist/templates/starter/categories/books-reading/default.template.js +0 -17
  110. package/dist/templates/starter/categories/books-reading/default.template.js.map +0 -1
  111. package/dist/templates/starter/categories/books-reading/index.d.ts +0 -8
  112. package/dist/templates/starter/categories/books-reading/index.d.ts.map +0 -1
  113. package/dist/templates/starter/categories/books-reading/index.js +0 -10
  114. package/dist/templates/starter/categories/books-reading/index.js.map +0 -1
  115. package/dist/templates/starter/categories/books-reading/routes.d.ts +0 -11
  116. package/dist/templates/starter/categories/books-reading/routes.d.ts.map +0 -1
  117. package/dist/templates/starter/categories/books-reading/routes.js +0 -49
  118. package/dist/templates/starter/categories/books-reading/routes.js.map +0 -1
  119. package/dist/templates/starter/categories/books-reading/screens.d.ts +0 -5
  120. package/dist/templates/starter/categories/books-reading/screens.d.ts.map +0 -1
  121. package/dist/templates/starter/categories/books-reading/screens.js +0 -61
  122. package/dist/templates/starter/categories/books-reading/screens.js.map +0 -1
  123. package/dist/templates/starter/categories/business-productivity/content.d.ts +0 -98
  124. package/dist/templates/starter/categories/business-productivity/content.d.ts.map +0 -1
  125. package/dist/templates/starter/categories/business-productivity/content.js +0 -123
  126. package/dist/templates/starter/categories/business-productivity/content.js.map +0 -1
  127. package/dist/templates/starter/categories/business-productivity/default.template.d.ts +0 -4
  128. package/dist/templates/starter/categories/business-productivity/default.template.d.ts.map +0 -1
  129. package/dist/templates/starter/categories/business-productivity/default.template.js +0 -17
  130. package/dist/templates/starter/categories/business-productivity/default.template.js.map +0 -1
  131. package/dist/templates/starter/categories/business-productivity/index.d.ts +0 -8
  132. package/dist/templates/starter/categories/business-productivity/index.d.ts.map +0 -1
  133. package/dist/templates/starter/categories/business-productivity/index.js +0 -17
  134. package/dist/templates/starter/categories/business-productivity/index.js.map +0 -1
  135. package/dist/templates/starter/categories/business-productivity/routes.d.ts +0 -12
  136. package/dist/templates/starter/categories/business-productivity/routes.d.ts.map +0 -1
  137. package/dist/templates/starter/categories/business-productivity/routes.js +0 -56
  138. package/dist/templates/starter/categories/business-productivity/routes.js.map +0 -1
  139. package/dist/templates/starter/categories/business-productivity/screens.d.ts +0 -5
  140. package/dist/templates/starter/categories/business-productivity/screens.d.ts.map +0 -1
  141. package/dist/templates/starter/categories/business-productivity/screens.js +0 -67
  142. package/dist/templates/starter/categories/business-productivity/screens.js.map +0 -1
  143. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts +0 -190
  144. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts.map +0 -1
  145. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js +0 -236
  146. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js.map +0 -1
  147. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts +0 -2
  148. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts.map +0 -1
  149. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js +0 -2
  150. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js.map +0 -1
  151. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts +0 -7
  152. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts.map +0 -1
  153. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js +0 -21
  154. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js.map +0 -1
  155. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts +0 -4
  156. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts.map +0 -1
  157. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js +0 -42
  158. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js.map +0 -1
  159. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts +0 -4
  160. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts.map +0 -1
  161. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js +0 -35
  162. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js.map +0 -1
  163. package/dist/templates/starter/categories/developer-tools/content.d.ts +0 -98
  164. package/dist/templates/starter/categories/developer-tools/content.d.ts.map +0 -1
  165. package/dist/templates/starter/categories/developer-tools/content.js +0 -123
  166. package/dist/templates/starter/categories/developer-tools/content.js.map +0 -1
  167. package/dist/templates/starter/categories/developer-tools/default.template.d.ts +0 -4
  168. package/dist/templates/starter/categories/developer-tools/default.template.d.ts.map +0 -1
  169. package/dist/templates/starter/categories/developer-tools/default.template.js +0 -17
  170. package/dist/templates/starter/categories/developer-tools/default.template.js.map +0 -1
  171. package/dist/templates/starter/categories/developer-tools/index.d.ts +0 -8
  172. package/dist/templates/starter/categories/developer-tools/index.d.ts.map +0 -1
  173. package/dist/templates/starter/categories/developer-tools/index.js +0 -10
  174. package/dist/templates/starter/categories/developer-tools/index.js.map +0 -1
  175. package/dist/templates/starter/categories/developer-tools/routes.d.ts +0 -12
  176. package/dist/templates/starter/categories/developer-tools/routes.d.ts.map +0 -1
  177. package/dist/templates/starter/categories/developer-tools/routes.js +0 -56
  178. package/dist/templates/starter/categories/developer-tools/routes.js.map +0 -1
  179. package/dist/templates/starter/categories/developer-tools/screens.d.ts +0 -5
  180. package/dist/templates/starter/categories/developer-tools/screens.d.ts.map +0 -1
  181. package/dist/templates/starter/categories/developer-tools/screens.js +0 -67
  182. package/dist/templates/starter/categories/developer-tools/screens.js.map +0 -1
  183. package/dist/templates/starter/categories/education-learning/content.d.ts +0 -80
  184. package/dist/templates/starter/categories/education-learning/content.d.ts.map +0 -1
  185. package/dist/templates/starter/categories/education-learning/content.js +0 -100
  186. package/dist/templates/starter/categories/education-learning/content.js.map +0 -1
  187. package/dist/templates/starter/categories/education-learning/default.template.d.ts +0 -4
  188. package/dist/templates/starter/categories/education-learning/default.template.d.ts.map +0 -1
  189. package/dist/templates/starter/categories/education-learning/default.template.js +0 -17
  190. package/dist/templates/starter/categories/education-learning/default.template.js.map +0 -1
  191. package/dist/templates/starter/categories/education-learning/index.d.ts +0 -8
  192. package/dist/templates/starter/categories/education-learning/index.d.ts.map +0 -1
  193. package/dist/templates/starter/categories/education-learning/index.js +0 -10
  194. package/dist/templates/starter/categories/education-learning/index.js.map +0 -1
  195. package/dist/templates/starter/categories/education-learning/routes.d.ts +0 -11
  196. package/dist/templates/starter/categories/education-learning/routes.d.ts.map +0 -1
  197. package/dist/templates/starter/categories/education-learning/routes.js +0 -49
  198. package/dist/templates/starter/categories/education-learning/routes.js.map +0 -1
  199. package/dist/templates/starter/categories/education-learning/screens.d.ts +0 -5
  200. package/dist/templates/starter/categories/education-learning/screens.d.ts.map +0 -1
  201. package/dist/templates/starter/categories/education-learning/screens.js +0 -61
  202. package/dist/templates/starter/categories/education-learning/screens.js.map +0 -1
  203. package/dist/templates/starter/categories/entertainment-media/content.d.ts +0 -80
  204. package/dist/templates/starter/categories/entertainment-media/content.d.ts.map +0 -1
  205. package/dist/templates/starter/categories/entertainment-media/content.js +0 -100
  206. package/dist/templates/starter/categories/entertainment-media/content.js.map +0 -1
  207. package/dist/templates/starter/categories/entertainment-media/default.template.d.ts +0 -4
  208. package/dist/templates/starter/categories/entertainment-media/default.template.d.ts.map +0 -1
  209. package/dist/templates/starter/categories/entertainment-media/default.template.js +0 -17
  210. package/dist/templates/starter/categories/entertainment-media/default.template.js.map +0 -1
  211. package/dist/templates/starter/categories/entertainment-media/index.d.ts +0 -8
  212. package/dist/templates/starter/categories/entertainment-media/index.d.ts.map +0 -1
  213. package/dist/templates/starter/categories/entertainment-media/index.js +0 -10
  214. package/dist/templates/starter/categories/entertainment-media/index.js.map +0 -1
  215. package/dist/templates/starter/categories/entertainment-media/routes.d.ts +0 -11
  216. package/dist/templates/starter/categories/entertainment-media/routes.d.ts.map +0 -1
  217. package/dist/templates/starter/categories/entertainment-media/routes.js +0 -49
  218. package/dist/templates/starter/categories/entertainment-media/routes.js.map +0 -1
  219. package/dist/templates/starter/categories/entertainment-media/screens.d.ts +0 -5
  220. package/dist/templates/starter/categories/entertainment-media/screens.d.ts.map +0 -1
  221. package/dist/templates/starter/categories/entertainment-media/screens.js +0 -61
  222. package/dist/templates/starter/categories/entertainment-media/screens.js.map +0 -1
  223. package/dist/templates/starter/categories/finance-money/content.d.ts +0 -93
  224. package/dist/templates/starter/categories/finance-money/content.d.ts.map +0 -1
  225. package/dist/templates/starter/categories/finance-money/content.js +0 -118
  226. package/dist/templates/starter/categories/finance-money/content.js.map +0 -1
  227. package/dist/templates/starter/categories/finance-money/default.template.d.ts +0 -4
  228. package/dist/templates/starter/categories/finance-money/default.template.d.ts.map +0 -1
  229. package/dist/templates/starter/categories/finance-money/default.template.js +0 -17
  230. package/dist/templates/starter/categories/finance-money/default.template.js.map +0 -1
  231. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts +0 -2
  232. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts.map +0 -1
  233. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js +0 -2
  234. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js.map +0 -1
  235. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts +0 -11
  236. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts.map +0 -1
  237. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js +0 -49
  238. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js.map +0 -1
  239. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts +0 -4
  240. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts.map +0 -1
  241. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js +0 -299
  242. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js.map +0 -1
  243. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts +0 -4
  244. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts.map +0 -1
  245. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js +0 -35
  246. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js.map +0 -1
  247. package/dist/templates/starter/categories/finance-money/index.d.ts +0 -8
  248. package/dist/templates/starter/categories/finance-money/index.d.ts.map +0 -1
  249. package/dist/templates/starter/categories/finance-money/index.js +0 -17
  250. package/dist/templates/starter/categories/finance-money/index.js.map +0 -1
  251. package/dist/templates/starter/categories/finance-money/routes.d.ts +0 -11
  252. package/dist/templates/starter/categories/finance-money/routes.d.ts.map +0 -1
  253. package/dist/templates/starter/categories/finance-money/routes.js +0 -49
  254. package/dist/templates/starter/categories/finance-money/routes.js.map +0 -1
  255. package/dist/templates/starter/categories/finance-money/screens.d.ts +0 -5
  256. package/dist/templates/starter/categories/finance-money/screens.d.ts.map +0 -1
  257. package/dist/templates/starter/categories/finance-money/screens.js +0 -37
  258. package/dist/templates/starter/categories/finance-money/screens.js.map +0 -1
  259. package/dist/templates/starter/categories/food-drink/content.d.ts +0 -80
  260. package/dist/templates/starter/categories/food-drink/content.d.ts.map +0 -1
  261. package/dist/templates/starter/categories/food-drink/content.js +0 -100
  262. package/dist/templates/starter/categories/food-drink/content.js.map +0 -1
  263. package/dist/templates/starter/categories/food-drink/default.template.d.ts +0 -4
  264. package/dist/templates/starter/categories/food-drink/default.template.d.ts.map +0 -1
  265. package/dist/templates/starter/categories/food-drink/default.template.js +0 -17
  266. package/dist/templates/starter/categories/food-drink/default.template.js.map +0 -1
  267. package/dist/templates/starter/categories/food-drink/index.d.ts +0 -8
  268. package/dist/templates/starter/categories/food-drink/index.d.ts.map +0 -1
  269. package/dist/templates/starter/categories/food-drink/index.js +0 -17
  270. package/dist/templates/starter/categories/food-drink/index.js.map +0 -1
  271. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts +0 -3
  272. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts.map +0 -1
  273. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js +0 -18
  274. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js.map +0 -1
  275. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts +0 -165
  276. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts.map +0 -1
  277. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js +0 -138
  278. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js.map +0 -1
  279. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts +0 -33
  280. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts.map +0 -1
  281. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js +0 -80
  282. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js.map +0 -1
  283. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts +0 -3
  284. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts.map +0 -1
  285. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js +0 -310
  286. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js.map +0 -1
  287. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts +0 -3
  288. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts.map +0 -1
  289. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js +0 -44
  290. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js.map +0 -1
  291. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts +0 -129
  292. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts.map +0 -1
  293. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js +0 -237
  294. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js.map +0 -1
  295. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts +0 -29
  296. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts.map +0 -1
  297. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js +0 -32
  298. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js.map +0 -1
  299. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts +0 -2
  300. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts.map +0 -1
  301. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js +0 -2
  302. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js.map +0 -1
  303. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts +0 -3
  304. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts.map +0 -1
  305. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js +0 -88
  306. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js.map +0 -1
  307. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts +0 -8
  308. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts.map +0 -1
  309. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js +0 -96
  310. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js.map +0 -1
  311. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts +0 -15
  312. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts.map +0 -1
  313. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js +0 -69
  314. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js.map +0 -1
  315. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts +0 -3
  316. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts.map +0 -1
  317. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js +0 -20
  318. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js.map +0 -1
  319. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts +0 -5
  320. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts.map +0 -1
  321. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js +0 -86
  322. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js.map +0 -1
  323. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts +0 -8
  324. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts.map +0 -1
  325. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js +0 -44
  326. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js.map +0 -1
  327. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts +0 -4
  328. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts.map +0 -1
  329. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js +0 -50
  330. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js.map +0 -1
  331. package/dist/templates/starter/categories/food-drink/routes.d.ts +0 -11
  332. package/dist/templates/starter/categories/food-drink/routes.d.ts.map +0 -1
  333. package/dist/templates/starter/categories/food-drink/routes.js +0 -49
  334. package/dist/templates/starter/categories/food-drink/routes.js.map +0 -1
  335. package/dist/templates/starter/categories/food-drink/screens.d.ts +0 -5
  336. package/dist/templates/starter/categories/food-drink/screens.d.ts.map +0 -1
  337. package/dist/templates/starter/categories/food-drink/screens.js +0 -93
  338. package/dist/templates/starter/categories/food-drink/screens.js.map +0 -1
  339. package/dist/templates/starter/categories/games/chess/content.d.ts +0 -39
  340. package/dist/templates/starter/categories/games/chess/content.d.ts.map +0 -1
  341. package/dist/templates/starter/categories/games/chess/content.js +0 -49
  342. package/dist/templates/starter/categories/games/chess/content.js.map +0 -1
  343. package/dist/templates/starter/categories/games/chess/index.d.ts +0 -2
  344. package/dist/templates/starter/categories/games/chess/index.d.ts.map +0 -1
  345. package/dist/templates/starter/categories/games/chess/index.js +0 -2
  346. package/dist/templates/starter/categories/games/chess/index.js.map +0 -1
  347. package/dist/templates/starter/categories/games/chess/routes.d.ts +0 -8
  348. package/dist/templates/starter/categories/games/chess/routes.d.ts.map +0 -1
  349. package/dist/templates/starter/categories/games/chess/routes.js +0 -28
  350. package/dist/templates/starter/categories/games/chess/routes.js.map +0 -1
  351. package/dist/templates/starter/categories/games/chess/screens.d.ts +0 -5
  352. package/dist/templates/starter/categories/games/chess/screens.d.ts.map +0 -1
  353. package/dist/templates/starter/categories/games/chess/screens.js +0 -124
  354. package/dist/templates/starter/categories/games/chess/screens.js.map +0 -1
  355. package/dist/templates/starter/categories/games/chess/template.d.ts +0 -4
  356. package/dist/templates/starter/categories/games/chess/template.d.ts.map +0 -1
  357. package/dist/templates/starter/categories/games/chess/template.js +0 -17
  358. package/dist/templates/starter/categories/games/chess/template.js.map +0 -1
  359. package/dist/templates/starter/categories/games/content.d.ts +0 -80
  360. package/dist/templates/starter/categories/games/content.d.ts.map +0 -1
  361. package/dist/templates/starter/categories/games/content.js +0 -100
  362. package/dist/templates/starter/categories/games/content.js.map +0 -1
  363. package/dist/templates/starter/categories/games/default.template.d.ts +0 -4
  364. package/dist/templates/starter/categories/games/default.template.d.ts.map +0 -1
  365. package/dist/templates/starter/categories/games/default.template.js +0 -17
  366. package/dist/templates/starter/categories/games/default.template.js.map +0 -1
  367. package/dist/templates/starter/categories/games/index.d.ts +0 -8
  368. package/dist/templates/starter/categories/games/index.d.ts.map +0 -1
  369. package/dist/templates/starter/categories/games/index.js +0 -24
  370. package/dist/templates/starter/categories/games/index.js.map +0 -1
  371. package/dist/templates/starter/categories/games/poker/content.d.ts +0 -11
  372. package/dist/templates/starter/categories/games/poker/content.d.ts.map +0 -1
  373. package/dist/templates/starter/categories/games/poker/content.js +0 -11
  374. package/dist/templates/starter/categories/games/poker/content.js.map +0 -1
  375. package/dist/templates/starter/categories/games/poker/data.d.ts +0 -35
  376. package/dist/templates/starter/categories/games/poker/data.d.ts.map +0 -1
  377. package/dist/templates/starter/categories/games/poker/data.js +0 -69
  378. package/dist/templates/starter/categories/games/poker/data.js.map +0 -1
  379. package/dist/templates/starter/categories/games/poker/index.d.ts +0 -2
  380. package/dist/templates/starter/categories/games/poker/index.d.ts.map +0 -1
  381. package/dist/templates/starter/categories/games/poker/index.js +0 -2
  382. package/dist/templates/starter/categories/games/poker/index.js.map +0 -1
  383. package/dist/templates/starter/categories/games/poker/routes.d.ts +0 -8
  384. package/dist/templates/starter/categories/games/poker/routes.d.ts.map +0 -1
  385. package/dist/templates/starter/categories/games/poker/routes.js +0 -28
  386. package/dist/templates/starter/categories/games/poker/routes.js.map +0 -1
  387. package/dist/templates/starter/categories/games/poker/screens.d.ts +0 -5
  388. package/dist/templates/starter/categories/games/poker/screens.d.ts.map +0 -1
  389. package/dist/templates/starter/categories/games/poker/screens.js +0 -125
  390. package/dist/templates/starter/categories/games/poker/screens.js.map +0 -1
  391. package/dist/templates/starter/categories/games/poker/template.d.ts +0 -4
  392. package/dist/templates/starter/categories/games/poker/template.d.ts.map +0 -1
  393. package/dist/templates/starter/categories/games/poker/template.js +0 -17
  394. package/dist/templates/starter/categories/games/poker/template.js.map +0 -1
  395. package/dist/templates/starter/categories/games/routes.d.ts +0 -11
  396. package/dist/templates/starter/categories/games/routes.d.ts.map +0 -1
  397. package/dist/templates/starter/categories/games/routes.js +0 -49
  398. package/dist/templates/starter/categories/games/routes.js.map +0 -1
  399. package/dist/templates/starter/categories/games/screens.d.ts +0 -5
  400. package/dist/templates/starter/categories/games/screens.d.ts.map +0 -1
  401. package/dist/templates/starter/categories/games/screens.js +0 -61
  402. package/dist/templates/starter/categories/games/screens.js.map +0 -1
  403. package/dist/templates/starter/categories/graphics-design/content.d.ts +0 -98
  404. package/dist/templates/starter/categories/graphics-design/content.d.ts.map +0 -1
  405. package/dist/templates/starter/categories/graphics-design/content.js +0 -123
  406. package/dist/templates/starter/categories/graphics-design/content.js.map +0 -1
  407. package/dist/templates/starter/categories/graphics-design/default.template.d.ts +0 -4
  408. package/dist/templates/starter/categories/graphics-design/default.template.d.ts.map +0 -1
  409. package/dist/templates/starter/categories/graphics-design/default.template.js +0 -17
  410. package/dist/templates/starter/categories/graphics-design/default.template.js.map +0 -1
  411. package/dist/templates/starter/categories/graphics-design/index.d.ts +0 -8
  412. package/dist/templates/starter/categories/graphics-design/index.d.ts.map +0 -1
  413. package/dist/templates/starter/categories/graphics-design/index.js +0 -10
  414. package/dist/templates/starter/categories/graphics-design/index.js.map +0 -1
  415. package/dist/templates/starter/categories/graphics-design/routes.d.ts +0 -12
  416. package/dist/templates/starter/categories/graphics-design/routes.d.ts.map +0 -1
  417. package/dist/templates/starter/categories/graphics-design/routes.js +0 -56
  418. package/dist/templates/starter/categories/graphics-design/routes.js.map +0 -1
  419. package/dist/templates/starter/categories/graphics-design/screens.d.ts +0 -5
  420. package/dist/templates/starter/categories/graphics-design/screens.d.ts.map +0 -1
  421. package/dist/templates/starter/categories/graphics-design/screens.js +0 -67
  422. package/dist/templates/starter/categories/graphics-design/screens.js.map +0 -1
  423. package/dist/templates/starter/categories/health-fitness/content.d.ts +0 -80
  424. package/dist/templates/starter/categories/health-fitness/content.d.ts.map +0 -1
  425. package/dist/templates/starter/categories/health-fitness/content.js +0 -100
  426. package/dist/templates/starter/categories/health-fitness/content.js.map +0 -1
  427. package/dist/templates/starter/categories/health-fitness/default.template.d.ts +0 -4
  428. package/dist/templates/starter/categories/health-fitness/default.template.d.ts.map +0 -1
  429. package/dist/templates/starter/categories/health-fitness/default.template.js +0 -17
  430. package/dist/templates/starter/categories/health-fitness/default.template.js.map +0 -1
  431. package/dist/templates/starter/categories/health-fitness/index.d.ts +0 -8
  432. package/dist/templates/starter/categories/health-fitness/index.d.ts.map +0 -1
  433. package/dist/templates/starter/categories/health-fitness/index.js +0 -10
  434. package/dist/templates/starter/categories/health-fitness/index.js.map +0 -1
  435. package/dist/templates/starter/categories/health-fitness/routes.d.ts +0 -11
  436. package/dist/templates/starter/categories/health-fitness/routes.d.ts.map +0 -1
  437. package/dist/templates/starter/categories/health-fitness/routes.js +0 -49
  438. package/dist/templates/starter/categories/health-fitness/routes.js.map +0 -1
  439. package/dist/templates/starter/categories/health-fitness/screens.d.ts +0 -5
  440. package/dist/templates/starter/categories/health-fitness/screens.d.ts.map +0 -1
  441. package/dist/templates/starter/categories/health-fitness/screens.js +0 -89
  442. package/dist/templates/starter/categories/health-fitness/screens.js.map +0 -1
  443. package/dist/templates/starter/categories/kids-family/content.d.ts +0 -80
  444. package/dist/templates/starter/categories/kids-family/content.d.ts.map +0 -1
  445. package/dist/templates/starter/categories/kids-family/content.js +0 -100
  446. package/dist/templates/starter/categories/kids-family/content.js.map +0 -1
  447. package/dist/templates/starter/categories/kids-family/default.template.d.ts +0 -4
  448. package/dist/templates/starter/categories/kids-family/default.template.d.ts.map +0 -1
  449. package/dist/templates/starter/categories/kids-family/default.template.js +0 -17
  450. package/dist/templates/starter/categories/kids-family/default.template.js.map +0 -1
  451. package/dist/templates/starter/categories/kids-family/index.d.ts +0 -8
  452. package/dist/templates/starter/categories/kids-family/index.d.ts.map +0 -1
  453. package/dist/templates/starter/categories/kids-family/index.js +0 -10
  454. package/dist/templates/starter/categories/kids-family/index.js.map +0 -1
  455. package/dist/templates/starter/categories/kids-family/routes.d.ts +0 -11
  456. package/dist/templates/starter/categories/kids-family/routes.d.ts.map +0 -1
  457. package/dist/templates/starter/categories/kids-family/routes.js +0 -49
  458. package/dist/templates/starter/categories/kids-family/routes.js.map +0 -1
  459. package/dist/templates/starter/categories/kids-family/screens.d.ts +0 -5
  460. package/dist/templates/starter/categories/kids-family/screens.d.ts.map +0 -1
  461. package/dist/templates/starter/categories/kids-family/screens.js +0 -61
  462. package/dist/templates/starter/categories/kids-family/screens.js.map +0 -1
  463. package/dist/templates/starter/categories/lifestyle/content.d.ts +0 -80
  464. package/dist/templates/starter/categories/lifestyle/content.d.ts.map +0 -1
  465. package/dist/templates/starter/categories/lifestyle/content.js +0 -100
  466. package/dist/templates/starter/categories/lifestyle/content.js.map +0 -1
  467. package/dist/templates/starter/categories/lifestyle/default.template.d.ts +0 -4
  468. package/dist/templates/starter/categories/lifestyle/default.template.d.ts.map +0 -1
  469. package/dist/templates/starter/categories/lifestyle/default.template.js +0 -17
  470. package/dist/templates/starter/categories/lifestyle/default.template.js.map +0 -1
  471. package/dist/templates/starter/categories/lifestyle/index.d.ts +0 -8
  472. package/dist/templates/starter/categories/lifestyle/index.d.ts.map +0 -1
  473. package/dist/templates/starter/categories/lifestyle/index.js +0 -10
  474. package/dist/templates/starter/categories/lifestyle/index.js.map +0 -1
  475. package/dist/templates/starter/categories/lifestyle/routes.d.ts +0 -11
  476. package/dist/templates/starter/categories/lifestyle/routes.d.ts.map +0 -1
  477. package/dist/templates/starter/categories/lifestyle/routes.js +0 -49
  478. package/dist/templates/starter/categories/lifestyle/routes.js.map +0 -1
  479. package/dist/templates/starter/categories/lifestyle/screens.d.ts +0 -5
  480. package/dist/templates/starter/categories/lifestyle/screens.d.ts.map +0 -1
  481. package/dist/templates/starter/categories/lifestyle/screens.js +0 -61
  482. package/dist/templates/starter/categories/lifestyle/screens.js.map +0 -1
  483. package/dist/templates/starter/categories/medical/content.d.ts +0 -80
  484. package/dist/templates/starter/categories/medical/content.d.ts.map +0 -1
  485. package/dist/templates/starter/categories/medical/content.js +0 -100
  486. package/dist/templates/starter/categories/medical/content.js.map +0 -1
  487. package/dist/templates/starter/categories/medical/default.template.d.ts +0 -4
  488. package/dist/templates/starter/categories/medical/default.template.d.ts.map +0 -1
  489. package/dist/templates/starter/categories/medical/default.template.js +0 -17
  490. package/dist/templates/starter/categories/medical/default.template.js.map +0 -1
  491. package/dist/templates/starter/categories/medical/index.d.ts +0 -8
  492. package/dist/templates/starter/categories/medical/index.d.ts.map +0 -1
  493. package/dist/templates/starter/categories/medical/index.js +0 -10
  494. package/dist/templates/starter/categories/medical/index.js.map +0 -1
  495. package/dist/templates/starter/categories/medical/routes.d.ts +0 -11
  496. package/dist/templates/starter/categories/medical/routes.d.ts.map +0 -1
  497. package/dist/templates/starter/categories/medical/routes.js +0 -49
  498. package/dist/templates/starter/categories/medical/routes.js.map +0 -1
  499. package/dist/templates/starter/categories/medical/screens.d.ts +0 -5
  500. package/dist/templates/starter/categories/medical/screens.d.ts.map +0 -1
  501. package/dist/templates/starter/categories/medical/screens.js +0 -61
  502. package/dist/templates/starter/categories/medical/screens.js.map +0 -1
  503. package/dist/templates/starter/categories/music-audio/content.d.ts +0 -67
  504. package/dist/templates/starter/categories/music-audio/content.d.ts.map +0 -1
  505. package/dist/templates/starter/categories/music-audio/content.js +0 -82
  506. package/dist/templates/starter/categories/music-audio/content.js.map +0 -1
  507. package/dist/templates/starter/categories/music-audio/default.template.d.ts +0 -4
  508. package/dist/templates/starter/categories/music-audio/default.template.d.ts.map +0 -1
  509. package/dist/templates/starter/categories/music-audio/default.template.js +0 -17
  510. package/dist/templates/starter/categories/music-audio/default.template.js.map +0 -1
  511. package/dist/templates/starter/categories/music-audio/index.d.ts +0 -8
  512. package/dist/templates/starter/categories/music-audio/index.d.ts.map +0 -1
  513. package/dist/templates/starter/categories/music-audio/index.js +0 -10
  514. package/dist/templates/starter/categories/music-audio/index.js.map +0 -1
  515. package/dist/templates/starter/categories/music-audio/routes.d.ts +0 -11
  516. package/dist/templates/starter/categories/music-audio/routes.d.ts.map +0 -1
  517. package/dist/templates/starter/categories/music-audio/routes.js +0 -49
  518. package/dist/templates/starter/categories/music-audio/routes.js.map +0 -1
  519. package/dist/templates/starter/categories/music-audio/screens.d.ts +0 -5
  520. package/dist/templates/starter/categories/music-audio/screens.d.ts.map +0 -1
  521. package/dist/templates/starter/categories/music-audio/screens.js +0 -100
  522. package/dist/templates/starter/categories/music-audio/screens.js.map +0 -1
  523. package/dist/templates/starter/categories/navigation-travel/content.d.ts +0 -80
  524. package/dist/templates/starter/categories/navigation-travel/content.d.ts.map +0 -1
  525. package/dist/templates/starter/categories/navigation-travel/content.js +0 -100
  526. package/dist/templates/starter/categories/navigation-travel/content.js.map +0 -1
  527. package/dist/templates/starter/categories/navigation-travel/default.template.d.ts +0 -4
  528. package/dist/templates/starter/categories/navigation-travel/default.template.d.ts.map +0 -1
  529. package/dist/templates/starter/categories/navigation-travel/default.template.js +0 -17
  530. package/dist/templates/starter/categories/navigation-travel/default.template.js.map +0 -1
  531. package/dist/templates/starter/categories/navigation-travel/index.d.ts +0 -8
  532. package/dist/templates/starter/categories/navigation-travel/index.d.ts.map +0 -1
  533. package/dist/templates/starter/categories/navigation-travel/index.js +0 -10
  534. package/dist/templates/starter/categories/navigation-travel/index.js.map +0 -1
  535. package/dist/templates/starter/categories/navigation-travel/routes.d.ts +0 -11
  536. package/dist/templates/starter/categories/navigation-travel/routes.d.ts.map +0 -1
  537. package/dist/templates/starter/categories/navigation-travel/routes.js +0 -49
  538. package/dist/templates/starter/categories/navigation-travel/routes.js.map +0 -1
  539. package/dist/templates/starter/categories/navigation-travel/screens.d.ts +0 -5
  540. package/dist/templates/starter/categories/navigation-travel/screens.d.ts.map +0 -1
  541. package/dist/templates/starter/categories/navigation-travel/screens.js +0 -61
  542. package/dist/templates/starter/categories/navigation-travel/screens.js.map +0 -1
  543. package/dist/templates/starter/categories/news-magazines/content.d.ts +0 -67
  544. package/dist/templates/starter/categories/news-magazines/content.d.ts.map +0 -1
  545. package/dist/templates/starter/categories/news-magazines/content.js +0 -82
  546. package/dist/templates/starter/categories/news-magazines/content.js.map +0 -1
  547. package/dist/templates/starter/categories/news-magazines/default.template.d.ts +0 -4
  548. package/dist/templates/starter/categories/news-magazines/default.template.d.ts.map +0 -1
  549. package/dist/templates/starter/categories/news-magazines/default.template.js +0 -17
  550. package/dist/templates/starter/categories/news-magazines/default.template.js.map +0 -1
  551. package/dist/templates/starter/categories/news-magazines/index.d.ts +0 -8
  552. package/dist/templates/starter/categories/news-magazines/index.d.ts.map +0 -1
  553. package/dist/templates/starter/categories/news-magazines/index.js +0 -10
  554. package/dist/templates/starter/categories/news-magazines/index.js.map +0 -1
  555. package/dist/templates/starter/categories/news-magazines/routes.d.ts +0 -11
  556. package/dist/templates/starter/categories/news-magazines/routes.d.ts.map +0 -1
  557. package/dist/templates/starter/categories/news-magazines/routes.js +0 -49
  558. package/dist/templates/starter/categories/news-magazines/routes.js.map +0 -1
  559. package/dist/templates/starter/categories/news-magazines/screens.d.ts +0 -5
  560. package/dist/templates/starter/categories/news-magazines/screens.d.ts.map +0 -1
  561. package/dist/templates/starter/categories/news-magazines/screens.js +0 -88
  562. package/dist/templates/starter/categories/news-magazines/screens.js.map +0 -1
  563. package/dist/templates/starter/categories/photo-video/content.d.ts +0 -80
  564. package/dist/templates/starter/categories/photo-video/content.d.ts.map +0 -1
  565. package/dist/templates/starter/categories/photo-video/content.js +0 -100
  566. package/dist/templates/starter/categories/photo-video/content.js.map +0 -1
  567. package/dist/templates/starter/categories/photo-video/default.template.d.ts +0 -4
  568. package/dist/templates/starter/categories/photo-video/default.template.d.ts.map +0 -1
  569. package/dist/templates/starter/categories/photo-video/default.template.js +0 -17
  570. package/dist/templates/starter/categories/photo-video/default.template.js.map +0 -1
  571. package/dist/templates/starter/categories/photo-video/index.d.ts +0 -8
  572. package/dist/templates/starter/categories/photo-video/index.d.ts.map +0 -1
  573. package/dist/templates/starter/categories/photo-video/index.js +0 -10
  574. package/dist/templates/starter/categories/photo-video/index.js.map +0 -1
  575. package/dist/templates/starter/categories/photo-video/routes.d.ts +0 -11
  576. package/dist/templates/starter/categories/photo-video/routes.d.ts.map +0 -1
  577. package/dist/templates/starter/categories/photo-video/routes.js +0 -49
  578. package/dist/templates/starter/categories/photo-video/routes.js.map +0 -1
  579. package/dist/templates/starter/categories/photo-video/screens.d.ts +0 -5
  580. package/dist/templates/starter/categories/photo-video/screens.d.ts.map +0 -1
  581. package/dist/templates/starter/categories/photo-video/screens.js +0 -61
  582. package/dist/templates/starter/categories/photo-video/screens.js.map +0 -1
  583. package/dist/templates/starter/categories/reference/content.d.ts +0 -85
  584. package/dist/templates/starter/categories/reference/content.d.ts.map +0 -1
  585. package/dist/templates/starter/categories/reference/content.js +0 -105
  586. package/dist/templates/starter/categories/reference/content.js.map +0 -1
  587. package/dist/templates/starter/categories/reference/default.template.d.ts +0 -4
  588. package/dist/templates/starter/categories/reference/default.template.d.ts.map +0 -1
  589. package/dist/templates/starter/categories/reference/default.template.js +0 -17
  590. package/dist/templates/starter/categories/reference/default.template.js.map +0 -1
  591. package/dist/templates/starter/categories/reference/index.d.ts +0 -8
  592. package/dist/templates/starter/categories/reference/index.d.ts.map +0 -1
  593. package/dist/templates/starter/categories/reference/index.js +0 -10
  594. package/dist/templates/starter/categories/reference/index.js.map +0 -1
  595. package/dist/templates/starter/categories/reference/routes.d.ts +0 -12
  596. package/dist/templates/starter/categories/reference/routes.d.ts.map +0 -1
  597. package/dist/templates/starter/categories/reference/routes.js +0 -56
  598. package/dist/templates/starter/categories/reference/routes.js.map +0 -1
  599. package/dist/templates/starter/categories/reference/screens.d.ts +0 -5
  600. package/dist/templates/starter/categories/reference/screens.d.ts.map +0 -1
  601. package/dist/templates/starter/categories/reference/screens.js +0 -94
  602. package/dist/templates/starter/categories/reference/screens.js.map +0 -1
  603. package/dist/templates/starter/categories/shopping-commerce/content.d.ts +0 -80
  604. package/dist/templates/starter/categories/shopping-commerce/content.d.ts.map +0 -1
  605. package/dist/templates/starter/categories/shopping-commerce/content.js +0 -100
  606. package/dist/templates/starter/categories/shopping-commerce/content.js.map +0 -1
  607. package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts +0 -4
  608. package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts.map +0 -1
  609. package/dist/templates/starter/categories/shopping-commerce/default.template.js +0 -17
  610. package/dist/templates/starter/categories/shopping-commerce/default.template.js.map +0 -1
  611. package/dist/templates/starter/categories/shopping-commerce/index.d.ts +0 -8
  612. package/dist/templates/starter/categories/shopping-commerce/index.d.ts.map +0 -1
  613. package/dist/templates/starter/categories/shopping-commerce/index.js +0 -10
  614. package/dist/templates/starter/categories/shopping-commerce/index.js.map +0 -1
  615. package/dist/templates/starter/categories/shopping-commerce/routes.d.ts +0 -11
  616. package/dist/templates/starter/categories/shopping-commerce/routes.d.ts.map +0 -1
  617. package/dist/templates/starter/categories/shopping-commerce/routes.js +0 -49
  618. package/dist/templates/starter/categories/shopping-commerce/routes.js.map +0 -1
  619. package/dist/templates/starter/categories/shopping-commerce/screens.d.ts +0 -5
  620. package/dist/templates/starter/categories/shopping-commerce/screens.d.ts.map +0 -1
  621. package/dist/templates/starter/categories/shopping-commerce/screens.js +0 -89
  622. package/dist/templates/starter/categories/shopping-commerce/screens.js.map +0 -1
  623. package/dist/templates/starter/categories/social-community/community.template.d.ts +0 -4
  624. package/dist/templates/starter/categories/social-community/community.template.d.ts.map +0 -1
  625. package/dist/templates/starter/categories/social-community/community.template.js +0 -17
  626. package/dist/templates/starter/categories/social-community/community.template.js.map +0 -1
  627. package/dist/templates/starter/categories/social-community/content.d.ts +0 -183
  628. package/dist/templates/starter/categories/social-community/content.d.ts.map +0 -1
  629. package/dist/templates/starter/categories/social-community/content.js +0 -231
  630. package/dist/templates/starter/categories/social-community/content.js.map +0 -1
  631. package/dist/templates/starter/categories/social-community/creator/index.d.ts +0 -2
  632. package/dist/templates/starter/categories/social-community/creator/index.d.ts.map +0 -1
  633. package/dist/templates/starter/categories/social-community/creator/index.js +0 -2
  634. package/dist/templates/starter/categories/social-community/creator/index.js.map +0 -1
  635. package/dist/templates/starter/categories/social-community/creator/routes.d.ts +0 -11
  636. package/dist/templates/starter/categories/social-community/creator/routes.d.ts.map +0 -1
  637. package/dist/templates/starter/categories/social-community/creator/routes.js +0 -49
  638. package/dist/templates/starter/categories/social-community/creator/routes.js.map +0 -1
  639. package/dist/templates/starter/categories/social-community/creator/screens.d.ts +0 -5
  640. package/dist/templates/starter/categories/social-community/creator/screens.d.ts.map +0 -1
  641. package/dist/templates/starter/categories/social-community/creator/screens.js +0 -96
  642. package/dist/templates/starter/categories/social-community/creator/screens.js.map +0 -1
  643. package/dist/templates/starter/categories/social-community/creator/template.d.ts +0 -4
  644. package/dist/templates/starter/categories/social-community/creator/template.d.ts.map +0 -1
  645. package/dist/templates/starter/categories/social-community/creator/template.js +0 -17
  646. package/dist/templates/starter/categories/social-community/creator/template.js.map +0 -1
  647. package/dist/templates/starter/categories/social-community/index.d.ts +0 -8
  648. package/dist/templates/starter/categories/social-community/index.d.ts.map +0 -1
  649. package/dist/templates/starter/categories/social-community/index.js +0 -17
  650. package/dist/templates/starter/categories/social-community/index.js.map +0 -1
  651. package/dist/templates/starter/categories/social-community/routes.community.d.ts +0 -11
  652. package/dist/templates/starter/categories/social-community/routes.community.d.ts.map +0 -1
  653. package/dist/templates/starter/categories/social-community/routes.community.js +0 -49
  654. package/dist/templates/starter/categories/social-community/routes.community.js.map +0 -1
  655. package/dist/templates/starter/categories/social-community/screens.community.d.ts +0 -5
  656. package/dist/templates/starter/categories/social-community/screens.community.d.ts.map +0 -1
  657. package/dist/templates/starter/categories/social-community/screens.community.js +0 -96
  658. package/dist/templates/starter/categories/social-community/screens.community.js.map +0 -1
  659. package/dist/templates/starter/categories/sports/content.d.ts +0 -80
  660. package/dist/templates/starter/categories/sports/content.d.ts.map +0 -1
  661. package/dist/templates/starter/categories/sports/content.js +0 -100
  662. package/dist/templates/starter/categories/sports/content.js.map +0 -1
  663. package/dist/templates/starter/categories/sports/default.template.d.ts +0 -4
  664. package/dist/templates/starter/categories/sports/default.template.d.ts.map +0 -1
  665. package/dist/templates/starter/categories/sports/default.template.js +0 -17
  666. package/dist/templates/starter/categories/sports/default.template.js.map +0 -1
  667. package/dist/templates/starter/categories/sports/index.d.ts +0 -8
  668. package/dist/templates/starter/categories/sports/index.d.ts.map +0 -1
  669. package/dist/templates/starter/categories/sports/index.js +0 -10
  670. package/dist/templates/starter/categories/sports/index.js.map +0 -1
  671. package/dist/templates/starter/categories/sports/routes.d.ts +0 -11
  672. package/dist/templates/starter/categories/sports/routes.d.ts.map +0 -1
  673. package/dist/templates/starter/categories/sports/routes.js +0 -49
  674. package/dist/templates/starter/categories/sports/routes.js.map +0 -1
  675. package/dist/templates/starter/categories/sports/screens.d.ts +0 -5
  676. package/dist/templates/starter/categories/sports/screens.d.ts.map +0 -1
  677. package/dist/templates/starter/categories/sports/screens.js +0 -61
  678. package/dist/templates/starter/categories/sports/screens.js.map +0 -1
  679. package/dist/templates/starter/categories/utilities-tools/content.d.ts +0 -98
  680. package/dist/templates/starter/categories/utilities-tools/content.d.ts.map +0 -1
  681. package/dist/templates/starter/categories/utilities-tools/content.js +0 -123
  682. package/dist/templates/starter/categories/utilities-tools/content.js.map +0 -1
  683. package/dist/templates/starter/categories/utilities-tools/default.template.d.ts +0 -4
  684. package/dist/templates/starter/categories/utilities-tools/default.template.d.ts.map +0 -1
  685. package/dist/templates/starter/categories/utilities-tools/default.template.js +0 -17
  686. package/dist/templates/starter/categories/utilities-tools/default.template.js.map +0 -1
  687. package/dist/templates/starter/categories/utilities-tools/index.d.ts +0 -8
  688. package/dist/templates/starter/categories/utilities-tools/index.d.ts.map +0 -1
  689. package/dist/templates/starter/categories/utilities-tools/index.js +0 -10
  690. package/dist/templates/starter/categories/utilities-tools/index.js.map +0 -1
  691. package/dist/templates/starter/categories/utilities-tools/routes.d.ts +0 -12
  692. package/dist/templates/starter/categories/utilities-tools/routes.d.ts.map +0 -1
  693. package/dist/templates/starter/categories/utilities-tools/routes.js +0 -56
  694. package/dist/templates/starter/categories/utilities-tools/routes.js.map +0 -1
  695. package/dist/templates/starter/categories/utilities-tools/screens.d.ts +0 -5
  696. package/dist/templates/starter/categories/utilities-tools/screens.d.ts.map +0 -1
  697. package/dist/templates/starter/categories/utilities-tools/screens.js +0 -67
  698. package/dist/templates/starter/categories/utilities-tools/screens.js.map +0 -1
  699. package/dist/templates/starter/categories/weather/content.d.ts +0 -75
  700. package/dist/templates/starter/categories/weather/content.d.ts.map +0 -1
  701. package/dist/templates/starter/categories/weather/content.js +0 -95
  702. package/dist/templates/starter/categories/weather/content.js.map +0 -1
  703. package/dist/templates/starter/categories/weather/default.template.d.ts +0 -4
  704. package/dist/templates/starter/categories/weather/default.template.d.ts.map +0 -1
  705. package/dist/templates/starter/categories/weather/default.template.js +0 -17
  706. package/dist/templates/starter/categories/weather/default.template.js.map +0 -1
  707. package/dist/templates/starter/categories/weather/index.d.ts +0 -8
  708. package/dist/templates/starter/categories/weather/index.d.ts.map +0 -1
  709. package/dist/templates/starter/categories/weather/index.js +0 -10
  710. package/dist/templates/starter/categories/weather/index.js.map +0 -1
  711. package/dist/templates/starter/categories/weather/routes.d.ts +0 -10
  712. package/dist/templates/starter/categories/weather/routes.d.ts.map +0 -1
  713. package/dist/templates/starter/categories/weather/routes.js +0 -42
  714. package/dist/templates/starter/categories/weather/routes.js.map +0 -1
  715. package/dist/templates/starter/categories/weather/screens.d.ts +0 -5
  716. package/dist/templates/starter/categories/weather/screens.d.ts.map +0 -1
  717. package/dist/templates/starter/categories/weather/screens.js +0 -31
  718. package/dist/templates/starter/categories/weather/screens.js.map +0 -1
  719. package/dist/templates/starter/index.d.ts +0 -3
  720. package/dist/templates/starter/index.d.ts.map +0 -1
  721. package/dist/templates/starter/index.js +0 -3
  722. package/dist/templates/starter/index.js.map +0 -1
  723. package/dist/templates/starter/starter.assets.d.ts +0 -22
  724. package/dist/templates/starter/starter.assets.d.ts.map +0 -1
  725. package/dist/templates/starter/starter.assets.js +0 -124
  726. package/dist/templates/starter/starter.assets.js.map +0 -1
  727. package/dist/templates/starter/starter.registry.d.ts +0 -7
  728. package/dist/templates/starter/starter.registry.d.ts.map +0 -1
  729. package/dist/templates/starter/starter.registry.js +0 -86
  730. package/dist/templates/starter/starter.registry.js.map +0 -1
  731. package/dist/templates/starter/starter.template.d.ts +0 -7
  732. package/dist/templates/starter/starter.template.d.ts.map +0 -1
  733. package/dist/templates/starter/starter.template.js +0 -12
  734. package/dist/templates/starter/starter.template.js.map +0 -1
  735. package/dist/templates/starter/starter.types.d.ts +0 -42
  736. package/dist/templates/starter/starter.types.d.ts.map +0 -1
  737. package/dist/templates/starter/starter.types.js +0 -2
  738. package/dist/templates/starter/starter.types.js.map +0 -1
  739. /package/dist/{templates/shared → authoring}/create-manifest-shell.d.ts +0 -0
  740. /package/dist/{templates/shared → authoring}/splash-screen.d.ts +0 -0
  741. /package/dist/{templates/shared → authoring}/splash-screen.js +0 -0
@@ -1,237 +0,0 @@
1
- export const nutritionCatalogScanContent = {
2
- catalog: {
3
- eyebrow: 'Signed-in nutrition catalog',
4
- title: 'Catalog products',
5
- description: 'Signed-in scanners browse the shared Swiss product catalog, scan barcodes, and create missing products directly through the nutrition API.',
6
- sections: [
7
- {
8
- title: 'Product catalog',
9
- description: 'The whole app is protected by global auth. Product browsing happens after sign-in.',
10
- cards: [
11
- {
12
- eyebrow: 'Known product',
13
- title: 'Bio Greek Yogurt 250 g',
14
- description: 'Example product card with brand, package label, barcode, and nutritionFacts metadata.',
15
- },
16
- {
17
- eyebrow: 'Known product',
18
- title: 'Haferdrink Barista 1 l',
19
- description: 'Products are read through the nutrition API, not directly from Supabase.',
20
- },
21
- {
22
- eyebrow: 'Catalog growth',
23
- title: 'Missing supermarket products',
24
- description: 'Missing barcodes can be turned into real products immediately from the create screen.',
25
- },
26
- ],
27
- },
28
- {
29
- title: 'Scanner loop',
30
- description: 'Friends sign in, scan products, look up known barcodes, and create missing products when needed.',
31
- cards: [
32
- {
33
- eyebrow: 'Action',
34
- title: 'Scan barcode',
35
- description: 'Open the scanner, normalize barcode digits, and look up the product through the nutrition API.',
36
- },
37
- {
38
- eyebrow: 'Create path',
39
- title: 'Direct product creation',
40
- description: 'When a barcode is unknown, the app opens a direct product create form instead of any intermediate queue.',
41
- },
42
- ],
43
- },
44
- ],
45
- },
46
- detail: {
47
- eyebrow: 'Published product',
48
- title: 'Product detail',
49
- description: 'Show barcode, brand, packageLabel, imageRefs, and nutritionFacts from the nutrition API.',
50
- sections: [
51
- {
52
- title: 'Product summary',
53
- description: 'A product detail screen for the current NutritionProduct DTO.',
54
- cards: [
55
- {
56
- eyebrow: 'Primary barcode',
57
- title: '7612345678901 · ean_13',
58
- description: 'Barcode values are normalized by removing non-digits before lookup.',
59
- },
60
- {
61
- eyebrow: 'Stable DTO',
62
- title: 'Product-centric response shape',
63
- description: 'The detail payload exposes packageLabel, nutritionFacts, imageRefs, createdAt, updatedAt, and optional soft-delete metadata.',
64
- },
65
- ],
66
- },
67
- ],
68
- },
69
- scan: {
70
- eyebrow: 'Authenticated scan',
71
- title: 'Scan barcode',
72
- description: 'Use the ZORA BarcodeScannerView with an app-level camera adapter. Successful scans look up products by barcode and branch to detail or create.',
73
- sections: [
74
- {
75
- title: 'Scanner adapter',
76
- description: 'Native camera dependencies such as expo-camera stay in the generated app adapter; ZORA owns visible scanner UI.',
77
- cards: [
78
- {
79
- eyebrow: 'Camera shell',
80
- title: 'BarcodeScannerView',
81
- description: 'Use ZORA scanner, permission, and overlay primitives for the visible scanner surface.',
82
- },
83
- {
84
- eyebrow: 'Fallback',
85
- title: 'Manual barcode entry',
86
- description: 'Manual entry should use the same lookup path as the scanner on web, simulator, denied camera permission, or damaged retail labels.',
87
- },
88
- ],
89
- },
90
- {
91
- title: 'Lookup branch',
92
- description: 'After scanning, call GET /products/by-barcode/:barcode.',
93
- cards: [
94
- {
95
- eyebrow: 'Found',
96
- title: 'Open product detail',
97
- description: 'A known barcode opens the product detail screen.',
98
- },
99
- {
100
- eyebrow: 'Unknown',
101
- title: 'Create product',
102
- description: 'A missing barcode opens the direct product create form.',
103
- },
104
- ],
105
- },
106
- ],
107
- },
108
- create: {
109
- eyebrow: 'Direct create flow',
110
- title: 'Create product',
111
- description: 'Collect the minimal data needed to create a nutrition product directly through the nutrition API.',
112
- sections: [
113
- {
114
- title: 'Required fields',
115
- description: 'Keep in-store entry fast while matching the current product API.',
116
- cards: [
117
- {
118
- eyebrow: 'Product identity',
119
- title: 'barcode, name, brand',
120
- description: 'The barcode is prefilled from the scanner or manual input.',
121
- },
122
- {
123
- eyebrow: 'Packaging',
124
- title: 'packageLabel',
125
- description: 'Store package text such as 500ml, 1L, or 6 x 33cl.',
126
- },
127
- {
128
- eyebrow: 'Structured data',
129
- title: 'nutritionFacts and imageRefs',
130
- description: 'Use the current DTO fields directly so create requests can match the live product contract.',
131
- },
132
- ],
133
- },
134
- ],
135
- },
136
- stats: {
137
- eyebrow: 'Catalog progress',
138
- title: 'Stats',
139
- description: 'Use this screen for catalog growth, scan throughput, and contributor-facing nutrition app metrics.',
140
- sections: [
141
- {
142
- title: 'Suggested metrics',
143
- description: 'This starter keeps metrics focused on the product catalog and scanner flow.',
144
- cards: [
145
- {
146
- eyebrow: 'Catalog',
147
- title: 'Products added',
148
- description: 'Track how many products were created or enriched through the app.',
149
- },
150
- {
151
- eyebrow: 'Quality',
152
- title: 'Lookup hit rate',
153
- description: 'Compare known-barcode hits against direct product creation prompts.',
154
- },
155
- ],
156
- },
157
- ],
158
- },
159
- profile: {
160
- eyebrow: 'Scanner profile',
161
- title: 'Profile',
162
- description: 'Show signed-in scanner profile, catalog stats, invite status, and sign-out action.',
163
- sections: [
164
- {
165
- title: 'Profile data',
166
- description: 'Profile data comes from the app-facing profiles table linked to Supabase Auth.',
167
- cards: [
168
- {
169
- eyebrow: 'Identity',
170
- title: 'Display name and avatar',
171
- description: 'Stored in public.profiles; auth.users remains provider-owned identity data.',
172
- },
173
- {
174
- eyebrow: 'Stats',
175
- title: 'Catalog activity',
176
- description: 'Aggregate product contributions and lookup activity from app-facing analytics.',
177
- },
178
- ],
179
- },
180
- ],
181
- },
182
- signIn: {
183
- eyebrow: 'Restricted access',
184
- title: 'Sign in',
185
- description: 'Friends sign in before entering the nutrition scanner app.',
186
- sections: [
187
- {
188
- title: 'Scanner access',
189
- description: 'This template uses global auth, so app entry is protected.',
190
- cards: [
191
- {
192
- eyebrow: 'Auth provider',
193
- title: 'Supabase Auth',
194
- description: 'Email sign-in is the default identity flow for generated nutrition scanner apps.',
195
- },
196
- ],
197
- },
198
- ],
199
- },
200
- signUp: {
201
- eyebrow: 'Join scanner app',
202
- title: 'Create scanner account',
203
- description: 'Create an account with display name before scanning.',
204
- sections: [
205
- {
206
- title: 'Profile creation',
207
- description: 'Generated infra should create a profiles row linked to the auth user.',
208
- cards: [
209
- {
210
- eyebrow: 'Required fields',
211
- title: 'Email, password, display name',
212
- description: 'The profile table stores display name and avatar for shared catalog attribution.',
213
- },
214
- ],
215
- },
216
- ],
217
- },
218
- settings: {
219
- eyebrow: 'Nutrition app settings',
220
- title: 'Settings',
221
- description: 'Configuration for nutrition API base URL, locale, profile table, and nutrition scanner auth.',
222
- sections: [
223
- {
224
- title: 'Runtime configuration',
225
- description: 'Settings screen sections are assembled by the screen factory.',
226
- cards: [
227
- {
228
- eyebrow: 'Auth',
229
- title: 'Global Supabase auth',
230
- description: 'Friends sign in before entering the scanner app.',
231
- },
232
- ],
233
- },
234
- ],
235
- },
236
- };
237
- //# sourceMappingURL=content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/content.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE;QACP,OAAO,EAAE,6BAA6B;QACtC,KAAK,EAAE,kBAAkB;QACzB,WAAW,EACT,4IAA4I;QAC9I,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EACT,oFAAoF;gBACtF,KAAK,EAAE;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WAAW,EAAE,+DAA+D;gBAC5E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,MAAM;wBACf,KAAK,EAAE,sBAAsB;wBAC7B,WAAW,EAAE,kDAAkD;qBAChE;iBACF;aACF;SACF;KACF;CACsD,CAAC"}
@@ -1,29 +0,0 @@
1
- import type { AppManifest } from '@ankhorage/contracts';
2
- import { type ZoraNode } from '../../../../shared';
3
- interface CardContent {
4
- readonly eyebrow: string;
5
- readonly title: string;
6
- readonly description: string;
7
- }
8
- interface SectionContent {
9
- readonly title: string;
10
- readonly description: string;
11
- readonly cards: readonly CardContent[];
12
- }
13
- export interface NutritionContentScreen {
14
- readonly eyebrow: string;
15
- readonly title: string;
16
- readonly description: string;
17
- readonly sections: readonly SectionContent[];
18
- }
19
- export declare function createNutritionContentScreen(args: {
20
- readonly idPrefix: string;
21
- readonly screenId: string;
22
- readonly name: string;
23
- readonly content: NutritionContentScreen;
24
- readonly body?: readonly ZoraNode[];
25
- readonly dataLoaders?: AppManifest['screens'][string]['dataLoaders'];
26
- readonly requires?: AppManifest['screens'][string]['requires'];
27
- }): AppManifest['screens'][string];
28
- export {};
29
- //# sourceMappingURL=contentScreen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contentScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAE5B,UAAU,WAAW;IACnB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,cAAc;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,WAAW,EAAE,CAAC;CACxC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,cAAc,EAAE,CAAC;CAC9C;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE;IACjD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;IACzC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC;IACrE,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;CAChE,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAoBjC"}
@@ -1,32 +0,0 @@
1
- import { createScreen, createScreenRoot, createSection, createZoraNode, } from '../../../../shared';
2
- export function createNutritionContentScreen(args) {
3
- const idSegment = args.name.toLowerCase().replaceAll(' ', '-');
4
- const body = args.body ?? createSectionCards(args.idPrefix, idSegment, args.content.sections);
5
- return createScreen({
6
- id: args.screenId,
7
- name: args.name,
8
- title: args.content.title,
9
- description: args.content.description,
10
- root: createScreenRoot(`${args.idPrefix}-${idSegment}-screen`, { width: 'wide' }, [
11
- createZoraNode(`${args.idPrefix}-${idSegment}-header`, 'SectionHeader', {
12
- eyebrow: args.content.eyebrow,
13
- title: args.content.title,
14
- description: args.content.description,
15
- }),
16
- ...body,
17
- ]),
18
- dataLoaders: args.dataLoaders,
19
- requires: args.requires,
20
- });
21
- }
22
- function createSectionCards(idPrefix, idSegment, sections) {
23
- return sections.map((section, sectionIndex) => createSection(`${idPrefix}-${idSegment}-section-${sectionIndex + 1}`, { title: section.title, description: section.description }, [
24
- createZoraNode(`${idPrefix}-${idSegment}-panel-${sectionIndex + 1}`, 'Panel', { title: section.title, description: section.description, tone: 'subtle' }, section.cards.map((card, cardIndex) => createZoraNode(`${idPrefix}-${idSegment}-card-${sectionIndex + 1}-${cardIndex + 1}`, 'Card', {
25
- eyebrow: card.eyebrow,
26
- title: card.title,
27
- description: card.description,
28
- tone: 'outline',
29
- }))),
30
- ]));
31
- }
32
- //# sourceMappingURL=contentScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contentScreen.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,cAAc,GAEf,MAAM,oBAAoB,CAAC;AAqB5B,MAAM,UAAU,4BAA4B,CAAC,IAQ5C;IACC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE9F,OAAO,YAAY,CAAC;QAClB,EAAE,EAAE,IAAI,CAAC,QAAQ;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;QACzB,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW;QACrC,IAAI,EAAE,gBAAgB,CAAC,GAAG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CAAC,WAAW;YAC7B,IAAI,EAAE,SAAS;SAChB,CACF,CACF,CACF;KACF,CACF,CACF,CAAC;AACJ,CAAC"}
@@ -1,2 +0,0 @@
1
- export { createNutritionCatalogScanStarterTemplate } from './template';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- export { createNutritionCatalogScanStarterTemplate } from './template';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,YAAY,CAAC"}
@@ -1,3 +0,0 @@
1
- import { type ZoraNode } from '../../../../shared';
2
- export declare function createNutritionProductCreateBody(idPrefix: string): ZoraNode[];
3
- //# sourceMappingURL=productCreateScreenBody.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productCreateScreenBody.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnE,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CA8F7E"}
@@ -1,88 +0,0 @@
1
- import { createZoraNode } from '../../../../shared';
2
- export function createNutritionProductCreateBody(idPrefix) {
3
- return [
4
- createZoraNode(`${idPrefix}-create-form-panel`, 'Panel', {
5
- title: 'Direct product create form',
6
- description: 'Create a product through the Nutrition API when barcode lookup finds no match.',
7
- tone: 'subtle',
8
- }, [
9
- createZoraNode(`${idPrefix}-create-barcode-field`, 'FormField', {
10
- label: 'Barcode',
11
- description: 'Prefilled from scan or manual entry and normalized by the Nutrition API.',
12
- required: true,
13
- }),
14
- createZoraNode(`${idPrefix}-create-barcode-input`, 'Input', {
15
- placeholder: '7612345678901',
16
- keyboardType: 'number-pad',
17
- size: 'm',
18
- }),
19
- createZoraNode(`${idPrefix}-create-name-field`, 'FormField', {
20
- label: 'Product name',
21
- description: 'Required by the Nutrition API create request.',
22
- required: true,
23
- }),
24
- createZoraNode(`${idPrefix}-create-name-input`, 'Input', {
25
- placeholder: 'Product name',
26
- size: 'm',
27
- }),
28
- createZoraNode(`${idPrefix}-create-brand-field`, 'FormField', {
29
- label: 'Brand',
30
- description: 'Optional product brand.',
31
- }),
32
- createZoraNode(`${idPrefix}-create-brand-input`, 'Input', {
33
- placeholder: 'Brand',
34
- size: 'm',
35
- }),
36
- createZoraNode(`${idPrefix}-create-package-label-field`, 'FormField', {
37
- label: 'Package label',
38
- description: 'Optional package text such as 500ml or 6 x 33cl.',
39
- }),
40
- createZoraNode(`${idPrefix}-create-package-label-input`, 'Input', {
41
- placeholder: '500ml',
42
- size: 'm',
43
- }),
44
- createZoraNode(`${idPrefix}-create-nutrition-basis-field`, 'FormField', {
45
- label: 'nutritionFacts.basis',
46
- description: 'Use per_100g, per_100ml, or per_serving.',
47
- }),
48
- createZoraNode(`${idPrefix}-create-nutrition-basis-input`, 'Input', {
49
- placeholder: 'per_100g',
50
- autoCapitalize: 'none',
51
- size: 'm',
52
- }),
53
- createZoraNode(`${idPrefix}-create-nutrition-facts-field`, 'FormField', {
54
- label: 'nutritionFacts',
55
- description: 'Structured numeric fields such as energyKcal, proteinG, carbohydratesG, sugarsG, fatG, and saltG.',
56
- }),
57
- createZoraNode(`${idPrefix}-create-nutrition-facts-input`, 'Input', {
58
- placeholder: '{"basis":"per_100g","energyKcal":42,"proteinG":3.4}',
59
- autoCapitalize: 'none',
60
- size: 'm',
61
- }),
62
- createZoraNode(`${idPrefix}-create-image-refs-field`, 'FormField', {
63
- label: 'imageRefs',
64
- description: 'Image inputs contain storage bucket/path plus optional image metadata.',
65
- }),
66
- createZoraNode(`${idPrefix}-create-image-refs-input`, 'Input', {
67
- placeholder: '[{"bucket":"nutrition","path":"products/front.jpg"}]',
68
- autoCapitalize: 'none',
69
- size: 'm',
70
- }),
71
- createZoraNode(`${idPrefix}-create-duplicate-notice`, 'Notice', {
72
- title: 'Duplicate barcode handling',
73
- description: 'The Nutrition API enforces barcode uniqueness and reports duplicate products as an HTTP conflict.',
74
- }),
75
- createZoraNode(`${idPrefix}-create-submit-button`, 'Button', {
76
- children: 'Create product',
77
- color: 'primary',
78
- size: 'm',
79
- fullWidth: true,
80
- }),
81
- createZoraNode(`${idPrefix}-create-error-notice`, 'Notice', {
82
- title: 'Validation and availability',
83
- description: 'The app surfaces canonical API-operation diagnostics for invalid input or backend availability failures.',
84
- }),
85
- ]),
86
- ];
87
- }
88
- //# sourceMappingURL=productCreateScreenBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productCreateScreenBody.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAiB,MAAM,oBAAoB,CAAC;AAEnE,MAAM,UAAU,gCAAgC,CAAC,QAAgB;IAC/D,OAAO;QACL,cAAc,CACZ,GAAG,QAAQ,oBAAoB,EAC/B,OAAO,EACP;YACE,KAAK,EAAE,4BAA4B;YACnC,WAAW,EACT,gFAAgF;YAClF,IAAI,EAAE,QAAQ;SACf,EACD;YACE,cAAc,CAAC,GAAG,QAAQ,uBAAuB,EAAE,WAAW,EAAE;gBAC9D,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,0EAA0E;gBACvF,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,uBAAuB,EAAE,OAAO,EAAE;gBAC1D,WAAW,EAAE,eAAe;gBAC5B,YAAY,EAAE,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EAAE;gBAClE,WAAW,EAAE,qDAAqD;gBAClE,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE,GAAG;aACV,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,0BAA0B,EAAE,WAAW,EAAE;gBACjE,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,wEAAwE;aACtF,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,0BAA0B,EAAE,OAAO,EAAE;gBAC7D,WAAW,EAAE,sDAAsD;gBACnE,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE,GAAG;aACV,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,0BAA0B,EAAE,QAAQ,EAAE;gBAC9D,KAAK,EAAE,4BAA4B;gBACnC,WAAW,EACT,mGAAmG;aACtG,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,uBAAuB,EAAE,QAAQ,EAAE;gBAC3D,QAAQ,EAAE,gBAAgB;gBAC1B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,GAAG;gBACT,SAAS,EAAE,IAAI;aAChB,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,sBAAsB,EAAE,QAAQ,EAAE;gBAC1D,KAAK,EAAE,6BAA6B;gBACpC,WAAW,EACT,0GAA0G;aAC7G,CAAC;SACH,CACF;KACF,CAAC;AACJ,CAAC"}
@@ -1,8 +0,0 @@
1
- import { type ZoraNode } from '../../../../shared';
2
- export declare const nutritionProductDetailOperation: {
3
- readonly apiId: "nutrition";
4
- readonly endpointId: "products";
5
- readonly operationId: "products.read";
6
- };
7
- export declare function createNutritionProductDetailBody(idPrefix: string): ZoraNode[];
8
- //# sourceMappingURL=productDetailScreenBody.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productDetailScreenBody.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiC,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAElF,eAAO,MAAM,+BAA+B;;;;CAIJ,CAAC;AAyFzC,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CA2B7E"}
@@ -1,96 +0,0 @@
1
- import { createSection, createZoraNode } from '../../../../shared';
2
- export const nutritionProductDetailOperation = {
3
- apiId: 'nutrition',
4
- endpointId: 'products',
5
- operationId: 'products.read',
6
- };
7
- function createDetailValueCard(args) {
8
- return createZoraNode(args.id, 'Card', {
9
- eyebrow: args.label,
10
- title: args.placeholder,
11
- tone: 'outline',
12
- });
13
- }
14
- const DETAIL_FIELDS = [
15
- ['name', 'Name', 'Loading name...'],
16
- ['brand', 'Brand', 'Loading brand...'],
17
- ['package-label', 'Package label', 'Loading package label...'],
18
- ['barcode', 'Barcode', 'Loading barcode...'],
19
- ['barcode-type', 'Barcode type', 'Loading barcode type...'],
20
- ['created-at', 'Created at', 'Loading created timestamp...'],
21
- ['updated-at', 'Updated at', 'Loading updated timestamp...'],
22
- ];
23
- const NUTRITION_FIELDS = [
24
- ['nutrition-basis', 'Basis', 'Loading basis...'],
25
- ['energy-kj', 'Energy (kJ)', 'Loading energy...'],
26
- ['energy-kcal', 'Energy (kcal)', 'Loading energy...'],
27
- ['fat-g', 'Fat (g)', 'Loading fat...'],
28
- ['saturated-fat-g', 'Saturated fat (g)', 'Loading saturated fat...'],
29
- ['carbohydrates-g', 'Carbohydrates (g)', 'Loading carbohydrates...'],
30
- ['sugars-g', 'Sugars (g)', 'Loading sugars...'],
31
- ['fiber-g', 'Fiber (g)', 'Loading fiber...'],
32
- ['protein-g', 'Protein (g)', 'Loading protein...'],
33
- ['salt-g', 'Salt (g)', 'Loading salt...'],
34
- ];
35
- function createValueCards(idPrefix, fields) {
36
- return fields.map(([id, label, placeholder]) => createDetailValueCard({ id: `${idPrefix}-detail-${id}-value`, label, placeholder }));
37
- }
38
- function createImageRefList(idPrefix) {
39
- return {
40
- id: `${idPrefix}-detail-image-ref-list`,
41
- type: 'Panel',
42
- props: {
43
- title: 'Product images',
44
- description: 'Each block reflects one image ref returned by the Nutrition API.',
45
- tone: 'subtle',
46
- },
47
- repeat: {
48
- source: {
49
- kind: 'operation',
50
- operation: nutritionProductDetailOperation,
51
- path: 'product.imageRefs',
52
- },
53
- itemAlias: 'imageRef',
54
- keyPath: 'path',
55
- },
56
- children: [
57
- createDetailValueCard({
58
- id: `${idPrefix}-detail-image-ref-kind-value`,
59
- label: 'Kind',
60
- placeholder: 'Loading image kind...',
61
- }),
62
- createDetailValueCard({
63
- id: `${idPrefix}-detail-image-ref-bucket-value`,
64
- label: 'Bucket',
65
- placeholder: 'Loading bucket...',
66
- }),
67
- createDetailValueCard({
68
- id: `${idPrefix}-detail-image-ref-path-value`,
69
- label: 'Path',
70
- placeholder: 'Loading path...',
71
- }),
72
- createDetailValueCard({
73
- id: `${idPrefix}-detail-image-ref-public-url-value`,
74
- label: 'Public URL',
75
- placeholder: 'Loading image URL...',
76
- }),
77
- ],
78
- };
79
- }
80
- export function createNutritionProductDetailBody(idPrefix) {
81
- return [
82
- createSection(`${idPrefix}-detail-summary-section`, {
83
- title: 'Product details',
84
- description: 'Loaded through the Nutrition API using the current route parameter ID.',
85
- }, createValueCards(idPrefix, DETAIL_FIELDS)),
86
- createSection(`${idPrefix}-detail-nutrition-section`, {
87
- title: 'Nutrition facts',
88
- description: 'Bindings read the cached Nutrition API product response.',
89
- }, createValueCards(idPrefix, NUTRITION_FIELDS)),
90
- createSection(`${idPrefix}-detail-images-section`, {
91
- title: 'Image refs',
92
- description: 'Product image refs render from the cached Nutrition API response.',
93
- }, [createImageRefList(idPrefix)]),
94
- ];
95
- }
96
- //# sourceMappingURL=productDetailScreenBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"productDetailScreenBody.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,cAAc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gBACnB,WAAW,EAAE,sBAAsB;aACpC,CAAC;SACH;KACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,QAAgB;IAC/D,OAAO;QACL,aAAa,CACX,GAAG,QAAQ,yBAAyB,EACpC;YACE,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,wEAAwE;SACtF,EACD,gBAAgB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAC1C;QACD,aAAa,CACX,GAAG,QAAQ,2BAA2B,EACtC;YACE,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,0DAA0D;SACxE,EACD,gBAAgB,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAC7C;QACD,aAAa,CACX,GAAG,QAAQ,wBAAwB,EACnC;YACE,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,mEAAmE;SACjF,EACD,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAC/B;KACF,CAAC;AACJ,CAAC"}
@@ -1,15 +0,0 @@
1
- import type { AppManifest } from '@ankhorage/contracts';
2
- export interface NutritionCatalogScanScreenIds {
3
- readonly catalog: string;
4
- readonly detail: string;
5
- readonly scan: string;
6
- readonly create: string;
7
- readonly stats: string;
8
- readonly profile: string;
9
- readonly signIn: string;
10
- readonly signUp: string;
11
- readonly settings: string;
12
- }
13
- export declare function createNutritionCatalogScanScreenIds(idPrefix: string): NutritionCatalogScanScreenIds;
14
- export declare function createNutritionCatalogScanNavigator(screenIds: NutritionCatalogScanScreenIds): AppManifest['navigator'];
15
- //# sourceMappingURL=routes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,mCAAmC,CACjD,QAAQ,EAAE,MAAM,GACf,6BAA6B,CAY/B;AAED,wBAAgB,mCAAmC,CACjD,SAAS,EAAE,6BAA6B,GACvC,WAAW,CAAC,WAAW,CAAC,CAqD1B"}