@ankhorage/templates 9.1.2 → 9.1.3

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 (729) hide show
  1. package/CHANGELOG.md +6 -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 +2 -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/package.json +6 -6
  46. package/assets/templates/capability-proof/checker.svg +0 -1
  47. package/dist/generators/create-category-app.d.ts +0 -5
  48. package/dist/generators/create-category-app.d.ts.map +0 -1
  49. package/dist/generators/create-category-app.js +0 -51
  50. package/dist/generators/create-category-app.js.map +0 -1
  51. package/dist/internal/merge.d.ts +0 -4
  52. package/dist/internal/merge.d.ts.map +0 -1
  53. package/dist/internal/merge.js +0 -24
  54. package/dist/internal/merge.js.map +0 -1
  55. package/dist/internal/overrides.d.ts +0 -7
  56. package/dist/internal/overrides.d.ts.map +0 -1
  57. package/dist/internal/overrides.js +0 -2
  58. package/dist/internal/overrides.js.map +0 -1
  59. package/dist/internal/zora-nodes.d.ts +0 -135
  60. package/dist/internal/zora-nodes.d.ts.map +0 -1
  61. package/dist/internal/zora-nodes.js +0 -9
  62. package/dist/internal/zora-nodes.js.map +0 -1
  63. package/dist/templates/shared/create-manifest-shell.d.ts.map +0 -1
  64. package/dist/templates/shared/create-manifest-shell.js.map +0 -1
  65. package/dist/templates/shared/create-theme.d.ts +0 -11
  66. package/dist/templates/shared/create-theme.d.ts.map +0 -1
  67. package/dist/templates/shared/create-theme.js +0 -19
  68. package/dist/templates/shared/create-theme.js.map +0 -1
  69. package/dist/templates/shared/index.d.ts +0 -7
  70. package/dist/templates/shared/index.d.ts.map +0 -1
  71. package/dist/templates/shared/index.js +0 -7
  72. package/dist/templates/shared/index.js.map +0 -1
  73. package/dist/templates/shared/route.d.ts +0 -13
  74. package/dist/templates/shared/route.d.ts.map +0 -1
  75. package/dist/templates/shared/route.js +0 -14
  76. package/dist/templates/shared/route.js.map +0 -1
  77. package/dist/templates/shared/screen.d.ts +0 -11
  78. package/dist/templates/shared/screen.d.ts.map +0 -1
  79. package/dist/templates/shared/screen.js +0 -12
  80. package/dist/templates/shared/screen.js.map +0 -1
  81. package/dist/templates/shared/splash-screen.d.ts.map +0 -1
  82. package/dist/templates/shared/splash-screen.js.map +0 -1
  83. package/dist/templates/shared/starter-screens.d.ts +0 -46
  84. package/dist/templates/shared/starter-screens.d.ts.map +0 -1
  85. package/dist/templates/shared/starter-screens.js +0 -53
  86. package/dist/templates/shared/starter-screens.js.map +0 -1
  87. package/dist/templates/shared/zora-node-helpers.d.ts +0 -12
  88. package/dist/templates/shared/zora-node-helpers.d.ts.map +0 -1
  89. package/dist/templates/shared/zora-node-helpers.js +0 -33
  90. package/dist/templates/shared/zora-node-helpers.js.map +0 -1
  91. package/dist/templates/starter/categories/books-reading/content.d.ts +0 -80
  92. package/dist/templates/starter/categories/books-reading/content.d.ts.map +0 -1
  93. package/dist/templates/starter/categories/books-reading/content.js +0 -100
  94. package/dist/templates/starter/categories/books-reading/content.js.map +0 -1
  95. package/dist/templates/starter/categories/books-reading/default.template.d.ts +0 -4
  96. package/dist/templates/starter/categories/books-reading/default.template.d.ts.map +0 -1
  97. package/dist/templates/starter/categories/books-reading/default.template.js +0 -17
  98. package/dist/templates/starter/categories/books-reading/default.template.js.map +0 -1
  99. package/dist/templates/starter/categories/books-reading/index.d.ts +0 -8
  100. package/dist/templates/starter/categories/books-reading/index.d.ts.map +0 -1
  101. package/dist/templates/starter/categories/books-reading/index.js +0 -10
  102. package/dist/templates/starter/categories/books-reading/index.js.map +0 -1
  103. package/dist/templates/starter/categories/books-reading/routes.d.ts +0 -11
  104. package/dist/templates/starter/categories/books-reading/routes.d.ts.map +0 -1
  105. package/dist/templates/starter/categories/books-reading/routes.js +0 -49
  106. package/dist/templates/starter/categories/books-reading/routes.js.map +0 -1
  107. package/dist/templates/starter/categories/books-reading/screens.d.ts +0 -5
  108. package/dist/templates/starter/categories/books-reading/screens.d.ts.map +0 -1
  109. package/dist/templates/starter/categories/books-reading/screens.js +0 -61
  110. package/dist/templates/starter/categories/books-reading/screens.js.map +0 -1
  111. package/dist/templates/starter/categories/business-productivity/content.d.ts +0 -98
  112. package/dist/templates/starter/categories/business-productivity/content.d.ts.map +0 -1
  113. package/dist/templates/starter/categories/business-productivity/content.js +0 -123
  114. package/dist/templates/starter/categories/business-productivity/content.js.map +0 -1
  115. package/dist/templates/starter/categories/business-productivity/default.template.d.ts +0 -4
  116. package/dist/templates/starter/categories/business-productivity/default.template.d.ts.map +0 -1
  117. package/dist/templates/starter/categories/business-productivity/default.template.js +0 -17
  118. package/dist/templates/starter/categories/business-productivity/default.template.js.map +0 -1
  119. package/dist/templates/starter/categories/business-productivity/index.d.ts +0 -8
  120. package/dist/templates/starter/categories/business-productivity/index.d.ts.map +0 -1
  121. package/dist/templates/starter/categories/business-productivity/index.js +0 -17
  122. package/dist/templates/starter/categories/business-productivity/index.js.map +0 -1
  123. package/dist/templates/starter/categories/business-productivity/routes.d.ts +0 -12
  124. package/dist/templates/starter/categories/business-productivity/routes.d.ts.map +0 -1
  125. package/dist/templates/starter/categories/business-productivity/routes.js +0 -56
  126. package/dist/templates/starter/categories/business-productivity/routes.js.map +0 -1
  127. package/dist/templates/starter/categories/business-productivity/screens.d.ts +0 -5
  128. package/dist/templates/starter/categories/business-productivity/screens.d.ts.map +0 -1
  129. package/dist/templates/starter/categories/business-productivity/screens.js +0 -67
  130. package/dist/templates/starter/categories/business-productivity/screens.js.map +0 -1
  131. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts +0 -190
  132. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts.map +0 -1
  133. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js +0 -236
  134. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js.map +0 -1
  135. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts +0 -2
  136. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts.map +0 -1
  137. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js +0 -2
  138. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js.map +0 -1
  139. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts +0 -7
  140. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts.map +0 -1
  141. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js +0 -21
  142. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js.map +0 -1
  143. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts +0 -4
  144. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts.map +0 -1
  145. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js +0 -42
  146. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js.map +0 -1
  147. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts +0 -4
  148. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts.map +0 -1
  149. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js +0 -35
  150. package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js.map +0 -1
  151. package/dist/templates/starter/categories/developer-tools/content.d.ts +0 -98
  152. package/dist/templates/starter/categories/developer-tools/content.d.ts.map +0 -1
  153. package/dist/templates/starter/categories/developer-tools/content.js +0 -123
  154. package/dist/templates/starter/categories/developer-tools/content.js.map +0 -1
  155. package/dist/templates/starter/categories/developer-tools/default.template.d.ts +0 -4
  156. package/dist/templates/starter/categories/developer-tools/default.template.d.ts.map +0 -1
  157. package/dist/templates/starter/categories/developer-tools/default.template.js +0 -17
  158. package/dist/templates/starter/categories/developer-tools/default.template.js.map +0 -1
  159. package/dist/templates/starter/categories/developer-tools/index.d.ts +0 -8
  160. package/dist/templates/starter/categories/developer-tools/index.d.ts.map +0 -1
  161. package/dist/templates/starter/categories/developer-tools/index.js +0 -10
  162. package/dist/templates/starter/categories/developer-tools/index.js.map +0 -1
  163. package/dist/templates/starter/categories/developer-tools/routes.d.ts +0 -12
  164. package/dist/templates/starter/categories/developer-tools/routes.d.ts.map +0 -1
  165. package/dist/templates/starter/categories/developer-tools/routes.js +0 -56
  166. package/dist/templates/starter/categories/developer-tools/routes.js.map +0 -1
  167. package/dist/templates/starter/categories/developer-tools/screens.d.ts +0 -5
  168. package/dist/templates/starter/categories/developer-tools/screens.d.ts.map +0 -1
  169. package/dist/templates/starter/categories/developer-tools/screens.js +0 -67
  170. package/dist/templates/starter/categories/developer-tools/screens.js.map +0 -1
  171. package/dist/templates/starter/categories/education-learning/content.d.ts +0 -80
  172. package/dist/templates/starter/categories/education-learning/content.d.ts.map +0 -1
  173. package/dist/templates/starter/categories/education-learning/content.js +0 -100
  174. package/dist/templates/starter/categories/education-learning/content.js.map +0 -1
  175. package/dist/templates/starter/categories/education-learning/default.template.d.ts +0 -4
  176. package/dist/templates/starter/categories/education-learning/default.template.d.ts.map +0 -1
  177. package/dist/templates/starter/categories/education-learning/default.template.js +0 -17
  178. package/dist/templates/starter/categories/education-learning/default.template.js.map +0 -1
  179. package/dist/templates/starter/categories/education-learning/index.d.ts +0 -8
  180. package/dist/templates/starter/categories/education-learning/index.d.ts.map +0 -1
  181. package/dist/templates/starter/categories/education-learning/index.js +0 -10
  182. package/dist/templates/starter/categories/education-learning/index.js.map +0 -1
  183. package/dist/templates/starter/categories/education-learning/routes.d.ts +0 -11
  184. package/dist/templates/starter/categories/education-learning/routes.d.ts.map +0 -1
  185. package/dist/templates/starter/categories/education-learning/routes.js +0 -49
  186. package/dist/templates/starter/categories/education-learning/routes.js.map +0 -1
  187. package/dist/templates/starter/categories/education-learning/screens.d.ts +0 -5
  188. package/dist/templates/starter/categories/education-learning/screens.d.ts.map +0 -1
  189. package/dist/templates/starter/categories/education-learning/screens.js +0 -61
  190. package/dist/templates/starter/categories/education-learning/screens.js.map +0 -1
  191. package/dist/templates/starter/categories/entertainment-media/content.d.ts +0 -80
  192. package/dist/templates/starter/categories/entertainment-media/content.d.ts.map +0 -1
  193. package/dist/templates/starter/categories/entertainment-media/content.js +0 -100
  194. package/dist/templates/starter/categories/entertainment-media/content.js.map +0 -1
  195. package/dist/templates/starter/categories/entertainment-media/default.template.d.ts +0 -4
  196. package/dist/templates/starter/categories/entertainment-media/default.template.d.ts.map +0 -1
  197. package/dist/templates/starter/categories/entertainment-media/default.template.js +0 -17
  198. package/dist/templates/starter/categories/entertainment-media/default.template.js.map +0 -1
  199. package/dist/templates/starter/categories/entertainment-media/index.d.ts +0 -8
  200. package/dist/templates/starter/categories/entertainment-media/index.d.ts.map +0 -1
  201. package/dist/templates/starter/categories/entertainment-media/index.js +0 -10
  202. package/dist/templates/starter/categories/entertainment-media/index.js.map +0 -1
  203. package/dist/templates/starter/categories/entertainment-media/routes.d.ts +0 -11
  204. package/dist/templates/starter/categories/entertainment-media/routes.d.ts.map +0 -1
  205. package/dist/templates/starter/categories/entertainment-media/routes.js +0 -49
  206. package/dist/templates/starter/categories/entertainment-media/routes.js.map +0 -1
  207. package/dist/templates/starter/categories/entertainment-media/screens.d.ts +0 -5
  208. package/dist/templates/starter/categories/entertainment-media/screens.d.ts.map +0 -1
  209. package/dist/templates/starter/categories/entertainment-media/screens.js +0 -61
  210. package/dist/templates/starter/categories/entertainment-media/screens.js.map +0 -1
  211. package/dist/templates/starter/categories/finance-money/content.d.ts +0 -93
  212. package/dist/templates/starter/categories/finance-money/content.d.ts.map +0 -1
  213. package/dist/templates/starter/categories/finance-money/content.js +0 -118
  214. package/dist/templates/starter/categories/finance-money/content.js.map +0 -1
  215. package/dist/templates/starter/categories/finance-money/default.template.d.ts +0 -4
  216. package/dist/templates/starter/categories/finance-money/default.template.d.ts.map +0 -1
  217. package/dist/templates/starter/categories/finance-money/default.template.js +0 -17
  218. package/dist/templates/starter/categories/finance-money/default.template.js.map +0 -1
  219. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts +0 -2
  220. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts.map +0 -1
  221. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js +0 -2
  222. package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js.map +0 -1
  223. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts +0 -11
  224. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts.map +0 -1
  225. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js +0 -49
  226. package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js.map +0 -1
  227. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts +0 -4
  228. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts.map +0 -1
  229. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js +0 -299
  230. package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js.map +0 -1
  231. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts +0 -4
  232. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts.map +0 -1
  233. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js +0 -35
  234. package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js.map +0 -1
  235. package/dist/templates/starter/categories/finance-money/index.d.ts +0 -8
  236. package/dist/templates/starter/categories/finance-money/index.d.ts.map +0 -1
  237. package/dist/templates/starter/categories/finance-money/index.js +0 -17
  238. package/dist/templates/starter/categories/finance-money/index.js.map +0 -1
  239. package/dist/templates/starter/categories/finance-money/routes.d.ts +0 -11
  240. package/dist/templates/starter/categories/finance-money/routes.d.ts.map +0 -1
  241. package/dist/templates/starter/categories/finance-money/routes.js +0 -49
  242. package/dist/templates/starter/categories/finance-money/routes.js.map +0 -1
  243. package/dist/templates/starter/categories/finance-money/screens.d.ts +0 -5
  244. package/dist/templates/starter/categories/finance-money/screens.d.ts.map +0 -1
  245. package/dist/templates/starter/categories/finance-money/screens.js +0 -37
  246. package/dist/templates/starter/categories/finance-money/screens.js.map +0 -1
  247. package/dist/templates/starter/categories/food-drink/content.d.ts +0 -80
  248. package/dist/templates/starter/categories/food-drink/content.d.ts.map +0 -1
  249. package/dist/templates/starter/categories/food-drink/content.js +0 -100
  250. package/dist/templates/starter/categories/food-drink/content.js.map +0 -1
  251. package/dist/templates/starter/categories/food-drink/default.template.d.ts +0 -4
  252. package/dist/templates/starter/categories/food-drink/default.template.d.ts.map +0 -1
  253. package/dist/templates/starter/categories/food-drink/default.template.js +0 -17
  254. package/dist/templates/starter/categories/food-drink/default.template.js.map +0 -1
  255. package/dist/templates/starter/categories/food-drink/index.d.ts +0 -8
  256. package/dist/templates/starter/categories/food-drink/index.d.ts.map +0 -1
  257. package/dist/templates/starter/categories/food-drink/index.js +0 -17
  258. package/dist/templates/starter/categories/food-drink/index.js.map +0 -1
  259. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts +0 -3
  260. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts.map +0 -1
  261. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js +0 -18
  262. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js.map +0 -1
  263. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts +0 -165
  264. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts.map +0 -1
  265. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js +0 -138
  266. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js.map +0 -1
  267. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts +0 -33
  268. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts.map +0 -1
  269. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js +0 -80
  270. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js.map +0 -1
  271. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts +0 -3
  272. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts.map +0 -1
  273. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js +0 -310
  274. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js.map +0 -1
  275. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts +0 -3
  276. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts.map +0 -1
  277. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js +0 -44
  278. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js.map +0 -1
  279. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts +0 -129
  280. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts.map +0 -1
  281. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js +0 -237
  282. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js.map +0 -1
  283. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts +0 -29
  284. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts.map +0 -1
  285. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js +0 -32
  286. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js.map +0 -1
  287. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts +0 -2
  288. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts.map +0 -1
  289. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js +0 -2
  290. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js.map +0 -1
  291. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts +0 -3
  292. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts.map +0 -1
  293. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js +0 -88
  294. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js.map +0 -1
  295. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts +0 -8
  296. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts.map +0 -1
  297. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js +0 -96
  298. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js.map +0 -1
  299. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts +0 -15
  300. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts.map +0 -1
  301. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js +0 -69
  302. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js.map +0 -1
  303. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts +0 -3
  304. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts.map +0 -1
  305. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js +0 -20
  306. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js.map +0 -1
  307. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts +0 -5
  308. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts.map +0 -1
  309. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js +0 -86
  310. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js.map +0 -1
  311. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts +0 -8
  312. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts.map +0 -1
  313. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js +0 -44
  314. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js.map +0 -1
  315. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts +0 -4
  316. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts.map +0 -1
  317. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js +0 -50
  318. package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js.map +0 -1
  319. package/dist/templates/starter/categories/food-drink/routes.d.ts +0 -11
  320. package/dist/templates/starter/categories/food-drink/routes.d.ts.map +0 -1
  321. package/dist/templates/starter/categories/food-drink/routes.js +0 -49
  322. package/dist/templates/starter/categories/food-drink/routes.js.map +0 -1
  323. package/dist/templates/starter/categories/food-drink/screens.d.ts +0 -5
  324. package/dist/templates/starter/categories/food-drink/screens.d.ts.map +0 -1
  325. package/dist/templates/starter/categories/food-drink/screens.js +0 -93
  326. package/dist/templates/starter/categories/food-drink/screens.js.map +0 -1
  327. package/dist/templates/starter/categories/games/chess/content.d.ts +0 -39
  328. package/dist/templates/starter/categories/games/chess/content.d.ts.map +0 -1
  329. package/dist/templates/starter/categories/games/chess/content.js +0 -49
  330. package/dist/templates/starter/categories/games/chess/content.js.map +0 -1
  331. package/dist/templates/starter/categories/games/chess/index.d.ts +0 -2
  332. package/dist/templates/starter/categories/games/chess/index.d.ts.map +0 -1
  333. package/dist/templates/starter/categories/games/chess/index.js +0 -2
  334. package/dist/templates/starter/categories/games/chess/index.js.map +0 -1
  335. package/dist/templates/starter/categories/games/chess/routes.d.ts +0 -8
  336. package/dist/templates/starter/categories/games/chess/routes.d.ts.map +0 -1
  337. package/dist/templates/starter/categories/games/chess/routes.js +0 -28
  338. package/dist/templates/starter/categories/games/chess/routes.js.map +0 -1
  339. package/dist/templates/starter/categories/games/chess/screens.d.ts +0 -5
  340. package/dist/templates/starter/categories/games/chess/screens.d.ts.map +0 -1
  341. package/dist/templates/starter/categories/games/chess/screens.js +0 -124
  342. package/dist/templates/starter/categories/games/chess/screens.js.map +0 -1
  343. package/dist/templates/starter/categories/games/chess/template.d.ts +0 -4
  344. package/dist/templates/starter/categories/games/chess/template.d.ts.map +0 -1
  345. package/dist/templates/starter/categories/games/chess/template.js +0 -17
  346. package/dist/templates/starter/categories/games/chess/template.js.map +0 -1
  347. package/dist/templates/starter/categories/games/content.d.ts +0 -80
  348. package/dist/templates/starter/categories/games/content.d.ts.map +0 -1
  349. package/dist/templates/starter/categories/games/content.js +0 -100
  350. package/dist/templates/starter/categories/games/content.js.map +0 -1
  351. package/dist/templates/starter/categories/games/default.template.d.ts +0 -4
  352. package/dist/templates/starter/categories/games/default.template.d.ts.map +0 -1
  353. package/dist/templates/starter/categories/games/default.template.js +0 -17
  354. package/dist/templates/starter/categories/games/default.template.js.map +0 -1
  355. package/dist/templates/starter/categories/games/index.d.ts +0 -8
  356. package/dist/templates/starter/categories/games/index.d.ts.map +0 -1
  357. package/dist/templates/starter/categories/games/index.js +0 -24
  358. package/dist/templates/starter/categories/games/index.js.map +0 -1
  359. package/dist/templates/starter/categories/games/poker/content.d.ts +0 -11
  360. package/dist/templates/starter/categories/games/poker/content.d.ts.map +0 -1
  361. package/dist/templates/starter/categories/games/poker/content.js +0 -11
  362. package/dist/templates/starter/categories/games/poker/content.js.map +0 -1
  363. package/dist/templates/starter/categories/games/poker/data.d.ts +0 -35
  364. package/dist/templates/starter/categories/games/poker/data.d.ts.map +0 -1
  365. package/dist/templates/starter/categories/games/poker/data.js +0 -69
  366. package/dist/templates/starter/categories/games/poker/data.js.map +0 -1
  367. package/dist/templates/starter/categories/games/poker/index.d.ts +0 -2
  368. package/dist/templates/starter/categories/games/poker/index.d.ts.map +0 -1
  369. package/dist/templates/starter/categories/games/poker/index.js +0 -2
  370. package/dist/templates/starter/categories/games/poker/index.js.map +0 -1
  371. package/dist/templates/starter/categories/games/poker/routes.d.ts +0 -8
  372. package/dist/templates/starter/categories/games/poker/routes.d.ts.map +0 -1
  373. package/dist/templates/starter/categories/games/poker/routes.js +0 -28
  374. package/dist/templates/starter/categories/games/poker/routes.js.map +0 -1
  375. package/dist/templates/starter/categories/games/poker/screens.d.ts +0 -5
  376. package/dist/templates/starter/categories/games/poker/screens.d.ts.map +0 -1
  377. package/dist/templates/starter/categories/games/poker/screens.js +0 -125
  378. package/dist/templates/starter/categories/games/poker/screens.js.map +0 -1
  379. package/dist/templates/starter/categories/games/poker/template.d.ts +0 -4
  380. package/dist/templates/starter/categories/games/poker/template.d.ts.map +0 -1
  381. package/dist/templates/starter/categories/games/poker/template.js +0 -17
  382. package/dist/templates/starter/categories/games/poker/template.js.map +0 -1
  383. package/dist/templates/starter/categories/games/routes.d.ts +0 -11
  384. package/dist/templates/starter/categories/games/routes.d.ts.map +0 -1
  385. package/dist/templates/starter/categories/games/routes.js +0 -49
  386. package/dist/templates/starter/categories/games/routes.js.map +0 -1
  387. package/dist/templates/starter/categories/games/screens.d.ts +0 -5
  388. package/dist/templates/starter/categories/games/screens.d.ts.map +0 -1
  389. package/dist/templates/starter/categories/games/screens.js +0 -61
  390. package/dist/templates/starter/categories/games/screens.js.map +0 -1
  391. package/dist/templates/starter/categories/graphics-design/content.d.ts +0 -98
  392. package/dist/templates/starter/categories/graphics-design/content.d.ts.map +0 -1
  393. package/dist/templates/starter/categories/graphics-design/content.js +0 -123
  394. package/dist/templates/starter/categories/graphics-design/content.js.map +0 -1
  395. package/dist/templates/starter/categories/graphics-design/default.template.d.ts +0 -4
  396. package/dist/templates/starter/categories/graphics-design/default.template.d.ts.map +0 -1
  397. package/dist/templates/starter/categories/graphics-design/default.template.js +0 -17
  398. package/dist/templates/starter/categories/graphics-design/default.template.js.map +0 -1
  399. package/dist/templates/starter/categories/graphics-design/index.d.ts +0 -8
  400. package/dist/templates/starter/categories/graphics-design/index.d.ts.map +0 -1
  401. package/dist/templates/starter/categories/graphics-design/index.js +0 -10
  402. package/dist/templates/starter/categories/graphics-design/index.js.map +0 -1
  403. package/dist/templates/starter/categories/graphics-design/routes.d.ts +0 -12
  404. package/dist/templates/starter/categories/graphics-design/routes.d.ts.map +0 -1
  405. package/dist/templates/starter/categories/graphics-design/routes.js +0 -56
  406. package/dist/templates/starter/categories/graphics-design/routes.js.map +0 -1
  407. package/dist/templates/starter/categories/graphics-design/screens.d.ts +0 -5
  408. package/dist/templates/starter/categories/graphics-design/screens.d.ts.map +0 -1
  409. package/dist/templates/starter/categories/graphics-design/screens.js +0 -67
  410. package/dist/templates/starter/categories/graphics-design/screens.js.map +0 -1
  411. package/dist/templates/starter/categories/health-fitness/content.d.ts +0 -80
  412. package/dist/templates/starter/categories/health-fitness/content.d.ts.map +0 -1
  413. package/dist/templates/starter/categories/health-fitness/content.js +0 -100
  414. package/dist/templates/starter/categories/health-fitness/content.js.map +0 -1
  415. package/dist/templates/starter/categories/health-fitness/default.template.d.ts +0 -4
  416. package/dist/templates/starter/categories/health-fitness/default.template.d.ts.map +0 -1
  417. package/dist/templates/starter/categories/health-fitness/default.template.js +0 -17
  418. package/dist/templates/starter/categories/health-fitness/default.template.js.map +0 -1
  419. package/dist/templates/starter/categories/health-fitness/index.d.ts +0 -8
  420. package/dist/templates/starter/categories/health-fitness/index.d.ts.map +0 -1
  421. package/dist/templates/starter/categories/health-fitness/index.js +0 -10
  422. package/dist/templates/starter/categories/health-fitness/index.js.map +0 -1
  423. package/dist/templates/starter/categories/health-fitness/routes.d.ts +0 -11
  424. package/dist/templates/starter/categories/health-fitness/routes.d.ts.map +0 -1
  425. package/dist/templates/starter/categories/health-fitness/routes.js +0 -49
  426. package/dist/templates/starter/categories/health-fitness/routes.js.map +0 -1
  427. package/dist/templates/starter/categories/health-fitness/screens.d.ts +0 -5
  428. package/dist/templates/starter/categories/health-fitness/screens.d.ts.map +0 -1
  429. package/dist/templates/starter/categories/health-fitness/screens.js +0 -89
  430. package/dist/templates/starter/categories/health-fitness/screens.js.map +0 -1
  431. package/dist/templates/starter/categories/kids-family/content.d.ts +0 -80
  432. package/dist/templates/starter/categories/kids-family/content.d.ts.map +0 -1
  433. package/dist/templates/starter/categories/kids-family/content.js +0 -100
  434. package/dist/templates/starter/categories/kids-family/content.js.map +0 -1
  435. package/dist/templates/starter/categories/kids-family/default.template.d.ts +0 -4
  436. package/dist/templates/starter/categories/kids-family/default.template.d.ts.map +0 -1
  437. package/dist/templates/starter/categories/kids-family/default.template.js +0 -17
  438. package/dist/templates/starter/categories/kids-family/default.template.js.map +0 -1
  439. package/dist/templates/starter/categories/kids-family/index.d.ts +0 -8
  440. package/dist/templates/starter/categories/kids-family/index.d.ts.map +0 -1
  441. package/dist/templates/starter/categories/kids-family/index.js +0 -10
  442. package/dist/templates/starter/categories/kids-family/index.js.map +0 -1
  443. package/dist/templates/starter/categories/kids-family/routes.d.ts +0 -11
  444. package/dist/templates/starter/categories/kids-family/routes.d.ts.map +0 -1
  445. package/dist/templates/starter/categories/kids-family/routes.js +0 -49
  446. package/dist/templates/starter/categories/kids-family/routes.js.map +0 -1
  447. package/dist/templates/starter/categories/kids-family/screens.d.ts +0 -5
  448. package/dist/templates/starter/categories/kids-family/screens.d.ts.map +0 -1
  449. package/dist/templates/starter/categories/kids-family/screens.js +0 -61
  450. package/dist/templates/starter/categories/kids-family/screens.js.map +0 -1
  451. package/dist/templates/starter/categories/lifestyle/content.d.ts +0 -80
  452. package/dist/templates/starter/categories/lifestyle/content.d.ts.map +0 -1
  453. package/dist/templates/starter/categories/lifestyle/content.js +0 -100
  454. package/dist/templates/starter/categories/lifestyle/content.js.map +0 -1
  455. package/dist/templates/starter/categories/lifestyle/default.template.d.ts +0 -4
  456. package/dist/templates/starter/categories/lifestyle/default.template.d.ts.map +0 -1
  457. package/dist/templates/starter/categories/lifestyle/default.template.js +0 -17
  458. package/dist/templates/starter/categories/lifestyle/default.template.js.map +0 -1
  459. package/dist/templates/starter/categories/lifestyle/index.d.ts +0 -8
  460. package/dist/templates/starter/categories/lifestyle/index.d.ts.map +0 -1
  461. package/dist/templates/starter/categories/lifestyle/index.js +0 -10
  462. package/dist/templates/starter/categories/lifestyle/index.js.map +0 -1
  463. package/dist/templates/starter/categories/lifestyle/routes.d.ts +0 -11
  464. package/dist/templates/starter/categories/lifestyle/routes.d.ts.map +0 -1
  465. package/dist/templates/starter/categories/lifestyle/routes.js +0 -49
  466. package/dist/templates/starter/categories/lifestyle/routes.js.map +0 -1
  467. package/dist/templates/starter/categories/lifestyle/screens.d.ts +0 -5
  468. package/dist/templates/starter/categories/lifestyle/screens.d.ts.map +0 -1
  469. package/dist/templates/starter/categories/lifestyle/screens.js +0 -61
  470. package/dist/templates/starter/categories/lifestyle/screens.js.map +0 -1
  471. package/dist/templates/starter/categories/medical/content.d.ts +0 -80
  472. package/dist/templates/starter/categories/medical/content.d.ts.map +0 -1
  473. package/dist/templates/starter/categories/medical/content.js +0 -100
  474. package/dist/templates/starter/categories/medical/content.js.map +0 -1
  475. package/dist/templates/starter/categories/medical/default.template.d.ts +0 -4
  476. package/dist/templates/starter/categories/medical/default.template.d.ts.map +0 -1
  477. package/dist/templates/starter/categories/medical/default.template.js +0 -17
  478. package/dist/templates/starter/categories/medical/default.template.js.map +0 -1
  479. package/dist/templates/starter/categories/medical/index.d.ts +0 -8
  480. package/dist/templates/starter/categories/medical/index.d.ts.map +0 -1
  481. package/dist/templates/starter/categories/medical/index.js +0 -10
  482. package/dist/templates/starter/categories/medical/index.js.map +0 -1
  483. package/dist/templates/starter/categories/medical/routes.d.ts +0 -11
  484. package/dist/templates/starter/categories/medical/routes.d.ts.map +0 -1
  485. package/dist/templates/starter/categories/medical/routes.js +0 -49
  486. package/dist/templates/starter/categories/medical/routes.js.map +0 -1
  487. package/dist/templates/starter/categories/medical/screens.d.ts +0 -5
  488. package/dist/templates/starter/categories/medical/screens.d.ts.map +0 -1
  489. package/dist/templates/starter/categories/medical/screens.js +0 -61
  490. package/dist/templates/starter/categories/medical/screens.js.map +0 -1
  491. package/dist/templates/starter/categories/music-audio/content.d.ts +0 -67
  492. package/dist/templates/starter/categories/music-audio/content.d.ts.map +0 -1
  493. package/dist/templates/starter/categories/music-audio/content.js +0 -82
  494. package/dist/templates/starter/categories/music-audio/content.js.map +0 -1
  495. package/dist/templates/starter/categories/music-audio/default.template.d.ts +0 -4
  496. package/dist/templates/starter/categories/music-audio/default.template.d.ts.map +0 -1
  497. package/dist/templates/starter/categories/music-audio/default.template.js +0 -17
  498. package/dist/templates/starter/categories/music-audio/default.template.js.map +0 -1
  499. package/dist/templates/starter/categories/music-audio/index.d.ts +0 -8
  500. package/dist/templates/starter/categories/music-audio/index.d.ts.map +0 -1
  501. package/dist/templates/starter/categories/music-audio/index.js +0 -10
  502. package/dist/templates/starter/categories/music-audio/index.js.map +0 -1
  503. package/dist/templates/starter/categories/music-audio/routes.d.ts +0 -11
  504. package/dist/templates/starter/categories/music-audio/routes.d.ts.map +0 -1
  505. package/dist/templates/starter/categories/music-audio/routes.js +0 -49
  506. package/dist/templates/starter/categories/music-audio/routes.js.map +0 -1
  507. package/dist/templates/starter/categories/music-audio/screens.d.ts +0 -5
  508. package/dist/templates/starter/categories/music-audio/screens.d.ts.map +0 -1
  509. package/dist/templates/starter/categories/music-audio/screens.js +0 -100
  510. package/dist/templates/starter/categories/music-audio/screens.js.map +0 -1
  511. package/dist/templates/starter/categories/navigation-travel/content.d.ts +0 -80
  512. package/dist/templates/starter/categories/navigation-travel/content.d.ts.map +0 -1
  513. package/dist/templates/starter/categories/navigation-travel/content.js +0 -100
  514. package/dist/templates/starter/categories/navigation-travel/content.js.map +0 -1
  515. package/dist/templates/starter/categories/navigation-travel/default.template.d.ts +0 -4
  516. package/dist/templates/starter/categories/navigation-travel/default.template.d.ts.map +0 -1
  517. package/dist/templates/starter/categories/navigation-travel/default.template.js +0 -17
  518. package/dist/templates/starter/categories/navigation-travel/default.template.js.map +0 -1
  519. package/dist/templates/starter/categories/navigation-travel/index.d.ts +0 -8
  520. package/dist/templates/starter/categories/navigation-travel/index.d.ts.map +0 -1
  521. package/dist/templates/starter/categories/navigation-travel/index.js +0 -10
  522. package/dist/templates/starter/categories/navigation-travel/index.js.map +0 -1
  523. package/dist/templates/starter/categories/navigation-travel/routes.d.ts +0 -11
  524. package/dist/templates/starter/categories/navigation-travel/routes.d.ts.map +0 -1
  525. package/dist/templates/starter/categories/navigation-travel/routes.js +0 -49
  526. package/dist/templates/starter/categories/navigation-travel/routes.js.map +0 -1
  527. package/dist/templates/starter/categories/navigation-travel/screens.d.ts +0 -5
  528. package/dist/templates/starter/categories/navigation-travel/screens.d.ts.map +0 -1
  529. package/dist/templates/starter/categories/navigation-travel/screens.js +0 -61
  530. package/dist/templates/starter/categories/navigation-travel/screens.js.map +0 -1
  531. package/dist/templates/starter/categories/news-magazines/content.d.ts +0 -67
  532. package/dist/templates/starter/categories/news-magazines/content.d.ts.map +0 -1
  533. package/dist/templates/starter/categories/news-magazines/content.js +0 -82
  534. package/dist/templates/starter/categories/news-magazines/content.js.map +0 -1
  535. package/dist/templates/starter/categories/news-magazines/default.template.d.ts +0 -4
  536. package/dist/templates/starter/categories/news-magazines/default.template.d.ts.map +0 -1
  537. package/dist/templates/starter/categories/news-magazines/default.template.js +0 -17
  538. package/dist/templates/starter/categories/news-magazines/default.template.js.map +0 -1
  539. package/dist/templates/starter/categories/news-magazines/index.d.ts +0 -8
  540. package/dist/templates/starter/categories/news-magazines/index.d.ts.map +0 -1
  541. package/dist/templates/starter/categories/news-magazines/index.js +0 -10
  542. package/dist/templates/starter/categories/news-magazines/index.js.map +0 -1
  543. package/dist/templates/starter/categories/news-magazines/routes.d.ts +0 -11
  544. package/dist/templates/starter/categories/news-magazines/routes.d.ts.map +0 -1
  545. package/dist/templates/starter/categories/news-magazines/routes.js +0 -49
  546. package/dist/templates/starter/categories/news-magazines/routes.js.map +0 -1
  547. package/dist/templates/starter/categories/news-magazines/screens.d.ts +0 -5
  548. package/dist/templates/starter/categories/news-magazines/screens.d.ts.map +0 -1
  549. package/dist/templates/starter/categories/news-magazines/screens.js +0 -88
  550. package/dist/templates/starter/categories/news-magazines/screens.js.map +0 -1
  551. package/dist/templates/starter/categories/photo-video/content.d.ts +0 -80
  552. package/dist/templates/starter/categories/photo-video/content.d.ts.map +0 -1
  553. package/dist/templates/starter/categories/photo-video/content.js +0 -100
  554. package/dist/templates/starter/categories/photo-video/content.js.map +0 -1
  555. package/dist/templates/starter/categories/photo-video/default.template.d.ts +0 -4
  556. package/dist/templates/starter/categories/photo-video/default.template.d.ts.map +0 -1
  557. package/dist/templates/starter/categories/photo-video/default.template.js +0 -17
  558. package/dist/templates/starter/categories/photo-video/default.template.js.map +0 -1
  559. package/dist/templates/starter/categories/photo-video/index.d.ts +0 -8
  560. package/dist/templates/starter/categories/photo-video/index.d.ts.map +0 -1
  561. package/dist/templates/starter/categories/photo-video/index.js +0 -10
  562. package/dist/templates/starter/categories/photo-video/index.js.map +0 -1
  563. package/dist/templates/starter/categories/photo-video/routes.d.ts +0 -11
  564. package/dist/templates/starter/categories/photo-video/routes.d.ts.map +0 -1
  565. package/dist/templates/starter/categories/photo-video/routes.js +0 -49
  566. package/dist/templates/starter/categories/photo-video/routes.js.map +0 -1
  567. package/dist/templates/starter/categories/photo-video/screens.d.ts +0 -5
  568. package/dist/templates/starter/categories/photo-video/screens.d.ts.map +0 -1
  569. package/dist/templates/starter/categories/photo-video/screens.js +0 -61
  570. package/dist/templates/starter/categories/photo-video/screens.js.map +0 -1
  571. package/dist/templates/starter/categories/reference/content.d.ts +0 -85
  572. package/dist/templates/starter/categories/reference/content.d.ts.map +0 -1
  573. package/dist/templates/starter/categories/reference/content.js +0 -105
  574. package/dist/templates/starter/categories/reference/content.js.map +0 -1
  575. package/dist/templates/starter/categories/reference/default.template.d.ts +0 -4
  576. package/dist/templates/starter/categories/reference/default.template.d.ts.map +0 -1
  577. package/dist/templates/starter/categories/reference/default.template.js +0 -17
  578. package/dist/templates/starter/categories/reference/default.template.js.map +0 -1
  579. package/dist/templates/starter/categories/reference/index.d.ts +0 -8
  580. package/dist/templates/starter/categories/reference/index.d.ts.map +0 -1
  581. package/dist/templates/starter/categories/reference/index.js +0 -10
  582. package/dist/templates/starter/categories/reference/index.js.map +0 -1
  583. package/dist/templates/starter/categories/reference/routes.d.ts +0 -12
  584. package/dist/templates/starter/categories/reference/routes.d.ts.map +0 -1
  585. package/dist/templates/starter/categories/reference/routes.js +0 -56
  586. package/dist/templates/starter/categories/reference/routes.js.map +0 -1
  587. package/dist/templates/starter/categories/reference/screens.d.ts +0 -5
  588. package/dist/templates/starter/categories/reference/screens.d.ts.map +0 -1
  589. package/dist/templates/starter/categories/reference/screens.js +0 -94
  590. package/dist/templates/starter/categories/reference/screens.js.map +0 -1
  591. package/dist/templates/starter/categories/shopping-commerce/content.d.ts +0 -80
  592. package/dist/templates/starter/categories/shopping-commerce/content.d.ts.map +0 -1
  593. package/dist/templates/starter/categories/shopping-commerce/content.js +0 -100
  594. package/dist/templates/starter/categories/shopping-commerce/content.js.map +0 -1
  595. package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts +0 -4
  596. package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts.map +0 -1
  597. package/dist/templates/starter/categories/shopping-commerce/default.template.js +0 -17
  598. package/dist/templates/starter/categories/shopping-commerce/default.template.js.map +0 -1
  599. package/dist/templates/starter/categories/shopping-commerce/index.d.ts +0 -8
  600. package/dist/templates/starter/categories/shopping-commerce/index.d.ts.map +0 -1
  601. package/dist/templates/starter/categories/shopping-commerce/index.js +0 -10
  602. package/dist/templates/starter/categories/shopping-commerce/index.js.map +0 -1
  603. package/dist/templates/starter/categories/shopping-commerce/routes.d.ts +0 -11
  604. package/dist/templates/starter/categories/shopping-commerce/routes.d.ts.map +0 -1
  605. package/dist/templates/starter/categories/shopping-commerce/routes.js +0 -49
  606. package/dist/templates/starter/categories/shopping-commerce/routes.js.map +0 -1
  607. package/dist/templates/starter/categories/shopping-commerce/screens.d.ts +0 -5
  608. package/dist/templates/starter/categories/shopping-commerce/screens.d.ts.map +0 -1
  609. package/dist/templates/starter/categories/shopping-commerce/screens.js +0 -89
  610. package/dist/templates/starter/categories/shopping-commerce/screens.js.map +0 -1
  611. package/dist/templates/starter/categories/social-community/community.template.d.ts +0 -4
  612. package/dist/templates/starter/categories/social-community/community.template.d.ts.map +0 -1
  613. package/dist/templates/starter/categories/social-community/community.template.js +0 -17
  614. package/dist/templates/starter/categories/social-community/community.template.js.map +0 -1
  615. package/dist/templates/starter/categories/social-community/content.d.ts +0 -183
  616. package/dist/templates/starter/categories/social-community/content.d.ts.map +0 -1
  617. package/dist/templates/starter/categories/social-community/content.js +0 -231
  618. package/dist/templates/starter/categories/social-community/content.js.map +0 -1
  619. package/dist/templates/starter/categories/social-community/creator/index.d.ts +0 -2
  620. package/dist/templates/starter/categories/social-community/creator/index.d.ts.map +0 -1
  621. package/dist/templates/starter/categories/social-community/creator/index.js +0 -2
  622. package/dist/templates/starter/categories/social-community/creator/index.js.map +0 -1
  623. package/dist/templates/starter/categories/social-community/creator/routes.d.ts +0 -11
  624. package/dist/templates/starter/categories/social-community/creator/routes.d.ts.map +0 -1
  625. package/dist/templates/starter/categories/social-community/creator/routes.js +0 -49
  626. package/dist/templates/starter/categories/social-community/creator/routes.js.map +0 -1
  627. package/dist/templates/starter/categories/social-community/creator/screens.d.ts +0 -5
  628. package/dist/templates/starter/categories/social-community/creator/screens.d.ts.map +0 -1
  629. package/dist/templates/starter/categories/social-community/creator/screens.js +0 -96
  630. package/dist/templates/starter/categories/social-community/creator/screens.js.map +0 -1
  631. package/dist/templates/starter/categories/social-community/creator/template.d.ts +0 -4
  632. package/dist/templates/starter/categories/social-community/creator/template.d.ts.map +0 -1
  633. package/dist/templates/starter/categories/social-community/creator/template.js +0 -17
  634. package/dist/templates/starter/categories/social-community/creator/template.js.map +0 -1
  635. package/dist/templates/starter/categories/social-community/index.d.ts +0 -8
  636. package/dist/templates/starter/categories/social-community/index.d.ts.map +0 -1
  637. package/dist/templates/starter/categories/social-community/index.js +0 -17
  638. package/dist/templates/starter/categories/social-community/index.js.map +0 -1
  639. package/dist/templates/starter/categories/social-community/routes.community.d.ts +0 -11
  640. package/dist/templates/starter/categories/social-community/routes.community.d.ts.map +0 -1
  641. package/dist/templates/starter/categories/social-community/routes.community.js +0 -49
  642. package/dist/templates/starter/categories/social-community/routes.community.js.map +0 -1
  643. package/dist/templates/starter/categories/social-community/screens.community.d.ts +0 -5
  644. package/dist/templates/starter/categories/social-community/screens.community.d.ts.map +0 -1
  645. package/dist/templates/starter/categories/social-community/screens.community.js +0 -96
  646. package/dist/templates/starter/categories/social-community/screens.community.js.map +0 -1
  647. package/dist/templates/starter/categories/sports/content.d.ts +0 -80
  648. package/dist/templates/starter/categories/sports/content.d.ts.map +0 -1
  649. package/dist/templates/starter/categories/sports/content.js +0 -100
  650. package/dist/templates/starter/categories/sports/content.js.map +0 -1
  651. package/dist/templates/starter/categories/sports/default.template.d.ts +0 -4
  652. package/dist/templates/starter/categories/sports/default.template.d.ts.map +0 -1
  653. package/dist/templates/starter/categories/sports/default.template.js +0 -17
  654. package/dist/templates/starter/categories/sports/default.template.js.map +0 -1
  655. package/dist/templates/starter/categories/sports/index.d.ts +0 -8
  656. package/dist/templates/starter/categories/sports/index.d.ts.map +0 -1
  657. package/dist/templates/starter/categories/sports/index.js +0 -10
  658. package/dist/templates/starter/categories/sports/index.js.map +0 -1
  659. package/dist/templates/starter/categories/sports/routes.d.ts +0 -11
  660. package/dist/templates/starter/categories/sports/routes.d.ts.map +0 -1
  661. package/dist/templates/starter/categories/sports/routes.js +0 -49
  662. package/dist/templates/starter/categories/sports/routes.js.map +0 -1
  663. package/dist/templates/starter/categories/sports/screens.d.ts +0 -5
  664. package/dist/templates/starter/categories/sports/screens.d.ts.map +0 -1
  665. package/dist/templates/starter/categories/sports/screens.js +0 -61
  666. package/dist/templates/starter/categories/sports/screens.js.map +0 -1
  667. package/dist/templates/starter/categories/utilities-tools/content.d.ts +0 -98
  668. package/dist/templates/starter/categories/utilities-tools/content.d.ts.map +0 -1
  669. package/dist/templates/starter/categories/utilities-tools/content.js +0 -123
  670. package/dist/templates/starter/categories/utilities-tools/content.js.map +0 -1
  671. package/dist/templates/starter/categories/utilities-tools/default.template.d.ts +0 -4
  672. package/dist/templates/starter/categories/utilities-tools/default.template.d.ts.map +0 -1
  673. package/dist/templates/starter/categories/utilities-tools/default.template.js +0 -17
  674. package/dist/templates/starter/categories/utilities-tools/default.template.js.map +0 -1
  675. package/dist/templates/starter/categories/utilities-tools/index.d.ts +0 -8
  676. package/dist/templates/starter/categories/utilities-tools/index.d.ts.map +0 -1
  677. package/dist/templates/starter/categories/utilities-tools/index.js +0 -10
  678. package/dist/templates/starter/categories/utilities-tools/index.js.map +0 -1
  679. package/dist/templates/starter/categories/utilities-tools/routes.d.ts +0 -12
  680. package/dist/templates/starter/categories/utilities-tools/routes.d.ts.map +0 -1
  681. package/dist/templates/starter/categories/utilities-tools/routes.js +0 -56
  682. package/dist/templates/starter/categories/utilities-tools/routes.js.map +0 -1
  683. package/dist/templates/starter/categories/utilities-tools/screens.d.ts +0 -5
  684. package/dist/templates/starter/categories/utilities-tools/screens.d.ts.map +0 -1
  685. package/dist/templates/starter/categories/utilities-tools/screens.js +0 -67
  686. package/dist/templates/starter/categories/utilities-tools/screens.js.map +0 -1
  687. package/dist/templates/starter/categories/weather/content.d.ts +0 -75
  688. package/dist/templates/starter/categories/weather/content.d.ts.map +0 -1
  689. package/dist/templates/starter/categories/weather/content.js +0 -95
  690. package/dist/templates/starter/categories/weather/content.js.map +0 -1
  691. package/dist/templates/starter/categories/weather/default.template.d.ts +0 -4
  692. package/dist/templates/starter/categories/weather/default.template.d.ts.map +0 -1
  693. package/dist/templates/starter/categories/weather/default.template.js +0 -17
  694. package/dist/templates/starter/categories/weather/default.template.js.map +0 -1
  695. package/dist/templates/starter/categories/weather/index.d.ts +0 -8
  696. package/dist/templates/starter/categories/weather/index.d.ts.map +0 -1
  697. package/dist/templates/starter/categories/weather/index.js +0 -10
  698. package/dist/templates/starter/categories/weather/index.js.map +0 -1
  699. package/dist/templates/starter/categories/weather/routes.d.ts +0 -10
  700. package/dist/templates/starter/categories/weather/routes.d.ts.map +0 -1
  701. package/dist/templates/starter/categories/weather/routes.js +0 -42
  702. package/dist/templates/starter/categories/weather/routes.js.map +0 -1
  703. package/dist/templates/starter/categories/weather/screens.d.ts +0 -5
  704. package/dist/templates/starter/categories/weather/screens.d.ts.map +0 -1
  705. package/dist/templates/starter/categories/weather/screens.js +0 -31
  706. package/dist/templates/starter/categories/weather/screens.js.map +0 -1
  707. package/dist/templates/starter/index.d.ts +0 -3
  708. package/dist/templates/starter/index.d.ts.map +0 -1
  709. package/dist/templates/starter/index.js +0 -3
  710. package/dist/templates/starter/index.js.map +0 -1
  711. package/dist/templates/starter/starter.assets.d.ts +0 -22
  712. package/dist/templates/starter/starter.assets.d.ts.map +0 -1
  713. package/dist/templates/starter/starter.assets.js +0 -124
  714. package/dist/templates/starter/starter.assets.js.map +0 -1
  715. package/dist/templates/starter/starter.registry.d.ts +0 -7
  716. package/dist/templates/starter/starter.registry.d.ts.map +0 -1
  717. package/dist/templates/starter/starter.registry.js +0 -86
  718. package/dist/templates/starter/starter.registry.js.map +0 -1
  719. package/dist/templates/starter/starter.template.d.ts +0 -7
  720. package/dist/templates/starter/starter.template.d.ts.map +0 -1
  721. package/dist/templates/starter/starter.template.js +0 -12
  722. package/dist/templates/starter/starter.template.js.map +0 -1
  723. package/dist/templates/starter/starter.types.d.ts +0 -42
  724. package/dist/templates/starter/starter.types.d.ts.map +0 -1
  725. package/dist/templates/starter/starter.types.js +0 -2
  726. package/dist/templates/starter/starter.types.js.map +0 -1
  727. /package/dist/{templates/shared → authoring}/create-manifest-shell.d.ts +0 -0
  728. /package/dist/{templates/shared → authoring}/splash-screen.d.ts +0 -0
  729. /package/dist/{templates/shared → authoring}/splash-screen.js +0 -0
