@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.
- package/CHANGELOG.md +6 -0
- package/dist/authoring/compose-category-manifest.js +1 -1
- package/dist/authoring/compose-category-manifest.js.map +1 -1
- package/dist/authoring/create-manifest-shell.d.ts.map +1 -0
- package/dist/{templates/shared → authoring}/create-manifest-shell.js +1 -1
- package/dist/authoring/create-manifest-shell.js.map +1 -0
- package/dist/authoring/splash-screen.d.ts.map +1 -0
- package/dist/authoring/splash-screen.js.map +1 -0
- package/dist/catalog.d.ts +3 -4
- package/dist/catalog.d.ts.map +1 -1
- package/dist/catalog.js +11 -41
- package/dist/catalog.js.map +1 -1
- package/dist/commands.d.ts +4 -5
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +41 -68
- package/dist/commands.js.map +1 -1
- package/dist/fixtures/oauth.d.ts +1 -9
- package/dist/fixtures/oauth.d.ts.map +1 -1
- package/dist/fixtures/oauth.js +0 -13
- package/dist/fixtures/oauth.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/defaults.d.ts +0 -2
- package/dist/internal/defaults.d.ts.map +1 -1
- package/dist/internal/defaults.js +0 -2
- package/dist/internal/defaults.js.map +1 -1
- package/dist/projectSeed.d.ts +4 -4
- package/dist/projectSeed.d.ts.map +1 -1
- package/dist/projectSeed.js +16 -31
- package/dist/projectSeed.js.map +1 -1
- package/dist/templateSelector.d.ts +2 -2
- package/dist/templateSelector.d.ts.map +1 -1
- package/dist/templateSelector.js +13 -17
- package/dist/templateSelector.js.map +1 -1
- package/dist/templates/catalog.d.ts +33 -0
- package/dist/templates/catalog.d.ts.map +1 -0
- package/dist/templates/catalog.generated.d.ts +3 -0
- package/dist/templates/catalog.generated.d.ts.map +1 -0
- package/dist/templates/catalog.generated.js +2 -0
- package/dist/templates/catalog.generated.js.map +1 -0
- package/dist/templates/catalog.js +68 -0
- package/dist/templates/catalog.js.map +1 -0
- package/package.json +6 -6
- package/assets/templates/capability-proof/checker.svg +0 -1
- package/dist/generators/create-category-app.d.ts +0 -5
- package/dist/generators/create-category-app.d.ts.map +0 -1
- package/dist/generators/create-category-app.js +0 -51
- package/dist/generators/create-category-app.js.map +0 -1
- package/dist/internal/merge.d.ts +0 -4
- package/dist/internal/merge.d.ts.map +0 -1
- package/dist/internal/merge.js +0 -24
- package/dist/internal/merge.js.map +0 -1
- package/dist/internal/overrides.d.ts +0 -7
- package/dist/internal/overrides.d.ts.map +0 -1
- package/dist/internal/overrides.js +0 -2
- package/dist/internal/overrides.js.map +0 -1
- package/dist/internal/zora-nodes.d.ts +0 -135
- package/dist/internal/zora-nodes.d.ts.map +0 -1
- package/dist/internal/zora-nodes.js +0 -9
- package/dist/internal/zora-nodes.js.map +0 -1
- package/dist/templates/shared/create-manifest-shell.d.ts.map +0 -1
- package/dist/templates/shared/create-manifest-shell.js.map +0 -1
- package/dist/templates/shared/create-theme.d.ts +0 -11
- package/dist/templates/shared/create-theme.d.ts.map +0 -1
- package/dist/templates/shared/create-theme.js +0 -19
- package/dist/templates/shared/create-theme.js.map +0 -1
- package/dist/templates/shared/index.d.ts +0 -7
- package/dist/templates/shared/index.d.ts.map +0 -1
- package/dist/templates/shared/index.js +0 -7
- package/dist/templates/shared/index.js.map +0 -1
- package/dist/templates/shared/route.d.ts +0 -13
- package/dist/templates/shared/route.d.ts.map +0 -1
- package/dist/templates/shared/route.js +0 -14
- package/dist/templates/shared/route.js.map +0 -1
- package/dist/templates/shared/screen.d.ts +0 -11
- package/dist/templates/shared/screen.d.ts.map +0 -1
- package/dist/templates/shared/screen.js +0 -12
- package/dist/templates/shared/screen.js.map +0 -1
- package/dist/templates/shared/splash-screen.d.ts.map +0 -1
- package/dist/templates/shared/splash-screen.js.map +0 -1
- package/dist/templates/shared/starter-screens.d.ts +0 -46
- package/dist/templates/shared/starter-screens.d.ts.map +0 -1
- package/dist/templates/shared/starter-screens.js +0 -53
- package/dist/templates/shared/starter-screens.js.map +0 -1
- package/dist/templates/shared/zora-node-helpers.d.ts +0 -12
- package/dist/templates/shared/zora-node-helpers.d.ts.map +0 -1
- package/dist/templates/shared/zora-node-helpers.js +0 -33
- package/dist/templates/shared/zora-node-helpers.js.map +0 -1
- package/dist/templates/starter/categories/books-reading/content.d.ts +0 -80
- package/dist/templates/starter/categories/books-reading/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/books-reading/content.js +0 -100
- package/dist/templates/starter/categories/books-reading/content.js.map +0 -1
- package/dist/templates/starter/categories/books-reading/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/books-reading/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/books-reading/default.template.js +0 -17
- package/dist/templates/starter/categories/books-reading/default.template.js.map +0 -1
- package/dist/templates/starter/categories/books-reading/index.d.ts +0 -8
- package/dist/templates/starter/categories/books-reading/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/books-reading/index.js +0 -10
- package/dist/templates/starter/categories/books-reading/index.js.map +0 -1
- package/dist/templates/starter/categories/books-reading/routes.d.ts +0 -11
- package/dist/templates/starter/categories/books-reading/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/books-reading/routes.js +0 -49
- package/dist/templates/starter/categories/books-reading/routes.js.map +0 -1
- package/dist/templates/starter/categories/books-reading/screens.d.ts +0 -5
- package/dist/templates/starter/categories/books-reading/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/books-reading/screens.js +0 -61
- package/dist/templates/starter/categories/books-reading/screens.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/content.d.ts +0 -98
- package/dist/templates/starter/categories/business-productivity/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/content.js +0 -123
- package/dist/templates/starter/categories/business-productivity/content.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/business-productivity/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/default.template.js +0 -17
- package/dist/templates/starter/categories/business-productivity/default.template.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/index.d.ts +0 -8
- package/dist/templates/starter/categories/business-productivity/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/index.js +0 -17
- package/dist/templates/starter/categories/business-productivity/index.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/routes.d.ts +0 -12
- package/dist/templates/starter/categories/business-productivity/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/routes.js +0 -56
- package/dist/templates/starter/categories/business-productivity/routes.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/screens.d.ts +0 -5
- package/dist/templates/starter/categories/business-productivity/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/screens.js +0 -67
- package/dist/templates/starter/categories/business-productivity/screens.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts +0 -190
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js +0 -236
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/content.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts +0 -2
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js +0 -2
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/index.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts +0 -7
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js +0 -21
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/routes.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts +0 -4
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js +0 -42
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/screens.js.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts +0 -4
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js +0 -35
- package/dist/templates/starter/categories/business-productivity/urban-water-monitor/template.js.map +0 -1
- package/dist/templates/starter/categories/developer-tools/content.d.ts +0 -98
- package/dist/templates/starter/categories/developer-tools/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/developer-tools/content.js +0 -123
- package/dist/templates/starter/categories/developer-tools/content.js.map +0 -1
- package/dist/templates/starter/categories/developer-tools/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/developer-tools/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/developer-tools/default.template.js +0 -17
- package/dist/templates/starter/categories/developer-tools/default.template.js.map +0 -1
- package/dist/templates/starter/categories/developer-tools/index.d.ts +0 -8
- package/dist/templates/starter/categories/developer-tools/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/developer-tools/index.js +0 -10
- package/dist/templates/starter/categories/developer-tools/index.js.map +0 -1
- package/dist/templates/starter/categories/developer-tools/routes.d.ts +0 -12
- package/dist/templates/starter/categories/developer-tools/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/developer-tools/routes.js +0 -56
- package/dist/templates/starter/categories/developer-tools/routes.js.map +0 -1
- package/dist/templates/starter/categories/developer-tools/screens.d.ts +0 -5
- package/dist/templates/starter/categories/developer-tools/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/developer-tools/screens.js +0 -67
- package/dist/templates/starter/categories/developer-tools/screens.js.map +0 -1
- package/dist/templates/starter/categories/education-learning/content.d.ts +0 -80
- package/dist/templates/starter/categories/education-learning/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/education-learning/content.js +0 -100
- package/dist/templates/starter/categories/education-learning/content.js.map +0 -1
- package/dist/templates/starter/categories/education-learning/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/education-learning/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/education-learning/default.template.js +0 -17
- package/dist/templates/starter/categories/education-learning/default.template.js.map +0 -1
- package/dist/templates/starter/categories/education-learning/index.d.ts +0 -8
- package/dist/templates/starter/categories/education-learning/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/education-learning/index.js +0 -10
- package/dist/templates/starter/categories/education-learning/index.js.map +0 -1
- package/dist/templates/starter/categories/education-learning/routes.d.ts +0 -11
- package/dist/templates/starter/categories/education-learning/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/education-learning/routes.js +0 -49
- package/dist/templates/starter/categories/education-learning/routes.js.map +0 -1
- package/dist/templates/starter/categories/education-learning/screens.d.ts +0 -5
- package/dist/templates/starter/categories/education-learning/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/education-learning/screens.js +0 -61
- package/dist/templates/starter/categories/education-learning/screens.js.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/content.d.ts +0 -80
- package/dist/templates/starter/categories/entertainment-media/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/content.js +0 -100
- package/dist/templates/starter/categories/entertainment-media/content.js.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/entertainment-media/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/default.template.js +0 -17
- package/dist/templates/starter/categories/entertainment-media/default.template.js.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/index.d.ts +0 -8
- package/dist/templates/starter/categories/entertainment-media/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/index.js +0 -10
- package/dist/templates/starter/categories/entertainment-media/index.js.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/routes.d.ts +0 -11
- package/dist/templates/starter/categories/entertainment-media/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/routes.js +0 -49
- package/dist/templates/starter/categories/entertainment-media/routes.js.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/screens.d.ts +0 -5
- package/dist/templates/starter/categories/entertainment-media/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/entertainment-media/screens.js +0 -61
- package/dist/templates/starter/categories/entertainment-media/screens.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/content.d.ts +0 -93
- package/dist/templates/starter/categories/finance-money/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/content.js +0 -118
- package/dist/templates/starter/categories/finance-money/content.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/finance-money/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/default.template.js +0 -17
- package/dist/templates/starter/categories/finance-money/default.template.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts +0 -2
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js +0 -2
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/index.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts +0 -11
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js +0 -49
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/routes.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts +0 -4
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js +0 -299
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/screens.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts +0 -4
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js +0 -35
- package/dist/templates/starter/categories/finance-money/ebanking-mobile/template.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/index.d.ts +0 -8
- package/dist/templates/starter/categories/finance-money/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/index.js +0 -17
- package/dist/templates/starter/categories/finance-money/index.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/routes.d.ts +0 -11
- package/dist/templates/starter/categories/finance-money/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/routes.js +0 -49
- package/dist/templates/starter/categories/finance-money/routes.js.map +0 -1
- package/dist/templates/starter/categories/finance-money/screens.d.ts +0 -5
- package/dist/templates/starter/categories/finance-money/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/finance-money/screens.js +0 -37
- package/dist/templates/starter/categories/finance-money/screens.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/content.d.ts +0 -80
- package/dist/templates/starter/categories/food-drink/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/content.js +0 -100
- package/dist/templates/starter/categories/food-drink/content.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/food-drink/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/default.template.js +0 -17
- package/dist/templates/starter/categories/food-drink/default.template.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/index.d.ts +0 -8
- package/dist/templates/starter/categories/food-drink/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/index.js +0 -17
- package/dist/templates/starter/categories/food-drink/index.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts +0 -3
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js +0 -18
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/api.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts +0 -165
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js +0 -138
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiEndpoints.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts +0 -33
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js +0 -80
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/apiSchemas.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts +0 -3
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js +0 -310
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/bindings.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts +0 -3
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js +0 -44
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/catalogScreenBody.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts +0 -129
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js +0 -237
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/content.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts +0 -29
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js +0 -32
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts +0 -2
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js +0 -2
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/index.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts +0 -3
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js +0 -88
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productCreateScreenBody.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts +0 -8
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js +0 -96
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/productDetailScreenBody.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts +0 -15
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js +0 -69
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/routes.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts +0 -3
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js +0 -20
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/scanScreenBody.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts +0 -5
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js +0 -86
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/screens.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts +0 -8
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js +0 -44
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/settingsScreen.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts +0 -4
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js +0 -50
- package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/template.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/routes.d.ts +0 -11
- package/dist/templates/starter/categories/food-drink/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/routes.js +0 -49
- package/dist/templates/starter/categories/food-drink/routes.js.map +0 -1
- package/dist/templates/starter/categories/food-drink/screens.d.ts +0 -5
- package/dist/templates/starter/categories/food-drink/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/food-drink/screens.js +0 -93
- package/dist/templates/starter/categories/food-drink/screens.js.map +0 -1
- package/dist/templates/starter/categories/games/chess/content.d.ts +0 -39
- package/dist/templates/starter/categories/games/chess/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/chess/content.js +0 -49
- package/dist/templates/starter/categories/games/chess/content.js.map +0 -1
- package/dist/templates/starter/categories/games/chess/index.d.ts +0 -2
- package/dist/templates/starter/categories/games/chess/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/chess/index.js +0 -2
- package/dist/templates/starter/categories/games/chess/index.js.map +0 -1
- package/dist/templates/starter/categories/games/chess/routes.d.ts +0 -8
- package/dist/templates/starter/categories/games/chess/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/chess/routes.js +0 -28
- package/dist/templates/starter/categories/games/chess/routes.js.map +0 -1
- package/dist/templates/starter/categories/games/chess/screens.d.ts +0 -5
- package/dist/templates/starter/categories/games/chess/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/chess/screens.js +0 -124
- package/dist/templates/starter/categories/games/chess/screens.js.map +0 -1
- package/dist/templates/starter/categories/games/chess/template.d.ts +0 -4
- package/dist/templates/starter/categories/games/chess/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/chess/template.js +0 -17
- package/dist/templates/starter/categories/games/chess/template.js.map +0 -1
- package/dist/templates/starter/categories/games/content.d.ts +0 -80
- package/dist/templates/starter/categories/games/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/content.js +0 -100
- package/dist/templates/starter/categories/games/content.js.map +0 -1
- package/dist/templates/starter/categories/games/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/games/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/default.template.js +0 -17
- package/dist/templates/starter/categories/games/default.template.js.map +0 -1
- package/dist/templates/starter/categories/games/index.d.ts +0 -8
- package/dist/templates/starter/categories/games/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/index.js +0 -24
- package/dist/templates/starter/categories/games/index.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/content.d.ts +0 -11
- package/dist/templates/starter/categories/games/poker/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/content.js +0 -11
- package/dist/templates/starter/categories/games/poker/content.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/data.d.ts +0 -35
- package/dist/templates/starter/categories/games/poker/data.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/data.js +0 -69
- package/dist/templates/starter/categories/games/poker/data.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/index.d.ts +0 -2
- package/dist/templates/starter/categories/games/poker/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/index.js +0 -2
- package/dist/templates/starter/categories/games/poker/index.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/routes.d.ts +0 -8
- package/dist/templates/starter/categories/games/poker/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/routes.js +0 -28
- package/dist/templates/starter/categories/games/poker/routes.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/screens.d.ts +0 -5
- package/dist/templates/starter/categories/games/poker/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/screens.js +0 -125
- package/dist/templates/starter/categories/games/poker/screens.js.map +0 -1
- package/dist/templates/starter/categories/games/poker/template.d.ts +0 -4
- package/dist/templates/starter/categories/games/poker/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/poker/template.js +0 -17
- package/dist/templates/starter/categories/games/poker/template.js.map +0 -1
- package/dist/templates/starter/categories/games/routes.d.ts +0 -11
- package/dist/templates/starter/categories/games/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/routes.js +0 -49
- package/dist/templates/starter/categories/games/routes.js.map +0 -1
- package/dist/templates/starter/categories/games/screens.d.ts +0 -5
- package/dist/templates/starter/categories/games/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/games/screens.js +0 -61
- package/dist/templates/starter/categories/games/screens.js.map +0 -1
- package/dist/templates/starter/categories/graphics-design/content.d.ts +0 -98
- package/dist/templates/starter/categories/graphics-design/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/graphics-design/content.js +0 -123
- package/dist/templates/starter/categories/graphics-design/content.js.map +0 -1
- package/dist/templates/starter/categories/graphics-design/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/graphics-design/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/graphics-design/default.template.js +0 -17
- package/dist/templates/starter/categories/graphics-design/default.template.js.map +0 -1
- package/dist/templates/starter/categories/graphics-design/index.d.ts +0 -8
- package/dist/templates/starter/categories/graphics-design/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/graphics-design/index.js +0 -10
- package/dist/templates/starter/categories/graphics-design/index.js.map +0 -1
- package/dist/templates/starter/categories/graphics-design/routes.d.ts +0 -12
- package/dist/templates/starter/categories/graphics-design/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/graphics-design/routes.js +0 -56
- package/dist/templates/starter/categories/graphics-design/routes.js.map +0 -1
- package/dist/templates/starter/categories/graphics-design/screens.d.ts +0 -5
- package/dist/templates/starter/categories/graphics-design/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/graphics-design/screens.js +0 -67
- package/dist/templates/starter/categories/graphics-design/screens.js.map +0 -1
- package/dist/templates/starter/categories/health-fitness/content.d.ts +0 -80
- package/dist/templates/starter/categories/health-fitness/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/health-fitness/content.js +0 -100
- package/dist/templates/starter/categories/health-fitness/content.js.map +0 -1
- package/dist/templates/starter/categories/health-fitness/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/health-fitness/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/health-fitness/default.template.js +0 -17
- package/dist/templates/starter/categories/health-fitness/default.template.js.map +0 -1
- package/dist/templates/starter/categories/health-fitness/index.d.ts +0 -8
- package/dist/templates/starter/categories/health-fitness/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/health-fitness/index.js +0 -10
- package/dist/templates/starter/categories/health-fitness/index.js.map +0 -1
- package/dist/templates/starter/categories/health-fitness/routes.d.ts +0 -11
- package/dist/templates/starter/categories/health-fitness/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/health-fitness/routes.js +0 -49
- package/dist/templates/starter/categories/health-fitness/routes.js.map +0 -1
- package/dist/templates/starter/categories/health-fitness/screens.d.ts +0 -5
- package/dist/templates/starter/categories/health-fitness/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/health-fitness/screens.js +0 -89
- package/dist/templates/starter/categories/health-fitness/screens.js.map +0 -1
- package/dist/templates/starter/categories/kids-family/content.d.ts +0 -80
- package/dist/templates/starter/categories/kids-family/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/kids-family/content.js +0 -100
- package/dist/templates/starter/categories/kids-family/content.js.map +0 -1
- package/dist/templates/starter/categories/kids-family/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/kids-family/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/kids-family/default.template.js +0 -17
- package/dist/templates/starter/categories/kids-family/default.template.js.map +0 -1
- package/dist/templates/starter/categories/kids-family/index.d.ts +0 -8
- package/dist/templates/starter/categories/kids-family/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/kids-family/index.js +0 -10
- package/dist/templates/starter/categories/kids-family/index.js.map +0 -1
- package/dist/templates/starter/categories/kids-family/routes.d.ts +0 -11
- package/dist/templates/starter/categories/kids-family/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/kids-family/routes.js +0 -49
- package/dist/templates/starter/categories/kids-family/routes.js.map +0 -1
- package/dist/templates/starter/categories/kids-family/screens.d.ts +0 -5
- package/dist/templates/starter/categories/kids-family/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/kids-family/screens.js +0 -61
- package/dist/templates/starter/categories/kids-family/screens.js.map +0 -1
- package/dist/templates/starter/categories/lifestyle/content.d.ts +0 -80
- package/dist/templates/starter/categories/lifestyle/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/lifestyle/content.js +0 -100
- package/dist/templates/starter/categories/lifestyle/content.js.map +0 -1
- package/dist/templates/starter/categories/lifestyle/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/lifestyle/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/lifestyle/default.template.js +0 -17
- package/dist/templates/starter/categories/lifestyle/default.template.js.map +0 -1
- package/dist/templates/starter/categories/lifestyle/index.d.ts +0 -8
- package/dist/templates/starter/categories/lifestyle/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/lifestyle/index.js +0 -10
- package/dist/templates/starter/categories/lifestyle/index.js.map +0 -1
- package/dist/templates/starter/categories/lifestyle/routes.d.ts +0 -11
- package/dist/templates/starter/categories/lifestyle/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/lifestyle/routes.js +0 -49
- package/dist/templates/starter/categories/lifestyle/routes.js.map +0 -1
- package/dist/templates/starter/categories/lifestyle/screens.d.ts +0 -5
- package/dist/templates/starter/categories/lifestyle/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/lifestyle/screens.js +0 -61
- package/dist/templates/starter/categories/lifestyle/screens.js.map +0 -1
- package/dist/templates/starter/categories/medical/content.d.ts +0 -80
- package/dist/templates/starter/categories/medical/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/medical/content.js +0 -100
- package/dist/templates/starter/categories/medical/content.js.map +0 -1
- package/dist/templates/starter/categories/medical/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/medical/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/medical/default.template.js +0 -17
- package/dist/templates/starter/categories/medical/default.template.js.map +0 -1
- package/dist/templates/starter/categories/medical/index.d.ts +0 -8
- package/dist/templates/starter/categories/medical/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/medical/index.js +0 -10
- package/dist/templates/starter/categories/medical/index.js.map +0 -1
- package/dist/templates/starter/categories/medical/routes.d.ts +0 -11
- package/dist/templates/starter/categories/medical/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/medical/routes.js +0 -49
- package/dist/templates/starter/categories/medical/routes.js.map +0 -1
- package/dist/templates/starter/categories/medical/screens.d.ts +0 -5
- package/dist/templates/starter/categories/medical/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/medical/screens.js +0 -61
- package/dist/templates/starter/categories/medical/screens.js.map +0 -1
- package/dist/templates/starter/categories/music-audio/content.d.ts +0 -67
- package/dist/templates/starter/categories/music-audio/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/music-audio/content.js +0 -82
- package/dist/templates/starter/categories/music-audio/content.js.map +0 -1
- package/dist/templates/starter/categories/music-audio/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/music-audio/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/music-audio/default.template.js +0 -17
- package/dist/templates/starter/categories/music-audio/default.template.js.map +0 -1
- package/dist/templates/starter/categories/music-audio/index.d.ts +0 -8
- package/dist/templates/starter/categories/music-audio/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/music-audio/index.js +0 -10
- package/dist/templates/starter/categories/music-audio/index.js.map +0 -1
- package/dist/templates/starter/categories/music-audio/routes.d.ts +0 -11
- package/dist/templates/starter/categories/music-audio/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/music-audio/routes.js +0 -49
- package/dist/templates/starter/categories/music-audio/routes.js.map +0 -1
- package/dist/templates/starter/categories/music-audio/screens.d.ts +0 -5
- package/dist/templates/starter/categories/music-audio/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/music-audio/screens.js +0 -100
- package/dist/templates/starter/categories/music-audio/screens.js.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/content.d.ts +0 -80
- package/dist/templates/starter/categories/navigation-travel/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/content.js +0 -100
- package/dist/templates/starter/categories/navigation-travel/content.js.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/navigation-travel/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/default.template.js +0 -17
- package/dist/templates/starter/categories/navigation-travel/default.template.js.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/index.d.ts +0 -8
- package/dist/templates/starter/categories/navigation-travel/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/index.js +0 -10
- package/dist/templates/starter/categories/navigation-travel/index.js.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/routes.d.ts +0 -11
- package/dist/templates/starter/categories/navigation-travel/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/routes.js +0 -49
- package/dist/templates/starter/categories/navigation-travel/routes.js.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/screens.d.ts +0 -5
- package/dist/templates/starter/categories/navigation-travel/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/navigation-travel/screens.js +0 -61
- package/dist/templates/starter/categories/navigation-travel/screens.js.map +0 -1
- package/dist/templates/starter/categories/news-magazines/content.d.ts +0 -67
- package/dist/templates/starter/categories/news-magazines/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/news-magazines/content.js +0 -82
- package/dist/templates/starter/categories/news-magazines/content.js.map +0 -1
- package/dist/templates/starter/categories/news-magazines/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/news-magazines/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/news-magazines/default.template.js +0 -17
- package/dist/templates/starter/categories/news-magazines/default.template.js.map +0 -1
- package/dist/templates/starter/categories/news-magazines/index.d.ts +0 -8
- package/dist/templates/starter/categories/news-magazines/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/news-magazines/index.js +0 -10
- package/dist/templates/starter/categories/news-magazines/index.js.map +0 -1
- package/dist/templates/starter/categories/news-magazines/routes.d.ts +0 -11
- package/dist/templates/starter/categories/news-magazines/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/news-magazines/routes.js +0 -49
- package/dist/templates/starter/categories/news-magazines/routes.js.map +0 -1
- package/dist/templates/starter/categories/news-magazines/screens.d.ts +0 -5
- package/dist/templates/starter/categories/news-magazines/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/news-magazines/screens.js +0 -88
- package/dist/templates/starter/categories/news-magazines/screens.js.map +0 -1
- package/dist/templates/starter/categories/photo-video/content.d.ts +0 -80
- package/dist/templates/starter/categories/photo-video/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/photo-video/content.js +0 -100
- package/dist/templates/starter/categories/photo-video/content.js.map +0 -1
- package/dist/templates/starter/categories/photo-video/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/photo-video/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/photo-video/default.template.js +0 -17
- package/dist/templates/starter/categories/photo-video/default.template.js.map +0 -1
- package/dist/templates/starter/categories/photo-video/index.d.ts +0 -8
- package/dist/templates/starter/categories/photo-video/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/photo-video/index.js +0 -10
- package/dist/templates/starter/categories/photo-video/index.js.map +0 -1
- package/dist/templates/starter/categories/photo-video/routes.d.ts +0 -11
- package/dist/templates/starter/categories/photo-video/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/photo-video/routes.js +0 -49
- package/dist/templates/starter/categories/photo-video/routes.js.map +0 -1
- package/dist/templates/starter/categories/photo-video/screens.d.ts +0 -5
- package/dist/templates/starter/categories/photo-video/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/photo-video/screens.js +0 -61
- package/dist/templates/starter/categories/photo-video/screens.js.map +0 -1
- package/dist/templates/starter/categories/reference/content.d.ts +0 -85
- package/dist/templates/starter/categories/reference/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/reference/content.js +0 -105
- package/dist/templates/starter/categories/reference/content.js.map +0 -1
- package/dist/templates/starter/categories/reference/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/reference/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/reference/default.template.js +0 -17
- package/dist/templates/starter/categories/reference/default.template.js.map +0 -1
- package/dist/templates/starter/categories/reference/index.d.ts +0 -8
- package/dist/templates/starter/categories/reference/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/reference/index.js +0 -10
- package/dist/templates/starter/categories/reference/index.js.map +0 -1
- package/dist/templates/starter/categories/reference/routes.d.ts +0 -12
- package/dist/templates/starter/categories/reference/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/reference/routes.js +0 -56
- package/dist/templates/starter/categories/reference/routes.js.map +0 -1
- package/dist/templates/starter/categories/reference/screens.d.ts +0 -5
- package/dist/templates/starter/categories/reference/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/reference/screens.js +0 -94
- package/dist/templates/starter/categories/reference/screens.js.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/content.d.ts +0 -80
- package/dist/templates/starter/categories/shopping-commerce/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/content.js +0 -100
- package/dist/templates/starter/categories/shopping-commerce/content.js.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/shopping-commerce/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/default.template.js +0 -17
- package/dist/templates/starter/categories/shopping-commerce/default.template.js.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/index.d.ts +0 -8
- package/dist/templates/starter/categories/shopping-commerce/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/index.js +0 -10
- package/dist/templates/starter/categories/shopping-commerce/index.js.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/routes.d.ts +0 -11
- package/dist/templates/starter/categories/shopping-commerce/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/routes.js +0 -49
- package/dist/templates/starter/categories/shopping-commerce/routes.js.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/screens.d.ts +0 -5
- package/dist/templates/starter/categories/shopping-commerce/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/shopping-commerce/screens.js +0 -89
- package/dist/templates/starter/categories/shopping-commerce/screens.js.map +0 -1
- package/dist/templates/starter/categories/social-community/community.template.d.ts +0 -4
- package/dist/templates/starter/categories/social-community/community.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/community.template.js +0 -17
- package/dist/templates/starter/categories/social-community/community.template.js.map +0 -1
- package/dist/templates/starter/categories/social-community/content.d.ts +0 -183
- package/dist/templates/starter/categories/social-community/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/content.js +0 -231
- package/dist/templates/starter/categories/social-community/content.js.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/index.d.ts +0 -2
- package/dist/templates/starter/categories/social-community/creator/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/index.js +0 -2
- package/dist/templates/starter/categories/social-community/creator/index.js.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/routes.d.ts +0 -11
- package/dist/templates/starter/categories/social-community/creator/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/routes.js +0 -49
- package/dist/templates/starter/categories/social-community/creator/routes.js.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/screens.d.ts +0 -5
- package/dist/templates/starter/categories/social-community/creator/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/screens.js +0 -96
- package/dist/templates/starter/categories/social-community/creator/screens.js.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/template.d.ts +0 -4
- package/dist/templates/starter/categories/social-community/creator/template.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/creator/template.js +0 -17
- package/dist/templates/starter/categories/social-community/creator/template.js.map +0 -1
- package/dist/templates/starter/categories/social-community/index.d.ts +0 -8
- package/dist/templates/starter/categories/social-community/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/index.js +0 -17
- package/dist/templates/starter/categories/social-community/index.js.map +0 -1
- package/dist/templates/starter/categories/social-community/routes.community.d.ts +0 -11
- package/dist/templates/starter/categories/social-community/routes.community.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/routes.community.js +0 -49
- package/dist/templates/starter/categories/social-community/routes.community.js.map +0 -1
- package/dist/templates/starter/categories/social-community/screens.community.d.ts +0 -5
- package/dist/templates/starter/categories/social-community/screens.community.d.ts.map +0 -1
- package/dist/templates/starter/categories/social-community/screens.community.js +0 -96
- package/dist/templates/starter/categories/social-community/screens.community.js.map +0 -1
- package/dist/templates/starter/categories/sports/content.d.ts +0 -80
- package/dist/templates/starter/categories/sports/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/sports/content.js +0 -100
- package/dist/templates/starter/categories/sports/content.js.map +0 -1
- package/dist/templates/starter/categories/sports/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/sports/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/sports/default.template.js +0 -17
- package/dist/templates/starter/categories/sports/default.template.js.map +0 -1
- package/dist/templates/starter/categories/sports/index.d.ts +0 -8
- package/dist/templates/starter/categories/sports/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/sports/index.js +0 -10
- package/dist/templates/starter/categories/sports/index.js.map +0 -1
- package/dist/templates/starter/categories/sports/routes.d.ts +0 -11
- package/dist/templates/starter/categories/sports/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/sports/routes.js +0 -49
- package/dist/templates/starter/categories/sports/routes.js.map +0 -1
- package/dist/templates/starter/categories/sports/screens.d.ts +0 -5
- package/dist/templates/starter/categories/sports/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/sports/screens.js +0 -61
- package/dist/templates/starter/categories/sports/screens.js.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/content.d.ts +0 -98
- package/dist/templates/starter/categories/utilities-tools/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/content.js +0 -123
- package/dist/templates/starter/categories/utilities-tools/content.js.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/utilities-tools/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/default.template.js +0 -17
- package/dist/templates/starter/categories/utilities-tools/default.template.js.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/index.d.ts +0 -8
- package/dist/templates/starter/categories/utilities-tools/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/index.js +0 -10
- package/dist/templates/starter/categories/utilities-tools/index.js.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/routes.d.ts +0 -12
- package/dist/templates/starter/categories/utilities-tools/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/routes.js +0 -56
- package/dist/templates/starter/categories/utilities-tools/routes.js.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/screens.d.ts +0 -5
- package/dist/templates/starter/categories/utilities-tools/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/utilities-tools/screens.js +0 -67
- package/dist/templates/starter/categories/utilities-tools/screens.js.map +0 -1
- package/dist/templates/starter/categories/weather/content.d.ts +0 -75
- package/dist/templates/starter/categories/weather/content.d.ts.map +0 -1
- package/dist/templates/starter/categories/weather/content.js +0 -95
- package/dist/templates/starter/categories/weather/content.js.map +0 -1
- package/dist/templates/starter/categories/weather/default.template.d.ts +0 -4
- package/dist/templates/starter/categories/weather/default.template.d.ts.map +0 -1
- package/dist/templates/starter/categories/weather/default.template.js +0 -17
- package/dist/templates/starter/categories/weather/default.template.js.map +0 -1
- package/dist/templates/starter/categories/weather/index.d.ts +0 -8
- package/dist/templates/starter/categories/weather/index.d.ts.map +0 -1
- package/dist/templates/starter/categories/weather/index.js +0 -10
- package/dist/templates/starter/categories/weather/index.js.map +0 -1
- package/dist/templates/starter/categories/weather/routes.d.ts +0 -10
- package/dist/templates/starter/categories/weather/routes.d.ts.map +0 -1
- package/dist/templates/starter/categories/weather/routes.js +0 -42
- package/dist/templates/starter/categories/weather/routes.js.map +0 -1
- package/dist/templates/starter/categories/weather/screens.d.ts +0 -5
- package/dist/templates/starter/categories/weather/screens.d.ts.map +0 -1
- package/dist/templates/starter/categories/weather/screens.js +0 -31
- package/dist/templates/starter/categories/weather/screens.js.map +0 -1
- package/dist/templates/starter/index.d.ts +0 -3
- package/dist/templates/starter/index.d.ts.map +0 -1
- package/dist/templates/starter/index.js +0 -3
- package/dist/templates/starter/index.js.map +0 -1
- package/dist/templates/starter/starter.assets.d.ts +0 -22
- package/dist/templates/starter/starter.assets.d.ts.map +0 -1
- package/dist/templates/starter/starter.assets.js +0 -124
- package/dist/templates/starter/starter.assets.js.map +0 -1
- package/dist/templates/starter/starter.registry.d.ts +0 -7
- package/dist/templates/starter/starter.registry.d.ts.map +0 -1
- package/dist/templates/starter/starter.registry.js +0 -86
- package/dist/templates/starter/starter.registry.js.map +0 -1
- package/dist/templates/starter/starter.template.d.ts +0 -7
- package/dist/templates/starter/starter.template.d.ts.map +0 -1
- package/dist/templates/starter/starter.template.js +0 -12
- package/dist/templates/starter/starter.template.js.map +0 -1
- package/dist/templates/starter/starter.types.d.ts +0 -42
- package/dist/templates/starter/starter.types.d.ts.map +0 -1
- package/dist/templates/starter/starter.types.js +0 -2
- package/dist/templates/starter/starter.types.js.map +0 -1
- /package/dist/{templates/shared → authoring}/create-manifest-shell.d.ts +0 -0
- /package/dist/{templates/shared → authoring}/splash-screen.d.ts +0 -0
- /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;oBACL;wBACE,OAAO,EAAE,eAAe;wBACxB,KAAK,EAAE,wBAAwB;wBAC/B,WAAW,EACT,uFAAuF;qBAC1F;oBACD;wBACE,OAAO,EAAE,eAAe;wBACxB,KAAK,EAAE,wBAAwB;wBAC/B,WAAW,EAAE,0EAA0E;qBACxF;oBACD;wBACE,OAAO,EAAE,gBAAgB;wBACzB,KAAK,EAAE,8BAA8B;wBACrC,WAAW,EACT,uFAAuF;qBAC1F;iBACF;aACF;YACD;gBACE,KAAK,EAAE,cAAc;gBACrB,WAAW,EACT,kGAAkG;gBACpG,KAAK,EAAE;oBACL;wBACE,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,OAAO;wBAChB,KAAK,EAAE,kBAAkB;wBACzB,WAAW,EACT,gFAAgF;qBACnF;iBACF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,mBAAmB;QAC5B,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,4DAA4D;QACzE,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,4DAA4D;gBACzE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,eAAe;wBACxB,KAAK,EAAE,eAAe;wBACtB,WAAW,EACT,kFAAkF;qBACrF;iBACF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,kBAAkB;QAC3B,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EAAE,sDAAsD;QACnE,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EAAE,uEAAuE;gBACpF,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,iBAAiB;wBAC1B,KAAK,EAAE,+BAA+B;wBACtC,WAAW,EACT,kFAAkF;qBACrF;iBACF;aACF;SACF;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,wBAAwB;QACjC,KAAK,EAAE,UAAU;QACjB,WAAW,EACT,8FAA8F;QAChG,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,uBAAuB;gBAC9B,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"}
|
package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts
DELETED
|
@@ -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
|
package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.d.ts.map
DELETED
|
@@ -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"}
|
package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js
DELETED
|
@@ -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
|
package/dist/templates/starter/categories/food-drink/nutrition-catalog-scan/contentScreen.js.map
DELETED
|
@@ -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,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O,EACP,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,EAC1E,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CACpC,cAAc,CACZ,GAAG,QAAQ,IAAI,SAAS,SAAS,YAAY,GAAG,CAAC,IAAI,SAAS,GAAG,CAAC,EAAE,EACpE,MAAM,EACN;YACE,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,IAAI,EAAE,SAAS;SAChB,CACF,CACF,CACF;KACF,CACF,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -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 +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 +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,YAAY;gBAC1B,IAAI,EAAE,GAAG;aACV,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,oBAAoB,EAAE,WAAW,EAAE;gBAC3D,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,+CAA+C;gBAC5D,QAAQ,EAAE,IAAI;aACf,CAAC;YACF,cAAc,CAAC,GAAG,QAAQ,oBAAoB,EAAE,OAAO,EAAE;gBACvD,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,GAAG;aACV,CAAC;Y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c,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,EAAiB,MAAM,oBAAoB,CAAC;AAElF,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,KAAK,EAAE,WAAW;IAClB,UAAU,EAAE,UAAU;IACtB,WAAW,EAAE,eAAe;CACU,CAAC;AAEzC,SAAS,qBAAqB,CAAC,IAI9B;IACC,OAAO,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;QACrC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,WAAW;QACvB,IAAI,EAAE,SAAS;KAChB,CAAC,CAAC;AACL,CAAC;AAED,MAAM,aAAa,GAAG;IACpB,CAAC,MAAM,EAAE,MAAM,EAAE,iBAAiB,CAAC;IACnC,CAAC,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC;IACtC,CAAC,eAAe,EAAE,eAAe,EAAE,0BAA0B,CAAC;IAC9D,CAAC,SAAS,EAAE,SAAS,EAAE,oBAAoB,CAAC;IAC5C,CAAC,cAAc,EAAE,cAAc,EAAE,yBAAyB,CAAC;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ifest } 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"}
|