@ankhorage/templates 9.1.2 → 9.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -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 +10 -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/dist/templates/categories/lifestyle/stillpath/createAppManifest.d.ts +4 -0
- package/dist/templates/categories/lifestyle/stillpath/createAppManifest.d.ts.map +1 -0
- package/dist/templates/categories/lifestyle/stillpath/createAppManifest.js +991 -0
- package/dist/templates/categories/lifestyle/stillpath/createAppManifest.js.map +1 -0
- package/package.json +6 -6
- package/src/templates/categories/lifestyle/stillpath/assets/images/home-hero.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/images/ocean-release.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/images/reflection-rest.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/images/ritual-hero.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/screens/home.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/screens/journal.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/screens/profile.webp +0 -0
- package/src/templates/categories/lifestyle/stillpath/assets/screens/rituals.webp +0 -0
- 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,42 +0,0 @@
|
|
|
1
|
-
import { createRoute } from '../../../shared';
|
|
2
|
-
export function createWeatherScreenIds(idPrefix) {
|
|
3
|
-
return {
|
|
4
|
-
now: `${idPrefix}-now`,
|
|
5
|
-
forecast: `${idPrefix}-forecast`,
|
|
6
|
-
alerts: `${idPrefix}-alerts`,
|
|
7
|
-
locations: `${idPrefix}-locations`,
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export function createWeatherNavigator(screenIds) {
|
|
11
|
-
return {
|
|
12
|
-
type: 'tabs',
|
|
13
|
-
initialRouteName: 'index',
|
|
14
|
-
routes: [
|
|
15
|
-
createRoute({
|
|
16
|
-
name: 'index',
|
|
17
|
-
screenId: screenIds.now,
|
|
18
|
-
label: 'Now',
|
|
19
|
-
icon: { provider: 'material-community', name: 'weather-partly-cloudy' },
|
|
20
|
-
}),
|
|
21
|
-
createRoute({
|
|
22
|
-
name: 'forecast',
|
|
23
|
-
screenId: screenIds.forecast,
|
|
24
|
-
label: 'Forecast',
|
|
25
|
-
icon: { provider: 'material-community', name: 'weather-cloudy-clock' },
|
|
26
|
-
}),
|
|
27
|
-
createRoute({
|
|
28
|
-
name: 'alerts',
|
|
29
|
-
screenId: screenIds.alerts,
|
|
30
|
-
label: 'Alerts',
|
|
31
|
-
icon: { provider: 'material-community', name: 'weather-cloudy-alert' },
|
|
32
|
-
}),
|
|
33
|
-
createRoute({
|
|
34
|
-
name: 'locations',
|
|
35
|
-
screenId: screenIds.locations,
|
|
36
|
-
label: 'Locations',
|
|
37
|
-
icon: { provider: 'material-community', name: 'map-marker-outline' },
|
|
38
|
-
}),
|
|
39
|
-
],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=routes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/weather/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAS9C,MAAM,U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emplateSeed } from '../../starter.types';
|
|
3
|
-
import type { WeatherScreenIds } from './routes';
|
|
4
|
-
export declare function createWeatherScreens(_seed: TemplateSeed, idPrefix: string, screenIds: WeatherScreenIds): AppManifest['screens'];
|
|
5
|
-
//# sourceMappingURL=screens.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"screens.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/weather/screens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,gBAAgB,GAC1B,WAAW,CAAC,SAAS,CAAC,CA2BxB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { createStarterContentScreen } from '../../../shared';
|
|
2
|
-
import { weatherContent } from './content';
|
|
3
|
-
export function createWeatherScreens(_seed, idPrefix, screenIds) {
|
|
4
|
-
return {
|
|
5
|
-
[screenIds.now]: createStarterContentScreen({
|
|
6
|
-
idPrefix,
|
|
7
|
-
screenId: screenIds.now,
|
|
8
|
-
name: 'Now',
|
|
9
|
-
content: weatherContent.now,
|
|
10
|
-
}),
|
|
11
|
-
[screenIds.forecast]: createStarterContentScreen({
|
|
12
|
-
idPrefix,
|
|
13
|
-
screenId: screenIds.forecast,
|
|
14
|
-
name: 'Forecast',
|
|
15
|
-
content: weatherContent.forecast,
|
|
16
|
-
}),
|
|
17
|
-
[screenIds.alerts]: createStarterContentScreen({
|
|
18
|
-
idPrefix,
|
|
19
|
-
screenId: screenIds.alerts,
|
|
20
|
-
name: 'Alerts',
|
|
21
|
-
content: weatherContent.alerts,
|
|
22
|
-
}),
|
|
23
|
-
[screenIds.locations]: createStarterContentScreen({
|
|
24
|
-
idPrefix,
|
|
25
|
-
screenId: screenIds.locations,
|
|
26
|
-
name: 'Locations',
|
|
27
|
-
content: weatherContent.locations,
|
|
28
|
-
}),
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=screens.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"screens.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/weather/screens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAG3C,MAAM,UAAU,oBAAoB,CAClC,KAAmB,EACnB,QAAgB,EAChB,SAA2B;IAE3B,OAAO;QACL,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,0BAA0B,CAAC;YAC1C,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,GAAG;YACvB,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,cAAc,CAAC,GAAG;SAC5B,CAAC;QACF,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,0BAA0B,CAAC;YAC/C,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,QAAQ;YAC5B,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,cAAc,CAAC,QAAQ;SACjC,CAAC;QACF,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,0BAA0B,CAAC;YAC7C,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,MAAM;YAC1B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,cAAc,CAAC,MAAM;SAC/B,CAAC;QACF,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,0BAA0B,CAAC;YAChD,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,SAAS;YAC7B,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE,cAAc,CAAC,SAAS;SAClC,CAAC;KACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { createStarterTemplateArtifact, type StarterTemplateArtifact, type StarterTemplateAsset, type StarterTemplateAssetSummary, summarizeStarterTemplateAssets, TEMPLATE_IMAGE_CONTENT_TYPES, type TemplateImageContentType, validateStarterTemplateAssets, } from './starter.assets';
|
|
2
|
-
export { createStarterTemplate, listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate, TEMPLATE_KINDS, type CategoryStarterTemplateDefinition, type StarterTemplateFactory, type StarterTemplateId, type StarterTemplateOptions, type StarterTemplateSelection, type StarterTemplateSummary, type StarterTemplateResult, type TemplateKind, type TemplateSeed, } from './starter.template';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/starter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,8BAA8B,EAC9B,4BAA4B,EAC5B,KAAK,wBAAwB,EAC7B,6BAA6B,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,EACd,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { createStarterTemplateArtifact, summarizeStarterTemplateAssets, TEMPLATE_IMAGE_CONTENT_TYPES, validateStarterTemplateAssets, } from './starter.assets';
|
|
2
|
-
export { createStarterTemplate, listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate, TEMPLATE_KINDS, } from './starter.template';
|
|
3
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/starter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAI7B,8BAA8B,EAC9B,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,cAAc,GAUf,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
-
export declare const TEMPLATE_IMAGE_CONTENT_TYPES: readonly ["image/avif", "image/gif", "image/jpeg", "image/png", "image/svg+xml", "image/webp"];
|
|
3
|
-
export type TemplateImageContentType = (typeof TEMPLATE_IMAGE_CONTENT_TYPES)[number];
|
|
4
|
-
export interface StarterTemplateAsset {
|
|
5
|
-
readonly sourcePath: string;
|
|
6
|
-
readonly targetPath: string;
|
|
7
|
-
readonly contentType: TemplateImageContentType;
|
|
8
|
-
readonly sizeBytes: number;
|
|
9
|
-
readonly sha256: string;
|
|
10
|
-
}
|
|
11
|
-
export type StarterTemplateAssetSummary = Omit<StarterTemplateAsset, 'sourcePath'>;
|
|
12
|
-
export interface StarterTemplateArtifact {
|
|
13
|
-
readonly manifest: AppManifest;
|
|
14
|
-
readonly assets: readonly StarterTemplateAsset[];
|
|
15
|
-
}
|
|
16
|
-
/*** Compose one canonical starter artifact from a manifest and its distributable image files. */
|
|
17
|
-
export declare function createStarterTemplateArtifact(manifest: AppManifest, assets?: readonly StarterTemplateAsset[]): StarterTemplateArtifact;
|
|
18
|
-
/*** Validate and deterministically order the bundled image files owned by one starter manifest. */
|
|
19
|
-
export declare function validateStarterTemplateAssets(manifest: AppManifest, assets: readonly StarterTemplateAsset[]): readonly StarterTemplateAsset[];
|
|
20
|
-
/*** Describe distributable image assets without exposing their package-internal source paths. */
|
|
21
|
-
export declare function summarizeStarterTemplateAssets(assets: readonly StarterTemplateAsset[]): readonly StarterTemplateAssetSummary[];
|
|
22
|
-
//# sourceMappingURL=starter.assets.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.assets.d.ts","sourceRoot":"","sources":["../../../src/templates/starter/starter.assets.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,sBAAsB,CAAC;AAEpE,eAAO,MAAM,4BAA4B,gGAO/B,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,CAAC,CAAC;AAErF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,wBAAwB,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAC;AAEnF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAClD;AAWD,iGAAiG;AACjG,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,WAAW,EACrB,MAAM,GAAE,SAAS,oBAAoB,EAAO,GAC3C,uBAAuB,CAKzB;AAED,mGAAmG;AACnG,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,WAAW,EACrB,MAAM,EAAE,SAAS,oBAAoB,EAAE,GACtC,SAAS,oBAAoB,EAAE,CA+BjC;AAED,iGAAiG;AACjG,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,SAAS,oBAAoB,EAAE,GACtC,SAAS,2BAA2B,EAAE,CAOxC"}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { posix } from 'node:path';
|
|
2
|
-
export const TEMPLATE_IMAGE_CONTENT_TYPES = [
|
|
3
|
-
'image/avif',
|
|
4
|
-
'image/gif',
|
|
5
|
-
'image/jpeg',
|
|
6
|
-
'image/png',
|
|
7
|
-
'image/svg+xml',
|
|
8
|
-
'image/webp',
|
|
9
|
-
];
|
|
10
|
-
const CONTENT_TYPE_EXTENSIONS = {
|
|
11
|
-
'image/avif': ['.avif'],
|
|
12
|
-
'image/gif': ['.gif'],
|
|
13
|
-
'image/jpeg': ['.jpeg', '.jpg'],
|
|
14
|
-
'image/png': ['.png'],
|
|
15
|
-
'image/svg+xml': ['.svg'],
|
|
16
|
-
'image/webp': ['.webp'],
|
|
17
|
-
};
|
|
18
|
-
/*** Compose one canonical starter artifact from a manifest and its distributable image files. */
|
|
19
|
-
export function createStarterTemplateArtifact(manifest, assets = []) {
|
|
20
|
-
return {
|
|
21
|
-
manifest,
|
|
22
|
-
assets: validateStarterTemplateAssets(manifest, assets),
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
/*** Validate and deterministically order the bundled image files owned by one starter manifest. */
|
|
26
|
-
export function validateStarterTemplateAssets(manifest, assets) {
|
|
27
|
-
const bundledMedia = collectBundledImageMedia(manifest);
|
|
28
|
-
const assetsByTarget = new Map();
|
|
29
|
-
const sourcePaths = new Set();
|
|
30
|
-
for (const asset of assets) {
|
|
31
|
-
validateAssetDescriptor(asset);
|
|
32
|
-
if (assetsByTarget.has(asset.targetPath)) {
|
|
33
|
-
throw new Error(`Starter template asset target is duplicated: ${asset.targetPath}`);
|
|
34
|
-
}
|
|
35
|
-
if (sourcePaths.has(asset.sourcePath)) {
|
|
36
|
-
throw new Error(`Starter template asset source is duplicated: ${asset.sourcePath}`);
|
|
37
|
-
}
|
|
38
|
-
assetsByTarget.set(asset.targetPath, asset);
|
|
39
|
-
sourcePaths.add(asset.sourcePath);
|
|
40
|
-
}
|
|
41
|
-
for (const [targetPath, mediaAsset] of bundledMedia) {
|
|
42
|
-
const asset = assetsByTarget.get(targetPath);
|
|
43
|
-
if (asset === undefined) {
|
|
44
|
-
throw new Error(`Bundled manifest image is missing its template asset: ${targetPath}`);
|
|
45
|
-
}
|
|
46
|
-
validateMediaMatchesAsset(mediaAsset, asset);
|
|
47
|
-
}
|
|
48
|
-
for (const targetPath of assetsByTarget.keys()) {
|
|
49
|
-
if (!bundledMedia.has(targetPath)) {
|
|
50
|
-
throw new Error(`Template asset is not referenced by bundled manifest media: ${targetPath}`);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return [...assets].sort((left, right) => left.targetPath.localeCompare(right.targetPath));
|
|
54
|
-
}
|
|
55
|
-
/*** Describe distributable image assets without exposing their package-internal source paths. */
|
|
56
|
-
export function summarizeStarterTemplateAssets(assets) {
|
|
57
|
-
return assets.map((asset) => ({
|
|
58
|
-
targetPath: asset.targetPath,
|
|
59
|
-
contentType: asset.contentType,
|
|
60
|
-
sizeBytes: asset.sizeBytes,
|
|
61
|
-
sha256: asset.sha256,
|
|
62
|
-
}));
|
|
63
|
-
}
|
|
64
|
-
/*** Collect unique bundled image media by app-relative target path. */
|
|
65
|
-
function collectBundledImageMedia(manifest) {
|
|
66
|
-
const bundledMedia = new Map();
|
|
67
|
-
for (const mediaAsset of Object.values(manifest.media?.assets ?? {})) {
|
|
68
|
-
if (mediaAsset.source.kind !== 'bundled')
|
|
69
|
-
continue;
|
|
70
|
-
if (mediaAsset.kind !== 'image') {
|
|
71
|
-
throw new Error(`Starter template bundled media must be an image: ${mediaAsset.id}`);
|
|
72
|
-
}
|
|
73
|
-
validateRelativePath(mediaAsset.source.path, 'assets/', 'Bundled manifest image path');
|
|
74
|
-
if (bundledMedia.has(mediaAsset.source.path)) {
|
|
75
|
-
throw new Error(`Bundled manifest image path is duplicated: ${mediaAsset.source.path}`);
|
|
76
|
-
}
|
|
77
|
-
bundledMedia.set(mediaAsset.source.path, mediaAsset);
|
|
78
|
-
}
|
|
79
|
-
return bundledMedia;
|
|
80
|
-
}
|
|
81
|
-
/*** Validate one immutable packaged-source to generated-target image descriptor. */
|
|
82
|
-
function validateAssetDescriptor(asset) {
|
|
83
|
-
validateRelativePath(asset.sourcePath, 'assets/templates/', 'Template asset source path');
|
|
84
|
-
validateRelativePath(asset.targetPath, 'assets/', 'Template asset target path');
|
|
85
|
-
if (!isTemplateImageContentType(asset.contentType)) {
|
|
86
|
-
throw new Error(`Unsupported template image content type: ${String(asset.contentType)}`);
|
|
87
|
-
}
|
|
88
|
-
const extension = posix.extname(asset.targetPath).toLowerCase();
|
|
89
|
-
if (!CONTENT_TYPE_EXTENSIONS[asset.contentType].includes(extension)) {
|
|
90
|
-
throw new Error(`Template asset extension ${extension || '(missing)'} does not match ${asset.contentType}.`);
|
|
91
|
-
}
|
|
92
|
-
if (!Number.isSafeInteger(asset.sizeBytes) || asset.sizeBytes <= 0) {
|
|
93
|
-
throw new Error(`Template asset size must be a positive safe integer: ${asset.targetPath}`);
|
|
94
|
-
}
|
|
95
|
-
if (!/^[0-9a-f]{64}$/u.test(asset.sha256)) {
|
|
96
|
-
throw new Error(`Template asset sha256 must be 64 lowercase hex characters: ${asset.targetPath}`);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
/*** Require manifest image metadata to describe the same immutable file as its bundle entry. */
|
|
100
|
-
function validateMediaMatchesAsset(mediaAsset, asset) {
|
|
101
|
-
if (mediaAsset.contentType !== asset.contentType) {
|
|
102
|
-
throw new Error(`Bundled manifest image content type differs from its asset: ${asset.targetPath}`);
|
|
103
|
-
}
|
|
104
|
-
if (mediaAsset.metadata?.sizeBytes !== asset.sizeBytes) {
|
|
105
|
-
throw new Error(`Bundled manifest image size differs from its asset: ${asset.targetPath}`);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
/*** Require a normalized portable relative path below its canonical owned prefix. */
|
|
109
|
-
function validateRelativePath(value, prefix, label) {
|
|
110
|
-
const segments = value.split('/');
|
|
111
|
-
if (value === '' ||
|
|
112
|
-
value.startsWith('/') ||
|
|
113
|
-
value.includes('\\') ||
|
|
114
|
-
posix.normalize(value) !== value ||
|
|
115
|
-
!value.startsWith(prefix) ||
|
|
116
|
-
segments.some((segment) => segment === '' || segment === '.' || segment === '..')) {
|
|
117
|
-
throw new Error(`${label} must be a normalized relative path below ${prefix}: ${value}`);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
/*** Narrow an unknown content type to the canonical template-image inventory. */
|
|
121
|
-
function isTemplateImageContentType(value) {
|
|
122
|
-
return TEMPLATE_IMAGE_CONTENT_TYPES.some((contentType) => contentType === value);
|
|
123
|
-
}
|
|
124
|
-
//# sourceMappingURL=starter.assets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.assets.js","sourceRoot":"","sources":["../../../src/templates/starter/starter.assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIlC,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,eAAe;IACf,YAAY;CACJ,CAAC;AAmBX,MAAM,uBAAuB,GAAkE;IAC7F,YAAY,EAAE,CAAC,OAAO,CAAC;IACvB,WAAW,EAAE,CAAC,MAAM,CAAC;IACrB,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;IAC/B,WAAW,EAAE,CAAC,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,MAAM,CAAC;IACzB,YAAY,EAAE,CAAC,OAAO,CAAC;CACxB,CAAC;AAEF,iGAAiG;AACjG,MAAM,UAAU,6BAA6B,CAC3C,QAAqB,EACrB,SAA0C,EAAE;IAE5C,OAAO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AACnF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { AppCategory } from '@ankhorage/contracts';
|
|
2
|
-
import type { CategoryStarterTemplateDefinition, StarterTemplateSummary, TemplateSeed } from './starter.types';
|
|
3
|
-
export declare function resolveStarterTemplate(seed: TemplateSeed, templateId?: string): CategoryStarterTemplateDefinition;
|
|
4
|
-
export declare function listStarterTemplates(category?: AppCategory): readonly CategoryStarterTemplateDefinition[];
|
|
5
|
-
export declare function listStarterTemplatesByCategory(category: AppCategory): readonly StarterTemplateSummary[];
|
|
6
|
-
export declare function listStarterTemplateSummaries(): readonly StarterTemplateSummary[];
|
|
7
|
-
//# sourceMappingURL=starter.registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.registry.d.ts","sourceRoot":"","sources":["../../../src/templates/starter/starter.registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAyBxD,OAAO,KAAK,EACV,iCAAiC,EACjC,sBAAsB,EACtB,YAAY,EACb,MAAM,iBAAiB,CAAC;AA0CzB,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,YAAY,EAClB,UAAU,SAAY,GACrB,iCAAiC,CAQnC;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,CAAC,EAAE,WAAW,GACrB,SAAS,iCAAiC,EAAE,CAa9C;AAED,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,WAAW,GACpB,SAAS,sBAAsB,EAAE,CAInC;AAED,wBAAgB,4BAA4B,IAAI,SAAS,sBAAsB,EAAE,CAQhF"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { booksReadingStarterTemplates } from './categories/books-reading';
|
|
2
|
-
import { businessProductivityStarterTemplates } from './categories/business-productivity';
|
|
3
|
-
import { developerToolsStarterTemplates } from './categories/developer-tools';
|
|
4
|
-
import { educationLearningStarterTemplates } from './categories/education-learning';
|
|
5
|
-
import { entertainmentMediaStarterTemplates } from './categories/entertainment-media';
|
|
6
|
-
import { financeMoneyStarterTemplates } from './categories/finance-money';
|
|
7
|
-
import { foodDrinkStarterTemplates } from './categories/food-drink';
|
|
8
|
-
import { gamesStarterTemplates } from './categories/games';
|
|
9
|
-
import { graphicsDesignStarterTemplates } from './categories/graphics-design';
|
|
10
|
-
import { healthFitnessStarterTemplates } from './categories/health-fitness';
|
|
11
|
-
import { kidsFamilyStarterTemplates } from './categories/kids-family';
|
|
12
|
-
import { lifestyleStarterTemplates } from './categories/lifestyle';
|
|
13
|
-
import { medicalStarterTemplates } from './categories/medical';
|
|
14
|
-
import { musicAudioStarterTemplates } from './categories/music-audio';
|
|
15
|
-
import { navigationTravelStarterTemplates } from './categories/navigation-travel';
|
|
16
|
-
import { newsMagazinesStarterTemplates } from './categories/news-magazines';
|
|
17
|
-
import { photoVideoStarterTemplates } from './categories/photo-video';
|
|
18
|
-
import { referenceStarterTemplates } from './categories/reference';
|
|
19
|
-
import { shoppingCommerceStarterTemplates } from './categories/shopping-commerce';
|
|
20
|
-
import { socialCommunityStarterTemplates } from './categories/social-community';
|
|
21
|
-
import { sportsStarterTemplates } from './categories/sports';
|
|
22
|
-
import { utilitiesToolsStarterTemplates } from './categories/utilities-tools';
|
|
23
|
-
import { weatherStarterTemplates } from './categories/weather';
|
|
24
|
-
const STARTER_TEMPLATE_REGISTRY = {
|
|
25
|
-
books_reading: booksReadingStarterTemplates,
|
|
26
|
-
business_productivity: businessProductivityStarterTemplates,
|
|
27
|
-
developer_tools: developerToolsStarterTemplates,
|
|
28
|
-
education_learning: educationLearningStarterTemplates,
|
|
29
|
-
entertainment_media: entertainmentMediaStarterTemplates,
|
|
30
|
-
finance_money: financeMoneyStarterTemplates,
|
|
31
|
-
food_drink: foodDrinkStarterTemplates,
|
|
32
|
-
games: gamesStarterTemplates,
|
|
33
|
-
graphics_design: graphicsDesignStarterTemplates,
|
|
34
|
-
health_fitness: healthFitnessStarterTemplates,
|
|
35
|
-
kids_family: kidsFamilyStarterTemplates,
|
|
36
|
-
lifestyle: lifestyleStarterTemplates,
|
|
37
|
-
medical: medicalStarterTemplates,
|
|
38
|
-
music_audio: musicAudioStarterTemplates,
|
|
39
|
-
navigation_travel: navigationTravelStarterTemplates,
|
|
40
|
-
news_magazines: newsMagazinesStarterTemplates,
|
|
41
|
-
photo_video: photoVideoStarterTemplates,
|
|
42
|
-
reference: referenceStarterTemplates,
|
|
43
|
-
shopping_commerce: shoppingCommerceStarterTemplates,
|
|
44
|
-
social_community: socialCommunityStarterTemplates,
|
|
45
|
-
sports: sportsStarterTemplates,
|
|
46
|
-
utilities_tools: utilitiesToolsStarterTemplates,
|
|
47
|
-
weather: weatherStarterTemplates,
|
|
48
|
-
};
|
|
49
|
-
function createTemplateSummary(category, template) {
|
|
50
|
-
return {
|
|
51
|
-
category,
|
|
52
|
-
description: template.description,
|
|
53
|
-
id: template.id,
|
|
54
|
-
label: template.label,
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
export function resolveStarterTemplate(seed, templateId = 'default') {
|
|
58
|
-
const categoryTemplates = STARTER_TEMPLATE_REGISTRY[seed.category];
|
|
59
|
-
const selected = categoryTemplates?.find((template) => template.id === templateId);
|
|
60
|
-
const categoryDefault = categoryTemplates?.find((template) => template.id === 'default');
|
|
61
|
-
const resolved = selected ?? categoryDefault;
|
|
62
|
-
if (!resolved)
|
|
63
|
-
throw new Error(`Category "${seed.category}" has no registered starter template.`);
|
|
64
|
-
return resolved;
|
|
65
|
-
}
|
|
66
|
-
export function listStarterTemplates(category) {
|
|
67
|
-
if (category) {
|
|
68
|
-
return STARTER_TEMPLATE_REGISTRY[category] ?? [];
|
|
69
|
-
}
|
|
70
|
-
const registeredTemplates = Object.values(STARTER_TEMPLATE_REGISTRY)
|
|
71
|
-
.filter((templates) => templates !== undefined)
|
|
72
|
-
.flatMap((templates) => templates);
|
|
73
|
-
return registeredTemplates;
|
|
74
|
-
}
|
|
75
|
-
export function listStarterTemplatesByCategory(category) {
|
|
76
|
-
return listStarterTemplates(category).map((template) => createTemplateSummary(category, template));
|
|
77
|
-
}
|
|
78
|
-
export function listStarterTemplateSummaries() {
|
|
79
|
-
return Object.entries(STARTER_TEMPLATE_REGISTRY).flatMap(([category, templates]) => {
|
|
80
|
-
if (templates === undefined) {
|
|
81
|
-
return [];
|
|
82
|
-
}
|
|
83
|
-
return templates.map((template) => createTemplateSummary(category, template));
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=starter.registry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.registry.js","sourceRoot":"","sources":["../../../src/templates/starter/starter.registry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,oCAAoC,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,g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;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B;IAC1C,OAAO,MAAM,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,EAAE;QACjF,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,qBAAqB,CAAC,QAAuB,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC/F,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate } from './starter.registry';
|
|
2
|
-
import { TEMPLATE_KINDS, type StarterTemplateOptions, type StarterTemplateResult, type TemplateSeed } from './starter.types';
|
|
3
|
-
export { TEMPLATE_KINDS };
|
|
4
|
-
export { listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate, };
|
|
5
|
-
export type { CategoryStarterTemplateDefinition, StarterTemplateFactory, StarterTemplateId, StarterTemplateOptions, StarterTemplateSelection, StarterTemplateSummary, StarterTemplateResult, TemplateKind, TemplateSeed, } from './starter.types';
|
|
6
|
-
export declare function createStarterTemplate(seed: TemplateSeed, options?: StarterTemplateOptions): StarterTemplateResult;
|
|
7
|
-
//# sourceMappingURL=starter.template.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.template.d.ts","sourceRoot":"","sources":["../../../src/templates/starter/starter.template.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,EACd,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,GACvB,CAAC;AACF,YAAY,EACV,iCAAiC,EACjC,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,EACZ,YAAY,GACb,MAAM,iBAAiB,CAAC;AAEzB,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE,sBAA2B,GACnC,qBAAqB,CAMvB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { assertTemplateManifestReady, validateTemplateManifest, } from '../../authoring/compose-category-manifest';
|
|
2
|
-
import { createStarterTemplateArtifact } from './starter.assets';
|
|
3
|
-
import { listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate, } from './starter.registry';
|
|
4
|
-
import { TEMPLATE_KINDS, } from './starter.types';
|
|
5
|
-
export { TEMPLATE_KINDS };
|
|
6
|
-
export { listStarterTemplateSummaries, listStarterTemplates, listStarterTemplatesByCategory, resolveStarterTemplate, };
|
|
7
|
-
export function createStarterTemplate(seed, options = {}) {
|
|
8
|
-
const template = resolveStarterTemplate(seed, options.templateId);
|
|
9
|
-
const manifest = assertTemplateManifestReady(validateTemplateManifest(template.create(seed, options)));
|
|
10
|
-
return createStarterTemplateArtifact(manifest, template.assets);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=starter.template.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.template.js","sourceRoot":"","sources":["../../../src/templates/starter/starter.template.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,GACzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,cAAc,GAIf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,GACvB,CAAC;AAaF,MAAM,UAAU,qBAAqB,CACnC,IAAkB,EAClB,UAAkC,EAAE;IAEpC,MAAM,QAAQ,GAAG,sBAAsB,CAAC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAClE,MAAM,QAAQ,GAAG,2BAA2B,CAC1C,wBAAwB,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CACzD,CAAC;IACF,OAAO,6BAA6B,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { AppCategory, AppManifest, ThemeConfig } from '@ankhorage/contracts';
|
|
2
|
-
import type { StarterTemplateArtifact, StarterTemplateAsset } from './starter.assets';
|
|
3
|
-
export declare const TEMPLATE_KINDS: readonly ["starter"];
|
|
4
|
-
export type TemplateKind = (typeof TEMPLATE_KINDS)[number];
|
|
5
|
-
export type StarterTemplateId = string;
|
|
6
|
-
export interface StarterTemplateSelection {
|
|
7
|
-
category: AppCategory;
|
|
8
|
-
templateId?: StarterTemplateId;
|
|
9
|
-
}
|
|
10
|
-
export interface StarterTemplateSummary {
|
|
11
|
-
id: StarterTemplateId;
|
|
12
|
-
category: AppCategory;
|
|
13
|
-
label: string;
|
|
14
|
-
description: string;
|
|
15
|
-
}
|
|
16
|
-
export interface TemplateSeed {
|
|
17
|
-
category: AppCategory;
|
|
18
|
-
categoryLabel: string;
|
|
19
|
-
appName: string;
|
|
20
|
-
slug: string;
|
|
21
|
-
summary: string;
|
|
22
|
-
focusAreas?: readonly [string, string, string];
|
|
23
|
-
primaryColor: string;
|
|
24
|
-
harmony: ThemeConfig['light']['harmony'];
|
|
25
|
-
theme?: ThemeConfig;
|
|
26
|
-
version?: string;
|
|
27
|
-
themeId?: string;
|
|
28
|
-
themeName?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface StarterTemplateOptions {
|
|
31
|
-
templateId?: StarterTemplateId;
|
|
32
|
-
}
|
|
33
|
-
export type StarterTemplateFactory = (seed: TemplateSeed, options?: StarterTemplateOptions) => AppManifest;
|
|
34
|
-
export interface CategoryStarterTemplateDefinition {
|
|
35
|
-
id: StarterTemplateId;
|
|
36
|
-
label: string;
|
|
37
|
-
description: string;
|
|
38
|
-
create: StarterTemplateFactory;
|
|
39
|
-
assets?: readonly StarterTemplateAsset[];
|
|
40
|
-
}
|
|
41
|
-
export type StarterTemplateResult = StarterTemplateArtifact;
|
|
42
|
-
//# sourceMappingURL=starter.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.types.d.ts","sourceRoot":"","sources":["../../../src/templates/starter/starter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,KAAK,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEtF,eAAO,MAAM,cAAc,sBAAuB,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAEvC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,WAAW,CAAC;IACtB,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAChC;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,iBAAiB,CAAC;IACtB,QAAQ,EAAE,WAAW,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,WAAW,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAChC;AAED,MAAM,MAAM,sBAAsB,GAAG,CACnC,IAAI,EAAE,YAAY,EAClB,OAAO,CAAC,EAAE,sBAAsB,KAC7B,WAAW,CAAC;AAEjB,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,iBAAiB,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,MAAM,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAC;CAC1C;AAED,MAAM,MAAM,qBAAqB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"starter.types.js","sourceRoot":"","sources":["../../../src/templates/starter/starter.types.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAS,CAAU,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|