@@ -1,100 +0,0 @@
1
- export const foodDrinkContent = {
2
- discover: {
3
- eyebrow: 'Restaurant discovery',
4
- title: 'Discover what is ready now',
5
- description: 'Highlight locations, featured dishes, and timely offers for food and drink apps.',
6
- sections: [
7
- {
8
- title: 'Featured today',
9
- description: 'Give the first screen strong restaurant and dish signals.',
10
- cards: [
11
- {
12
- eyebrow: 'Chef pick',
13
- title: 'Roasted cauliflower bowl',
14
- description: 'A sample featured dish with dietary tags and prep notes.',
15
- },
16
- {
17
- eyebrow: 'Nearby',
18
- title: 'Downtown lunch menu',
19
- description: 'Reserve this card for location-aware recommendations.',
20
- },
21
- ],
22
- },
23
- ],
24
- },
25
- menu: {
26
- eyebrow: 'Menu',
27
- title: 'Menu sections and dietary tags',
28
- description: 'Organize dishes by course, preference, availability, and service window.',
29
- sections: [
30
- {
31
- title: 'Menu structure',
32
- description: 'Start with the sections a restaurant or ordering app needs.',
33
- cards: [
34
- {
35
- eyebrow: 'Lunch',
36
- title: 'Seasonal mains',
37
- description: 'Group dishes by service window and kitchen availability.',
38
- },
39
- {
40
- eyebrow: 'Dietary',
41
- title: 'Vegetarian and gluten-free',
42
- description: 'Keep dietary tags visible before runtime filtering is added.',
43
- },
44
- ],
45
- },
46
- ],
47
- },
48
- reservations: {
49
- eyebrow: 'Booking',
50
- title: 'Reservations and table requests',
51
- description: 'Prepare a booking surface for time, party size, and special requests.',
52
- sections: [
53
- {
54
- title: 'Upcoming service',
55
- description: 'Model the states needed for restaurant booking workflows.',
56
- cards: [
57
- {
58
- eyebrow: 'Tonight',
59
- title: 'Two tables at 19:30',
60
- description: 'Show booked, waitlisted, and open capacity states.',
61
- },
62
- {
63
- eyebrow: 'Request',
64
- title: 'Patio preference',
65
- description: 'Reserve space for guest notes and seating preferences.',
66
- },
67
- ],
68
- },
69
- ],
70
- },
71
- orders: {
72
- eyebrow: 'Orders',
73
- title: 'Current and recent orders',
74
- description: 'Track pickup, delivery, dine-in, and loyalty activity.',
75
- sections: [
76
- {
77
- title: 'Order states',
78
- description: 'Seed the route with realistic fulfillment placeholders.',
79
- cards: [
80
- {
81
- eyebrow: 'Preparing',
82
- title: 'Order #1048',
83
- description: 'A current order row with status and ETA.',
84
- },
85
- {
86
- eyebrow: 'Past order',
87
- title: 'Friday dinner pickup',
88
- description: 'A previous order row for receipts and reordering.',
89
- },
90
- ],
91
- },
92
- ],
93
- },
94
- profile: {
95
- eyebrow: 'Guest profile',
96
- title: 'Preferences and loyalty',
97
- description: 'Keep dietary preferences, favorite locations, and rewards visible.',
98
- },
99
- };
100
- //# sourceMappingURL=content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/food-drink/content.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE;QACR,OAAO,EAAE,sBAAsB;QAC/B,KAAK,EAAE,4BAA4B;QACnC,WAAW,EAAE,kFAAkF;QAC/F,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,2DAA2D;gBACxE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,WAAW;wBACpB,KAAK,EAAE,0BAA0B;wBACjC,WAAW,EAAE,0DAA0D;qBACxE;oBACD;wBACE,OAAO,EAAE,QAAQ;wBACjB,KAAK,EAAE,qBAAqB;wBAC5B,WAAW,EAAE,uDAAuD;qBACrE;iBACF;aACF;SACF;KACF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;QACf,KAAK,EAAE,gCAAgC;QACvC,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,6DAA6D;gBAC1E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,OAAO;wBAChB,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,0DAA0D;qBACxE;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,4BAA4B;wBACnC,WAAW,EAAE,8DAA8D;qBAC5E;iBACF;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,iCAAiC;QACxC,WAAW,EAAE,uEAAuE;QACpF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EAAE,2DAA2D;gBACxE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,qBAAqB;wBAC5B,WAAW,EAAE,oDAAoD;qBAClE;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,kBAAkB;wBACzB,WAAW,EAAE,wDAAwD;qBACtE;iBACF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,QAAQ;QACjB,KAAK,EAAE,2BAA2B;QAClC,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,yDAAyD;gBACtE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,WAAW;wBACpB,KAAK,EAAE,aAAa;wBACpB,WAAW,EAAE,0CAA0C;qBACxD;oBACD;wBACE,OAAO,EAAE,YAAY;wBACrB,KAAK,EAAE,sBAAsB;wBAC7B,WAAW,EAAE,mDAAmD;qBACjE;iBACF;aACF;SACF;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,oEAAoE;KAClF;CACO,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { AppManifest } from '@ankhorage/contracts';
2
- import type { TemplateSeed } from '../../starter.types';
3
- export declare function createFoodDrinkStarterTemplate(seed: TemplateSeed): AppManifest;
4
- //# sourceMappingURL=default.template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.template.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/food-drink/default.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIxD,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,YAAY,GAAG,WAAW,CAY9E"}
@@ -1,17 +0,0 @@
1
- import { DEFAULT_TEMPLATE_VERSION } from '../../../../internal/defaults';
2
- import { createManifestShell, createTheme } from '../../../shared';
3
- import { createFoodDrinkNavigator, createFoodDrinkScreenIds } from './routes';
4
- import { createFoodDrinkScreens } from './screens';
5
- export function createFoodDrinkStarterTemplate(seed) {
6
- const idPrefix = `${seed.category}-starter`;
7
- const theme = createTheme(seed);
8
- const screenIds = createFoodDrinkScreenIds(idPrefix);
9
- return createManifestShell({
10
- seed,
11
- theme,
12
- version: seed.version ?? DEFAULT_TEMPLATE_VERSION,
13
- navigator: createFoodDrinkNavigator(screenIds),
14
- screens: createFoodDrinkScreens(seed, idPrefix, screenIds),
15
- });
16
- }
17
- //# sourceMappingURL=default.template.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.template.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/food-drink/default.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnE,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAEnD,MAAM,UAAU,8BAA8B,CAAC,IAAkB;IAC/D,MAAM,QAAQ,GAAG,GAAG,IAAI,CAAC,QAAQ,UAAU,CAAC;IAC5C,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,SAAS,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC;IAErD,OAAO,mBAAmB,CAAC;QACzB,IAAI;QACJ,KAAK;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,wBAAwB;QACjD,SAAS,EAAE,wBAAwB,CAAC,SAAS,CAAC;QAC9C,OAAO,EAAE,sBAAsB,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;KAC3D,CAAC,CAAC;AACL,CAAC"}
@@ -1,8 +0,0 @@
1
- import { createFoodDrinkStarterTemplate } from './default.template';
2
- export declare const foodDrinkStarterTemplates: {
3
- id: string;
4
- label: string;
5
- description: string;
6
- create: typeof createFoodDrinkStarterTemplate;
7
- }[];
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/food-drink/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAGpE,eAAO,MAAM,yBAAyB;;;;;GAckB,CAAC"}
@@ -1,17 +0,0 @@
1
- import { createFoodDrinkStarterTemplate } from './default.template';
2
- import { createNutritionCatalogScanStarterTemplate } from './nutrition-catalog-scan';
3
- export const foodDrinkStarterTemplates = [
4
- {
5
- id: 'default',
6
- label: 'Restaurant and ordering',
7
- description: 'A discover, menu, reservations, orders, and profile starter for food apps.',
8
- create: createFoodDrinkStarterTemplate,
9
- },
10
- {
11
- id: 'nutrition-catalog-scan',
12
- label: 'Nutrition catalog scan',
13
- description: 'A product barcode nutrition scanner starter with direct product lookup, creation, and catalog browsing.',
14
- create: createNutritionCatalogScanStarterTemplate,
15
- },
16
- ];
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/food-drink/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,yCAAyC,EAAE,MAAM,0BAA0B,CAAC;AAErF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,4EAA4E;QACzF,MAAM,EAAE,8BAA8B;KACvC;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EACT,yGAAyG;QAC3G,MAAM,EAAE,yCAAyC;KAClD;CACqD,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { ExternalRestApiDefinition } from '@ankhorage/contracts/data';
2
- export declare function createNutritionCatalogScanApi(): ExternalRestApiDefinition;
3
- //# sourceMappingURL=api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAK3E,wBAAgB,6BAA6B,IAAI,yBAAyB,CAczE"}
@@ -1,18 +0,0 @@
1
- import { nutritionApiEndpoints } from './apiEndpoints';
2
- import { nutritionApiSchemas } from './apiSchemas';
3
- export function createNutritionCatalogScanApi() {
4
- return {
5
- id: 'nutrition',
6
- origin: 'external',
7
- protocol: 'rest',
8
- name: 'Nutrition API',
9
- description: 'Shared Nutrition catalog served by the Ankhorage API gateway.',
10
- baseUrl: 'https://api.ankhorage.com/v1/nutrition',
11
- openApi: {
12
- url: 'https://api.ankhorage.com/openapi.json',
13
- },
14
- schemas: nutritionApiSchemas,
15
- endpoints: nutritionApiEndpoints,
16
- };
17
- }
18
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,UAAU,6BAA6B;IAC3C,OAAO;QACL,EAAE,EAAE,WAAW;QACf,MAAM,EAAE,UAAU;QAClB,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,+DAA+D;QAC5E,OAAO,EAAE,wCAAwC;QACjD,OAAO,EAAE;YACP,GAAG,EAAE,wCAAwC;SAC9C;QACD,OAAO,EAAE,mBAAmB;QAC5B,SAAS,EAAE,qBAAqB;KACjC,CAAC;AACJ,CAAC"}
@@ -1,165 +0,0 @@
1
- import type { DataOperationParameter } from '@ankhorage/contracts/data';
2
- export declare const nutritionApiEndpoints: {
3
- readonly health: {
4
- readonly id: "health";
5
- readonly kind: "http";
6
- readonly path: "/health";
7
- readonly operations: {
8
- readonly 'health.get': {
9
- readonly id: "health.get";
10
- readonly endpointId: "health";
11
- readonly protocol: "http";
12
- readonly intent: "read";
13
- readonly method: "GET";
14
- readonly path: "/health";
15
- };
16
- };
17
- };
18
- readonly products: {
19
- readonly id: "products";
20
- readonly kind: "http";
21
- readonly path: "/products";
22
- readonly operations: {
23
- readonly 'products.list': {
24
- readonly id: "products.list";
25
- readonly endpointId: "products";
26
- readonly name: "List nutrition products";
27
- readonly protocol: "http";
28
- readonly intent: "read";
29
- readonly method: "GET";
30
- readonly path: "/products";
31
- readonly request: {
32
- readonly parameters: readonly [{
33
- readonly name: "limit";
34
- readonly location: "query";
35
- readonly schema: {
36
- readonly type: "integer";
37
- };
38
- readonly default: 50;
39
- }, {
40
- readonly name: "offset";
41
- readonly location: "query";
42
- readonly schema: {
43
- readonly type: "integer";
44
- };
45
- readonly default: 0;
46
- }];
47
- };
48
- readonly response: {
49
- readonly schemaRef: {
50
- readonly id: "NutritionProductListResponse";
51
- };
52
- };
53
- readonly pagination: {
54
- readonly kind: "limit-offset";
55
- readonly limitParameter: "limit";
56
- readonly offsetParameter: "offset";
57
- };
58
- };
59
- readonly 'products.read': {
60
- readonly id: "products.read";
61
- readonly endpointId: "products";
62
- readonly name: "Get nutrition product by ID";
63
- readonly protocol: "http";
64
- readonly intent: "read";
65
- readonly method: "GET";
66
- readonly path: "/products/:id";
67
- readonly request: {
68
- readonly parameters: readonly [DataOperationParameter];
69
- };
70
- readonly response: {
71
- readonly schemaRef: {
72
- readonly id: "NutritionProductResponse";
73
- };
74
- };
75
- };
76
- readonly 'products.getByBarcode': {
77
- readonly id: "products.getByBarcode";
78
- readonly endpointId: "products";
79
- readonly name: "Get nutrition product by barcode";
80
- readonly protocol: "http";
81
- readonly intent: "read";
82
- readonly method: "GET";
83
- readonly path: "/products/by-barcode/:barcode";
84
- readonly request: {
85
- readonly parameters: readonly [{
86
- readonly name: "barcode";
87
- readonly location: "path";
88
- readonly required: true;
89
- readonly schema: {
90
- readonly type: "string";
91
- };
92
- }];
93
- };
94
- readonly response: {
95
- readonly schemaRef: {
96
- readonly id: "NutritionProductResponse";
97
- };
98
- };
99
- };
100
- readonly 'products.create': {
101
- readonly id: "products.create";
102
- readonly endpointId: "products";
103
- readonly name: "Create nutrition product";
104
- readonly protocol: "http";
105
- readonly intent: "create";
106
- readonly method: "POST";
107
- readonly path: "/products";
108
- readonly request: {
109
- readonly parameters: readonly DataOperationParameter[];
110
- readonly contentType: "application/json";
111
- };
112
- readonly response: {
113
- readonly status: 201;
114
- readonly schemaRef: {
115
- readonly id: "NutritionProductResponse";
116
- };
117
- };
118
- };
119
- readonly 'products.update': {
120
- readonly id: "products.update";
121
- readonly endpointId: "products";
122
- readonly name: "Update nutrition product";
123
- readonly protocol: "http";
124
- readonly intent: "update";
125
- readonly method: "PATCH";
126
- readonly path: "/products/:id";
127
- readonly request: {
128
- readonly parameters: readonly [DataOperationParameter, ...{
129
- required: boolean;
130
- name: string;
131
- location: import("@ankhorage/contracts").DataOperationParameterLocation;
132
- description?: string;
133
- default?: import("@ankhorage/contracts").DataContractValue;
134
- schema?: import("@ankhorage/contracts").DataSchema;
135
- schemaRef?: import("@ankhorage/contracts").DataSchemaRef;
136
- }[]];
137
- readonly contentType: "application/json";
138
- };
139
- readonly response: {
140
- readonly schemaRef: {
141
- readonly id: "NutritionProductResponse";
142
- };
143
- };
144
- };
145
- readonly 'products.delete': {
146
- readonly id: "products.delete";
147
- readonly endpointId: "products";
148
- readonly name: "Delete nutrition product";
149
- readonly protocol: "http";
150
- readonly intent: "delete";
151
- readonly method: "DELETE";
152
- readonly path: "/products/:id";
153
- readonly request: {
154
- readonly parameters: readonly [DataOperationParameter];
155
- };
156
- readonly response: {
157
- readonly schemaRef: {
158
- readonly id: "NutritionProductResponse";
159
- };
160
- };
161
- };
162
- };
163
- };
164
- };
165
- //# sourceMappingURL=apiEndpoints.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiEndpoints.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AA8B9F,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GO,CAAC"}
@@ -1,138 +0,0 @@
1
- const productBodyParameters = [
2
- { name: 'barcode', location: 'body', required: true, schema: { type: 'string' } },
3
- {
4
- name: 'barcodeType',
5
- location: 'body',
6
- schema: {
7
- type: 'string',
8
- enum: ['ean_8', 'ean_13', 'upc_a', 'upc_e', 'gtin_14', 'unknown'],
9
- },
10
- },
11
- { name: 'name', location: 'body', required: true, schema: { type: 'string' } },
12
- { name: 'brand', location: 'body', schema: { type: 'string', nullable: true } },
13
- { name: 'packageLabel', location: 'body', schema: { type: 'string', nullable: true } },
14
- { name: 'nutritionFacts', location: 'body', schemaRef: { id: 'NutritionFacts' } },
15
- {
16
- name: 'imageRefs',
17
- location: 'body',
18
- schema: { type: 'array', items: { ref: { id: 'NutritionProductImageInput' } } },
19
- },
20
- ];
21
- const productIdParameter = {
22
- name: 'id',
23
- location: 'path',
24
- required: true,
25
- schema: { type: 'string' },
26
- };
27
- export const nutritionApiEndpoints = {
28
- health: {
29
- id: 'health',
30
- kind: 'http',
31
- path: '/health',
32
- operations: {
33
- 'health.get': {
34
- id: 'health.get',
35
- endpointId: 'health',
36
- protocol: 'http',
37
- intent: 'read',
38
- method: 'GET',
39
- path: '/health',
40
- },
41
- },
42
- },
43
- products: {
44
- id: 'products',
45
- kind: 'http',
46
- path: '/products',
47
- operations: {
48
- 'products.list': {
49
- id: 'products.list',
50
- endpointId: 'products',
51
- name: 'List nutrition products',
52
- protocol: 'http',
53
- intent: 'read',
54
- method: 'GET',
55
- path: '/products',
56
- request: {
57
- parameters: [
58
- { name: 'limit', location: 'query', schema: { type: 'integer' }, default: 50 },
59
- { name: 'offset', location: 'query', schema: { type: 'integer' }, default: 0 },
60
- ],
61
- },
62
- response: { schemaRef: { id: 'NutritionProductListResponse' } },
63
- pagination: { kind: 'limit-offset', limitParameter: 'limit', offsetParameter: 'offset' },
64
- },
65
- 'products.read': {
66
- id: 'products.read',
67
- endpointId: 'products',
68
- name: 'Get nutrition product by ID',
69
- protocol: 'http',
70
- intent: 'read',
71
- method: 'GET',
72
- path: '/products/:id',
73
- request: { parameters: [productIdParameter] },
74
- response: { schemaRef: { id: 'NutritionProductResponse' } },
75
- },
76
- 'products.getByBarcode': {
77
- id: 'products.getByBarcode',
78
- endpointId: 'products',
79
- name: 'Get nutrition product by barcode',
80
- protocol: 'http',
81
- intent: 'read',
82
- method: 'GET',
83
- path: '/products/by-barcode/:barcode',
84
- request: {
85
- parameters: [
86
- {
87
- name: 'barcode',
88
- location: 'path',
89
- required: true,
90
- schema: { type: 'string' },
91
- },
92
- ],
93
- },
94
- response: { schemaRef: { id: 'NutritionProductResponse' } },
95
- },
96
- 'products.create': {
97
- id: 'products.create',
98
- endpointId: 'products',
99
- name: 'Create nutrition product',
100
- protocol: 'http',
101
- intent: 'create',
102
- method: 'POST',
103
- path: '/products',
104
- request: { parameters: productBodyParameters, contentType: 'application/json' },
105
- response: { status: 201, schemaRef: { id: 'NutritionProductResponse' } },
106
- },
107
- 'products.update': {
108
- id: 'products.update',
109
- endpointId: 'products',
110
- name: 'Update nutrition product',
111
- protocol: 'http',
112
- intent: 'update',
113
- method: 'PATCH',
114
- path: '/products/:id',
115
- request: {
116
- parameters: [
117
- productIdParameter,
118
- ...productBodyParameters.map((parameter) => ({ ...parameter, required: false })),
119
- ],
120
- contentType: 'application/json',
121
- },
122
- response: { schemaRef: { id: 'NutritionProductResponse' } },
123
- },
124
- 'products.delete': {
125
- id: 'products.delete',
126
- endpointId: 'products',
127
- name: 'Delete nutrition product',
128
- protocol: 'http',
129
- intent: 'delete',
130
- method: 'DELETE',
131
- path: '/products/:id',
132
- request: { parameters: [productIdParameter] },
133
- response: { schemaRef: { id: 'NutritionProductResponse' } },
134
- },
135
- },
136
- },
137
- };
138
- //# sourceMappingURL=apiEndpoints.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiEndpoints.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.ts"],"names":[],"mappings":"AAEA,MAAM,qBAAqB,GAAsC;IAC/D,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACjF;QACE,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC;SAClE;KACF;IACD,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EA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EAAE,UAAU;gBACtB,IAAI,EAAE,0BAA0B;gBAChC,QAAQ,EAAE,MAAM;gBAChB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,QAAQ;gBAChB,IAAI,EAAE,eAAe;gBACrB,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,kBAAkB,CAAC,EAAE;gBAC7C,QAAQ,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE,EAAE;aAC5D;SACF;KACF;CACsC,CAAC"}
@@ -1,33 +0,0 @@
1
- import type { DataSchema } from '@ankhorage/contracts/data';
2
- export declare const nutritionApiSchemas: {
3
- readonly NutritionFacts: DataSchema;
4
- readonly NutritionProductImageInput: DataSchema;
5
- readonly StorageImageRef: DataSchema;
6
- readonly NutritionProduct: DataSchema;
7
- readonly NutritionProductListResponse: {
8
- readonly type: "object";
9
- readonly required: readonly ["products"];
10
- readonly properties: {
11
- readonly products: {
12
- readonly type: "array";
13
- readonly items: {
14
- readonly ref: {
15
- readonly id: "NutritionProduct";
16
- };
17
- };
18
- };
19
- };
20
- };
21
- readonly NutritionProductResponse: {
22
- readonly type: "object";
23
- readonly required: readonly ["product"];
24
- readonly properties: {
25
- readonly product: {
26
- readonly ref: {
27
- readonly id: "NutritionProduct";
28
- };
29
- };
30
- };
31
- };
32
- };
33
- //# sourceMappingURL=apiSchemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiSchemas.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,2BAA2B,CAAC;AAoEhF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBO,CAAC"}
@@ -1,80 +0,0 @@
1
- const nutritionFactsSchema = {
2
- type: 'object',
3
- required: ['basis'],
4
- properties: {
5
- basis: { type: 'string', enum: ['per_100g', 'per_100ml', 'per_serving'] },
6
- energyKj: { type: 'number', nullable: true },
7
- energyKcal: { type: 'number', nullable: true },
8
- fatG: { type: 'number', nullable: true },
9
- saturatedFatG: { type: 'number', nullable: true },
10
- carbohydratesG: { type: 'number', nullable: true },
11
- sugarsG: { type: 'number', nullable: true },
12
- fiberG: { type: 'number', nullable: true },
13
- proteinG: { type: 'number', nullable: true },
14
- saltG: { type: 'number', nullable: true },
15
- },
16
- };
17
- const imageProperties = {
18
- bucket: { type: 'string' },
19
- path: { type: 'string' },
20
- kind: {
21
- type: 'string',
22
- enum: ['front', 'nutrition_label', 'ingredients', 'barcode', 'other'],
23
- },
24
- publicUrl: { type: 'string', format: 'uri', nullable: true },
25
- width: { type: 'number', nullable: true },
26
- height: { type: 'number', nullable: true },
27
- uploadedAt: { type: 'string', format: 'date-time' },
28
- uploadedByUserId: { type: 'string', nullable: true },
29
- };
30
- const imageRefSchema = {
31
- type: 'object',
32
- required: ['id', 'bucket', 'path'],
33
- properties: { id: { type: 'string' }, ...imageProperties },
34
- };
35
- const imageInputSchema = {
36
- type: 'object',
37
- required: ['bucket', 'path'],
38
- properties: imageProperties,
39
- };
40
- const productSchema = {
41
- type: 'object',
42
- required: ['id', 'barcode', 'normalizedBarcode', 'name', 'createdAt', 'updatedAt'],
43
- properties: {
44
- id: { type: 'string' },
45
- barcode: { type: 'string' },
46
- normalizedBarcode: { type: 'string' },
47
- barcodeType: {
48
- type: 'string',
49
- enum: ['ean_8', 'ean_13', 'upc_a', 'upc_e', 'gtin_14', 'unknown'],
50
- },
51
- name: { type: 'string' },
52
- brand: { type: 'string', nullable: true },
53
- packageLabel: { type: 'string', nullable: true },
54
- nutritionFacts: { ref: { id: 'NutritionFacts' }, nullable: true },
55
- imageRefs: { type: 'array', items: { ref: { id: 'StorageImageRef' } } },
56
- createdByUserId: { type: 'string', nullable: true },
57
- createdAt: { type: 'string', format: 'date-time' },
58
- updatedAt: { type: 'string', format: 'date-time' },
59
- deletedAt: { type: 'string', format: 'date-time', nullable: true },
60
- },
61
- };
62
- export const nutritionApiSchemas = {
63
- NutritionFacts: nutritionFactsSchema,
64
- NutritionProductImageInput: imageInputSchema,
65
- StorageImageRef: imageRefSchema,
66
- NutritionProduct: productSchema,
67
- NutritionProductListResponse: {
68
- type: 'object',
69
- required: ['products'],
70
- properties: {
71
- products: { type: 'array', items: { ref: { id: 'NutritionProduct' } } },
72
- },
73
- },
74
- NutritionProductResponse: {
75
- type: 'object',
76
- required: ['product'],
77
- properties: { product: { ref: { id: 'NutritionProduct' } } },
78
- },
79
- };
80
- //# sourceMappingURL=apiSchemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apiSchemas.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.ts"],"names":[],"mappings":"AAEA,MAAM,oBAAoB,GAAe;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,OAAO,CAAC;IACnB,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,aAAa,CAAC,EAAE;QACzE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC5C,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC9C,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACjD,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAClD,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC3C,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IA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