@ankhorage/templates 1.1.8 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +36 -7
- package/dist/templates/shared/index.d.ts +1 -0
- package/dist/templates/shared/index.d.ts.map +1 -1
- package/dist/templates/shared/index.js +1 -0
- package/dist/templates/shared/index.js.map +1 -1
- package/dist/templates/shared/starter-screens.d.ts +45 -0
- package/dist/templates/shared/starter-screens.d.ts.map +1 -0
- package/dist/templates/shared/starter-screens.js +53 -0
- package/dist/templates/shared/starter-screens.js.map +1 -0
- package/dist/templates/starter/categories/books-reading/content.d.ts +80 -0
- package/dist/templates/starter/categories/books-reading/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/books-reading/content.js +100 -0
- package/dist/templates/starter/categories/books-reading/content.js.map +1 -0
- package/dist/templates/starter/categories/books-reading/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/books-reading/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/books-reading/default.template.js +17 -0
- package/dist/templates/starter/categories/books-reading/default.template.js.map +1 -0
- package/dist/templates/starter/categories/books-reading/index.d.ts +9 -0
- package/dist/templates/starter/categories/books-reading/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/books-reading/index.js +11 -0
- package/dist/templates/starter/categories/books-reading/index.js.map +1 -0
- package/dist/templates/starter/categories/books-reading/routes.d.ts +11 -0
- package/dist/templates/starter/categories/books-reading/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/books-reading/routes.js +49 -0
- package/dist/templates/starter/categories/books-reading/routes.js.map +1 -0
- package/dist/templates/starter/categories/books-reading/screens.d.ts +5 -0
- package/dist/templates/starter/categories/books-reading/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/books-reading/screens.js +61 -0
- package/dist/templates/starter/categories/books-reading/screens.js.map +1 -0
- package/dist/templates/starter/categories/business-productivity/content.d.ts +98 -0
- package/dist/templates/starter/categories/business-productivity/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/business-productivity/content.js +123 -0
- package/dist/templates/starter/categories/business-productivity/content.js.map +1 -0
- package/dist/templates/starter/categories/business-productivity/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/business-productivity/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/business-productivity/default.template.js +17 -0
- package/dist/templates/starter/categories/business-productivity/default.template.js.map +1 -0
- package/dist/templates/starter/categories/business-productivity/index.d.ts +9 -0
- package/dist/templates/starter/categories/business-productivity/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/business-productivity/index.js +11 -0
- package/dist/templates/starter/categories/business-productivity/index.js.map +1 -0
- package/dist/templates/starter/categories/business-productivity/routes.d.ts +12 -0
- package/dist/templates/starter/categories/business-productivity/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/business-productivity/routes.js +56 -0
- package/dist/templates/starter/categories/business-productivity/routes.js.map +1 -0
- package/dist/templates/starter/categories/business-productivity/screens.d.ts +5 -0
- package/dist/templates/starter/categories/business-productivity/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/business-productivity/screens.js +67 -0
- package/dist/templates/starter/categories/business-productivity/screens.js.map +1 -0
- package/dist/templates/starter/categories/developer-tools/content.d.ts +98 -0
- package/dist/templates/starter/categories/developer-tools/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/developer-tools/content.js +123 -0
- package/dist/templates/starter/categories/developer-tools/content.js.map +1 -0
- package/dist/templates/starter/categories/developer-tools/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/developer-tools/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/developer-tools/default.template.js +17 -0
- package/dist/templates/starter/categories/developer-tools/default.template.js.map +1 -0
- package/dist/templates/starter/categories/developer-tools/index.d.ts +9 -0
- package/dist/templates/starter/categories/developer-tools/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/developer-tools/index.js +11 -0
- package/dist/templates/starter/categories/developer-tools/index.js.map +1 -0
- package/dist/templates/starter/categories/developer-tools/routes.d.ts +12 -0
- package/dist/templates/starter/categories/developer-tools/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/developer-tools/routes.js +56 -0
- package/dist/templates/starter/categories/developer-tools/routes.js.map +1 -0
- package/dist/templates/starter/categories/developer-tools/screens.d.ts +5 -0
- package/dist/templates/starter/categories/developer-tools/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/developer-tools/screens.js +67 -0
- package/dist/templates/starter/categories/developer-tools/screens.js.map +1 -0
- package/dist/templates/starter/categories/education-learning/content.d.ts +80 -0
- package/dist/templates/starter/categories/education-learning/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/education-learning/content.js +100 -0
- package/dist/templates/starter/categories/education-learning/content.js.map +1 -0
- package/dist/templates/starter/categories/education-learning/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/education-learning/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/education-learning/default.template.js +17 -0
- package/dist/templates/starter/categories/education-learning/default.template.js.map +1 -0
- package/dist/templates/starter/categories/education-learning/index.d.ts +9 -0
- package/dist/templates/starter/categories/education-learning/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/education-learning/index.js +11 -0
- package/dist/templates/starter/categories/education-learning/index.js.map +1 -0
- package/dist/templates/starter/categories/education-learning/routes.d.ts +11 -0
- package/dist/templates/starter/categories/education-learning/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/education-learning/routes.js +49 -0
- package/dist/templates/starter/categories/education-learning/routes.js.map +1 -0
- package/dist/templates/starter/categories/education-learning/screens.d.ts +5 -0
- package/dist/templates/starter/categories/education-learning/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/education-learning/screens.js +61 -0
- package/dist/templates/starter/categories/education-learning/screens.js.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/content.d.ts +80 -0
- package/dist/templates/starter/categories/entertainment-media/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/content.js +100 -0
- package/dist/templates/starter/categories/entertainment-media/content.js.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/entertainment-media/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/default.template.js +17 -0
- package/dist/templates/starter/categories/entertainment-media/default.template.js.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/index.d.ts +9 -0
- package/dist/templates/starter/categories/entertainment-media/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/index.js +11 -0
- package/dist/templates/starter/categories/entertainment-media/index.js.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/routes.d.ts +11 -0
- package/dist/templates/starter/categories/entertainment-media/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/routes.js +49 -0
- package/dist/templates/starter/categories/entertainment-media/routes.js.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/screens.d.ts +5 -0
- package/dist/templates/starter/categories/entertainment-media/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/entertainment-media/screens.js +61 -0
- package/dist/templates/starter/categories/entertainment-media/screens.js.map +1 -0
- package/dist/templates/starter/categories/finance-money/content.d.ts +93 -0
- package/dist/templates/starter/categories/finance-money/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/finance-money/content.js +118 -0
- package/dist/templates/starter/categories/finance-money/content.js.map +1 -0
- package/dist/templates/starter/categories/finance-money/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/finance-money/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/finance-money/default.template.js +17 -0
- package/dist/templates/starter/categories/finance-money/default.template.js.map +1 -0
- package/dist/templates/starter/categories/finance-money/index.d.ts +9 -0
- package/dist/templates/starter/categories/finance-money/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/finance-money/index.js +11 -0
- package/dist/templates/starter/categories/finance-money/index.js.map +1 -0
- package/dist/templates/starter/categories/finance-money/routes.d.ts +11 -0
- package/dist/templates/starter/categories/finance-money/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/finance-money/routes.js +49 -0
- package/dist/templates/starter/categories/finance-money/routes.js.map +1 -0
- package/dist/templates/starter/categories/finance-money/screens.d.ts +5 -0
- package/dist/templates/starter/categories/finance-money/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/finance-money/screens.js +37 -0
- package/dist/templates/starter/categories/finance-money/screens.js.map +1 -0
- package/dist/templates/starter/categories/games/content.d.ts +80 -0
- package/dist/templates/starter/categories/games/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/games/content.js +100 -0
- package/dist/templates/starter/categories/games/content.js.map +1 -0
- package/dist/templates/starter/categories/games/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/games/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/games/default.template.js +17 -0
- package/dist/templates/starter/categories/games/default.template.js.map +1 -0
- package/dist/templates/starter/categories/games/index.d.ts +9 -0
- package/dist/templates/starter/categories/games/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/games/index.js +11 -0
- package/dist/templates/starter/categories/games/index.js.map +1 -0
- package/dist/templates/starter/categories/games/routes.d.ts +11 -0
- package/dist/templates/starter/categories/games/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/games/routes.js +49 -0
- package/dist/templates/starter/categories/games/routes.js.map +1 -0
- package/dist/templates/starter/categories/games/screens.d.ts +5 -0
- package/dist/templates/starter/categories/games/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/games/screens.js +61 -0
- package/dist/templates/starter/categories/games/screens.js.map +1 -0
- package/dist/templates/starter/categories/graphics-design/content.d.ts +98 -0
- package/dist/templates/starter/categories/graphics-design/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/graphics-design/content.js +123 -0
- package/dist/templates/starter/categories/graphics-design/content.js.map +1 -0
- package/dist/templates/starter/categories/graphics-design/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/graphics-design/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/graphics-design/default.template.js +17 -0
- package/dist/templates/starter/categories/graphics-design/default.template.js.map +1 -0
- package/dist/templates/starter/categories/graphics-design/index.d.ts +9 -0
- package/dist/templates/starter/categories/graphics-design/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/graphics-design/index.js +11 -0
- package/dist/templates/starter/categories/graphics-design/index.js.map +1 -0
- package/dist/templates/starter/categories/graphics-design/routes.d.ts +12 -0
- package/dist/templates/starter/categories/graphics-design/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/graphics-design/routes.js +56 -0
- package/dist/templates/starter/categories/graphics-design/routes.js.map +1 -0
- package/dist/templates/starter/categories/graphics-design/screens.d.ts +5 -0
- package/dist/templates/starter/categories/graphics-design/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/graphics-design/screens.js +67 -0
- package/dist/templates/starter/categories/graphics-design/screens.js.map +1 -0
- package/dist/templates/starter/categories/kids-family/content.d.ts +80 -0
- package/dist/templates/starter/categories/kids-family/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/kids-family/content.js +100 -0
- package/dist/templates/starter/categories/kids-family/content.js.map +1 -0
- package/dist/templates/starter/categories/kids-family/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/kids-family/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/kids-family/default.template.js +17 -0
- package/dist/templates/starter/categories/kids-family/default.template.js.map +1 -0
- package/dist/templates/starter/categories/kids-family/index.d.ts +9 -0
- package/dist/templates/starter/categories/kids-family/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/kids-family/index.js +11 -0
- package/dist/templates/starter/categories/kids-family/index.js.map +1 -0
- package/dist/templates/starter/categories/kids-family/routes.d.ts +11 -0
- package/dist/templates/starter/categories/kids-family/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/kids-family/routes.js +49 -0
- package/dist/templates/starter/categories/kids-family/routes.js.map +1 -0
- package/dist/templates/starter/categories/kids-family/screens.d.ts +5 -0
- package/dist/templates/starter/categories/kids-family/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/kids-family/screens.js +61 -0
- package/dist/templates/starter/categories/kids-family/screens.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/content.d.ts +80 -0
- package/dist/templates/starter/categories/lifestyle/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/content.js +100 -0
- package/dist/templates/starter/categories/lifestyle/content.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/lifestyle/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/default.template.js +17 -0
- package/dist/templates/starter/categories/lifestyle/default.template.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/index.d.ts +9 -0
- package/dist/templates/starter/categories/lifestyle/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/index.js +11 -0
- package/dist/templates/starter/categories/lifestyle/index.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/routes.d.ts +11 -0
- package/dist/templates/starter/categories/lifestyle/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/routes.js +49 -0
- package/dist/templates/starter/categories/lifestyle/routes.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/screens.d.ts +5 -0
- package/dist/templates/starter/categories/lifestyle/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/screens.js +61 -0
- package/dist/templates/starter/categories/lifestyle/screens.js.map +1 -0
- package/dist/templates/starter/categories/medical/content.d.ts +80 -0
- package/dist/templates/starter/categories/medical/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/medical/content.js +100 -0
- package/dist/templates/starter/categories/medical/content.js.map +1 -0
- package/dist/templates/starter/categories/medical/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/medical/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/medical/default.template.js +17 -0
- package/dist/templates/starter/categories/medical/default.template.js.map +1 -0
- package/dist/templates/starter/categories/medical/index.d.ts +9 -0
- package/dist/templates/starter/categories/medical/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/medical/index.js +11 -0
- package/dist/templates/starter/categories/medical/index.js.map +1 -0
- package/dist/templates/starter/categories/medical/routes.d.ts +11 -0
- package/dist/templates/starter/categories/medical/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/medical/routes.js +49 -0
- package/dist/templates/starter/categories/medical/routes.js.map +1 -0
- package/dist/templates/starter/categories/medical/screens.d.ts +5 -0
- package/dist/templates/starter/categories/medical/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/medical/screens.js +61 -0
- package/dist/templates/starter/categories/medical/screens.js.map +1 -0
- package/dist/templates/starter/categories/music-audio/content.d.ts +67 -0
- package/dist/templates/starter/categories/music-audio/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/music-audio/content.js +82 -0
- package/dist/templates/starter/categories/music-audio/content.js.map +1 -0
- package/dist/templates/starter/categories/music-audio/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/music-audio/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/music-audio/default.template.js +17 -0
- package/dist/templates/starter/categories/music-audio/default.template.js.map +1 -0
- package/dist/templates/starter/categories/music-audio/index.d.ts +9 -0
- package/dist/templates/starter/categories/music-audio/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/music-audio/index.js +11 -0
- package/dist/templates/starter/categories/music-audio/index.js.map +1 -0
- package/dist/templates/starter/categories/music-audio/routes.d.ts +11 -0
- package/dist/templates/starter/categories/music-audio/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/music-audio/routes.js +49 -0
- package/dist/templates/starter/categories/music-audio/routes.js.map +1 -0
- package/dist/templates/starter/categories/music-audio/screens.d.ts +5 -0
- package/dist/templates/starter/categories/music-audio/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/music-audio/screens.js +100 -0
- package/dist/templates/starter/categories/music-audio/screens.js.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/content.d.ts +80 -0
- package/dist/templates/starter/categories/navigation-travel/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/content.js +100 -0
- package/dist/templates/starter/categories/navigation-travel/content.js.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/navigation-travel/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/default.template.js +17 -0
- package/dist/templates/starter/categories/navigation-travel/default.template.js.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/index.d.ts +9 -0
- package/dist/templates/starter/categories/navigation-travel/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/index.js +11 -0
- package/dist/templates/starter/categories/navigation-travel/index.js.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/routes.d.ts +11 -0
- package/dist/templates/starter/categories/navigation-travel/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/routes.js +49 -0
- package/dist/templates/starter/categories/navigation-travel/routes.js.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/screens.d.ts +5 -0
- package/dist/templates/starter/categories/navigation-travel/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/navigation-travel/screens.js +61 -0
- package/dist/templates/starter/categories/navigation-travel/screens.js.map +1 -0
- package/dist/templates/starter/categories/news-magazines/content.d.ts +67 -0
- package/dist/templates/starter/categories/news-magazines/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/news-magazines/content.js +82 -0
- package/dist/templates/starter/categories/news-magazines/content.js.map +1 -0
- package/dist/templates/starter/categories/news-magazines/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/news-magazines/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/news-magazines/default.template.js +17 -0
- package/dist/templates/starter/categories/news-magazines/default.template.js.map +1 -0
- package/dist/templates/starter/categories/news-magazines/index.d.ts +9 -0
- package/dist/templates/starter/categories/news-magazines/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/news-magazines/index.js +11 -0
- package/dist/templates/starter/categories/news-magazines/index.js.map +1 -0
- package/dist/templates/starter/categories/news-magazines/routes.d.ts +11 -0
- package/dist/templates/starter/categories/news-magazines/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/news-magazines/routes.js +49 -0
- package/dist/templates/starter/categories/news-magazines/routes.js.map +1 -0
- package/dist/templates/starter/categories/news-magazines/screens.d.ts +5 -0
- package/dist/templates/starter/categories/news-magazines/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/news-magazines/screens.js +88 -0
- package/dist/templates/starter/categories/news-magazines/screens.js.map +1 -0
- package/dist/templates/starter/categories/photo-video/content.d.ts +80 -0
- package/dist/templates/starter/categories/photo-video/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/photo-video/content.js +100 -0
- package/dist/templates/starter/categories/photo-video/content.js.map +1 -0
- package/dist/templates/starter/categories/photo-video/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/photo-video/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/photo-video/default.template.js +17 -0
- package/dist/templates/starter/categories/photo-video/default.template.js.map +1 -0
- package/dist/templates/starter/categories/photo-video/index.d.ts +9 -0
- package/dist/templates/starter/categories/photo-video/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/photo-video/index.js +11 -0
- package/dist/templates/starter/categories/photo-video/index.js.map +1 -0
- package/dist/templates/starter/categories/photo-video/routes.d.ts +11 -0
- package/dist/templates/starter/categories/photo-video/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/photo-video/routes.js +49 -0
- package/dist/templates/starter/categories/photo-video/routes.js.map +1 -0
- package/dist/templates/starter/categories/photo-video/screens.d.ts +5 -0
- package/dist/templates/starter/categories/photo-video/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/photo-video/screens.js +61 -0
- package/dist/templates/starter/categories/photo-video/screens.js.map +1 -0
- package/dist/templates/starter/categories/reference/content.d.ts +85 -0
- package/dist/templates/starter/categories/reference/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/reference/content.js +105 -0
- package/dist/templates/starter/categories/reference/content.js.map +1 -0
- package/dist/templates/starter/categories/reference/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/reference/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/reference/default.template.js +17 -0
- package/dist/templates/starter/categories/reference/default.template.js.map +1 -0
- package/dist/templates/starter/categories/reference/index.d.ts +9 -0
- package/dist/templates/starter/categories/reference/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/reference/index.js +11 -0
- package/dist/templates/starter/categories/reference/index.js.map +1 -0
- package/dist/templates/starter/categories/reference/routes.d.ts +12 -0
- package/dist/templates/starter/categories/reference/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/reference/routes.js +56 -0
- package/dist/templates/starter/categories/reference/routes.js.map +1 -0
- package/dist/templates/starter/categories/reference/screens.d.ts +5 -0
- package/dist/templates/starter/categories/reference/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/reference/screens.js +94 -0
- package/dist/templates/starter/categories/reference/screens.js.map +1 -0
- package/dist/templates/starter/categories/sports/content.d.ts +80 -0
- package/dist/templates/starter/categories/sports/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/sports/content.js +100 -0
- package/dist/templates/starter/categories/sports/content.js.map +1 -0
- package/dist/templates/starter/categories/sports/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/sports/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/sports/default.template.js +17 -0
- package/dist/templates/starter/categories/sports/default.template.js.map +1 -0
- package/dist/templates/starter/categories/sports/index.d.ts +9 -0
- package/dist/templates/starter/categories/sports/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/sports/index.js +11 -0
- package/dist/templates/starter/categories/sports/index.js.map +1 -0
- package/dist/templates/starter/categories/sports/routes.d.ts +11 -0
- package/dist/templates/starter/categories/sports/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/sports/routes.js +49 -0
- package/dist/templates/starter/categories/sports/routes.js.map +1 -0
- package/dist/templates/starter/categories/sports/screens.d.ts +5 -0
- package/dist/templates/starter/categories/sports/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/sports/screens.js +61 -0
- package/dist/templates/starter/categories/sports/screens.js.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/content.d.ts +98 -0
- package/dist/templates/starter/categories/utilities-tools/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/content.js +123 -0
- package/dist/templates/starter/categories/utilities-tools/content.js.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/utilities-tools/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/default.template.js +17 -0
- package/dist/templates/starter/categories/utilities-tools/default.template.js.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/index.d.ts +9 -0
- package/dist/templates/starter/categories/utilities-tools/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/index.js +11 -0
- package/dist/templates/starter/categories/utilities-tools/index.js.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/routes.d.ts +12 -0
- package/dist/templates/starter/categories/utilities-tools/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/routes.js +56 -0
- package/dist/templates/starter/categories/utilities-tools/routes.js.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/screens.d.ts +5 -0
- package/dist/templates/starter/categories/utilities-tools/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/utilities-tools/screens.js +67 -0
- package/dist/templates/starter/categories/utilities-tools/screens.js.map +1 -0
- package/dist/templates/starter/categories/weather/content.d.ts +75 -0
- package/dist/templates/starter/categories/weather/content.d.ts.map +1 -0
- package/dist/templates/starter/categories/weather/content.js +95 -0
- package/dist/templates/starter/categories/weather/content.js.map +1 -0
- package/dist/templates/starter/categories/weather/default.template.d.ts +4 -0
- package/dist/templates/starter/categories/weather/default.template.d.ts.map +1 -0
- package/dist/templates/starter/categories/weather/default.template.js +17 -0
- package/dist/templates/starter/categories/weather/default.template.js.map +1 -0
- package/dist/templates/starter/categories/weather/index.d.ts +9 -0
- package/dist/templates/starter/categories/weather/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/weather/index.js +11 -0
- package/dist/templates/starter/categories/weather/index.js.map +1 -0
- package/dist/templates/starter/categories/weather/routes.d.ts +10 -0
- package/dist/templates/starter/categories/weather/routes.d.ts.map +1 -0
- package/dist/templates/starter/categories/weather/routes.js +42 -0
- package/dist/templates/starter/categories/weather/routes.js.map +1 -0
- package/dist/templates/starter/categories/weather/screens.d.ts +5 -0
- package/dist/templates/starter/categories/weather/screens.d.ts.map +1 -0
- package/dist/templates/starter/categories/weather/screens.js +31 -0
- package/dist/templates/starter/categories/weather/screens.js.map +1 -0
- package/dist/templates/starter/starter.registry.d.ts.map +1 -1
- package/dist/templates/starter/starter.registry.js +38 -0
- package/dist/templates/starter/starter.registry.js.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ankhorage/templates
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cf2aea1: Expand starter template coverage to every `AppCategory`.
|
|
8
|
+
|
|
9
|
+
Every app category now resolves to a dedicated starter template with an explicit navigator type, category-aware route labels, route-specific `material-community` icons, category theme defaults, and meaningful ZORA-based starter screens. Unknown runtime category strings still fall back to the generic starter behavior.
|
|
10
|
+
|
|
11
|
+
## 1.1.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- f64788a: update packages
|
|
16
|
+
|
|
3
17
|
## 1.1.8
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -44,13 +44,42 @@ starter remains available as the fallback template and preserves its existing si
|
|
|
44
44
|
|
|
45
45
|
## Current Templates
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- `
|
|
47
|
+
All `AppCategory` values have a dedicated `starter/default` template with an explicit
|
|
48
|
+
`navigator.type`, deterministic route labels, and `material-community` route icons.
|
|
49
|
+
|
|
50
|
+
| Category | Navigator | Routes (labels) | Icons (`material-community`) |
|
|
51
|
+
| ----------------------- | --------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
52
|
+
| `books_reading` | `tabs` | Library · Discover · Lists · Notes · Profile | `bookshelf` · `compass-outline` · `format-list-checks` · `notebook-outline` · `account-circle-outline` |
|
|
53
|
+
| `business_productivity` | `drawer` | Dashboard · Projects · Tasks · Calendar · Reports · Settings | `view-dashboard-outline` · `folder-multiple-outline` · `clipboard-check-outline` · `calendar-month-outline` · `chart-box-outline` · `cog-outline` |
|
|
54
|
+
| `developer_tools` | `drawer` | Dashboard · Builds · Incidents · Environments · Deployments · Settings | `view-dashboard-outline` · `hammer-wrench` · `alert-circle-outline` · `server-network` · `rocket-launch-outline` · `cog-outline` |
|
|
55
|
+
| `education_learning` | `tabs` | Courses · Study · Practice · Progress · Profile | `book-education-outline` · `school-outline` · `pencil-box-outline` · `chart-line` · `account-circle-outline` |
|
|
56
|
+
| `entertainment_media` | `tabs` | Discover · Watchlist · Now · Library · Profile | `compass-outline` · `bookmark-outline` · `play-circle-outline` · `movie-open-outline` · `account-circle-outline` |
|
|
57
|
+
| `finance_money` | `tabs` | Overview · Accounts · Transactions · Budget · Insights | `view-dashboard-outline` · `bank-outline` · `swap-horizontal` · `wallet-outline` · `chart-donut` |
|
|
58
|
+
| `food_drink` | `tabs` | Discover · Menu · Reservations · Orders · Profile | `silverware-fork-knife` · `book-open-page-variant-outline` · `calendar-clock-outline` · `receipt-text-outline` · `account-heart-outline` |
|
|
59
|
+
| `games` | `tabs` | Home · Quests · Inventory · Friends · Profile | `gamepad-variant-outline` · `flag-outline` · `treasure-chest-outline` · `account-multiple-outline` · `account-circle-outline` |
|
|
60
|
+
| `graphics_design` | `drawer` | Dashboard · Briefs · Assets · Reviews · Brand · Settings | `view-dashboard-outline` · `file-document-outline` · `image-multiple-outline` · `comment-check-outline` · `palette-outline` · `cog-outline` |
|
|
61
|
+
| `health_fitness` | `tabs` | Today · Plans · Progress · Coach · Profile | `calendar-today-outline` · `clipboard-list-outline` · `chart-line` · `message-processing-outline` · `account-circle-outline` |
|
|
62
|
+
| `kids_family` | `tabs` | Home · Routines · Discover · Favorites · Parents | `home-outline` · `calendar-check-outline` · `compass-outline` · `heart-outline` · `shield-account-outline` |
|
|
63
|
+
| `lifestyle` | `tabs` | Dashboard · Collections · Plans · Explore · Profile | `view-dashboard-outline` · `bookmark-multiple-outline` · `calendar-star` · `compass-outline` · `account-circle-outline` |
|
|
64
|
+
| `medical` | `tabs` | Appointments · Care Team · Records · Messages · Profile | `calendar-check-outline` · `account-heart-outline` · `file-document-outline` · `message-processing-outline` · `account-circle-outline` |
|
|
65
|
+
| `music_audio` | `tabs` | Home · Search · Library · Player · Profile | `music-note-outline` · `magnify` · `playlist-music-outline` · `play-circle-outline` · `account-circle-outline` |
|
|
66
|
+
| `navigation_travel` | `tabs` | Destinations · Itinerary · Bookings · Map · Profile | `map-marker-outline` · `timeline-outline` · `ticket-outline` · `map-outline` · `account-circle-outline` |
|
|
67
|
+
| `news_magazines` | `tabs` | Headlines · Topics · Saved · Search · Profile | `newspaper-variant-outline` · `tag-multiple-outline` · `bookmark-outline` · `magnify` · `account-circle-outline` |
|
|
68
|
+
| `photo_video` | `tabs` | Capture · Library · Edit · Share · Profile | `camera-outline` · `image-multiple-outline` · `movie-edit-outline` · `share-variant-outline` · `account-circle-outline` |
|
|
69
|
+
| `reference` | `drawer` | Browse · Search · Categories · Saved · History · Settings | `book-open-variant` · `magnify` · `shape-outline` · `bookmark-outline` · `clock-outline` · `cog-outline` |
|
|
70
|
+
| `shopping_commerce` | `tabs` | Browse · Search · Sell · Orders · Profile | `shopping-outline` · `magnify` · `store-plus-outline` · `package-variant-closed` · `account-circle-outline` |
|
|
71
|
+
| `social_community` | `tabs` | Feed · Groups · Messages · Profile · Settings | `newspaper-variant-outline` · `account-group-outline` · `message-text-outline` · `account-circle-outline` · `cog-outline` |
|
|
72
|
+
| `sports` | `tabs` | Scores · Schedule · Standings · Teams · Profile | `scoreboard-outline` · `calendar-month-outline` · `format-list-numbered` · `soccer-field` · `account-circle-outline` |
|
|
73
|
+
| `utilities_tools` | `drawer` | Dashboard · Tools · Shortcuts · Storage · Diagnostics · Settings | `view-dashboard-outline` · `wrench-outline` · `lightning-bolt-outline` · `folder-multiple-outline` · `stethoscope` · `cog-outline` |
|
|
74
|
+
| `weather` | `tabs` | Now · Forecast · Alerts · Locations | `weather-partly-cloudy` · `weather-cloudy-clock` · `weather-cloudy-alert` · `map-marker-outline` |
|
|
75
|
+
|
|
76
|
+
The fallback template remains available and is used only for unknown runtime category strings:
|
|
77
|
+
|
|
78
|
+
- `fallback/default`: Home · Details · Settings (stack)
|
|
79
|
+
|
|
80
|
+
`social_community` includes an additional variant:
|
|
81
|
+
|
|
82
|
+
- `social_community/creator`: Studio · Posts · Audience · Insights · Settings
|
|
54
83
|
|
|
55
84
|
Only categories that exist in `AppCategory` are registered. New category literals should be added
|
|
56
85
|
in `@ankhorage/contracts` before this package registers templates for them.
|
|
@@ -3,5 +3,6 @@ export { createManifestShell, type ManifestShellSeed } from './create-manifest-s
|
|
|
3
3
|
export { createTheme, type CreateThemeSeed } from './create-theme';
|
|
4
4
|
export { createRoute, type ManifestNavigator, type ManifestRoute } from './route';
|
|
5
5
|
export { createScreen } from './screen';
|
|
6
|
+
export { createStarterContentScreen, createStarterSettingsScreen, type StarterCardContent, type StarterContentScreenContent, type StarterSectionContent, } from './starter-screens';
|
|
6
7
|
export { createHeader, createPage, createSection, createSettingsSection, createZoraNode, type ZoraNode, type ZoraNodeType, } from './zora-node-helpers';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC"}
|
|
@@ -3,5 +3,6 @@ export { createManifestShell } from './create-manifest-shell';
|
|
|
3
3
|
export { createTheme } from './create-theme';
|
|
4
4
|
export { createRoute } from './route';
|
|
5
5
|
export { createScreen } from './screen';
|
|
6
|
+
export { createStarterContentScreen, createStarterSettingsScreen, } from './starter-screens';
|
|
6
7
|
export { createHeader, createPage, createSection, createSettingsSection, createZoraNode, } from './zora-node-helpers';
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,mBAAmB,EAA0B,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,WAAW,EAAwB,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAA8C,MAAM,SAAS,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,GAGf,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,mBAAmB,EAA0B,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,WAAW,EAAwB,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAA8C,MAAM,SAAS,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAI5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,GAGf,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ScreenSpec } from '@ankhorage/contracts';
|
|
2
|
+
export interface StarterCardContent {
|
|
3
|
+
eyebrow: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
export interface StarterSectionContent {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
cards: readonly StarterCardContent[];
|
|
11
|
+
}
|
|
12
|
+
export interface StarterContentScreenContent {
|
|
13
|
+
eyebrow: string;
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
sections: readonly StarterSectionContent[];
|
|
17
|
+
}
|
|
18
|
+
export declare function createStarterContentScreen(args: {
|
|
19
|
+
idPrefix: string;
|
|
20
|
+
screenId: string;
|
|
21
|
+
name: string;
|
|
22
|
+
content: StarterContentScreenContent;
|
|
23
|
+
pageWidth?: 'wide' | 'default';
|
|
24
|
+
}): ScreenSpec;
|
|
25
|
+
export declare function createStarterSettingsScreen(args: {
|
|
26
|
+
idPrefix: string;
|
|
27
|
+
screenId: string;
|
|
28
|
+
name: string;
|
|
29
|
+
header: {
|
|
30
|
+
eyebrow: string;
|
|
31
|
+
title: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
section: {
|
|
35
|
+
title: string;
|
|
36
|
+
description: string;
|
|
37
|
+
rows: readonly {
|
|
38
|
+
id: string;
|
|
39
|
+
title: string;
|
|
40
|
+
description: string;
|
|
41
|
+
meta?: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
}): ScreenSpec;
|
|
45
|
+
//# sourceMappingURL=starter-screens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"starter-screens.d.ts","sourceRoot":"","sources":["../../../src/templates/shared/starter-screens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,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+
import { createScreen } from './screen';
|
|
2
|
+
import { createHeader, createPage, createSection, createSettingsSection, createZoraNode, } from './zora-node-helpers';
|
|
3
|
+
export function createStarterContentScreen(args) {
|
|
4
|
+
const idSegment = createIdSegment(args.name);
|
|
5
|
+
const sectionNodes = args.content.sections.map((section, sectionIndex) => createSection(`${args.idPrefix}-${idSegment}-section-${sectionIndex + 1}`, { title: section.title, description: section.description }, [
|
|
6
|
+
createZoraNode(`${args.idPrefix}-${idSegment}-panel-${sectionIndex + 1}`, 'Panel', { title: section.title, description: section.description, tone: 'subtle' }, section.cards.map((card, cardIndex) => createZoraNode(`${args.idPrefix}-${idSegment}-card-${sectionIndex + 1}-${cardIndex + 1}`, 'Card', {
|
|
7
|
+
eyebrow: card.eyebrow,
|
|
8
|
+
title: card.title,
|
|
9
|
+
description: card.description,
|
|
10
|
+
tone: 'outline',
|
|
11
|
+
}))),
|
|
12
|
+
]));
|
|
13
|
+
return createScreen({
|
|
14
|
+
id: args.screenId,
|
|
15
|
+
name: args.name,
|
|
16
|
+
title: args.content.title,
|
|
17
|
+
description: args.content.description,
|
|
18
|
+
root: createPage(`${args.idPrefix}-${idSegment}-page`, { width: args.pageWidth ?? 'wide' }, [
|
|
19
|
+
createHeader(`${args.idPrefix}-${idSegment}-header`, {
|
|
20
|
+
eyebrow: args.content.eyebrow,
|
|
21
|
+
title: args.content.title,
|
|
22
|
+
description: args.content.description,
|
|
23
|
+
}),
|
|
24
|
+
...sectionNodes,
|
|
25
|
+
]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export function createStarterSettingsScreen(args) {
|
|
29
|
+
const idSegment = createIdSegment(args.name);
|
|
30
|
+
return createScreen({
|
|
31
|
+
id: args.screenId,
|
|
32
|
+
name: args.name,
|
|
33
|
+
title: args.header.title,
|
|
34
|
+
description: args.header.description,
|
|
35
|
+
root: createPage(`${args.idPrefix}-${idSegment}-page`, { width: 'default' }, [
|
|
36
|
+
createHeader(`${args.idPrefix}-${idSegment}-header`, {
|
|
37
|
+
eyebrow: args.header.eyebrow,
|
|
38
|
+
title: args.header.title,
|
|
39
|
+
description: args.header.description,
|
|
40
|
+
}),
|
|
41
|
+
createSettingsSection(`${args.idPrefix}-${idSegment}`, args.section.title, args.section.description, args.section.rows),
|
|
42
|
+
]),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function createIdSegment(value) {
|
|
46
|
+
const segment = value
|
|
47
|
+
.trim()
|
|
48
|
+
.toLowerCase()
|
|
49
|
+
.replace(/[^a-z0-9]+/g, '-')
|
|
50
|
+
.replace(/^-|-$/g, '');
|
|
51
|
+
return segment || 'screen';
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=starter-screens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"starter-screens.js","sourceRoot":"","sources":["../../../src/templates/shared/starter-screens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,cAAc,GAEf,MAAM,qBAAqB,CAAC;AAqB7B,MAAM,UAAU,0BAA0B,CAAC,IAM1C;IACC,MAAM,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,YAAY,GAAe,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CACnF,aAAa,CACX,GAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,YAAY,YAAY,GAAG,CAAC,EAAE,EAC3D,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,EAC1D;QACE,cAAc,CACZ,GAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,UAAU,YAAY,GAAG,CAAC,EAAE,EACzD,OAAO,EACP,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,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QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK;QACxB,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW;QACpC,IAAI,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;YAC3E,YAAY,CAAC,GAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,SAAS,EAAE;gBACnD,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO;gBAC5B,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK;gBACxB,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW;aACrC,CAAC;YACF,qBAAqB,CACnB,GAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,EAAE,EAC/B,IAAI,CAAC,OAAO,CAAC,KAAK,EAClB,IAAI,CAAC,OAAO,CAAC,WAAW,EACxB,IAAI,CAAC,OAAO,CAAC,IAAI,CAClB;SACF,CAAC;KACH,CAAC,CAAC;AACL,CAAC;AAED,SAAS,eAAe,CAAC,KAAa;IACpC,MAAM,OAAO,GAAG,KAAK;SAClB,IAAI,EAAE;SACN,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAEzB,OAAO,OAAO,IAAI,QAAQ,CAAC;AAC7B,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const booksReadingContent: {
|
|
2
|
+
readonly library: {
|
|
3
|
+
readonly eyebrow: "Reading shelf";
|
|
4
|
+
readonly title: "Your library at a glance";
|
|
5
|
+
readonly description: "Track what you own, what you are reading, and what is next.";
|
|
6
|
+
readonly sections: readonly [{
|
|
7
|
+
readonly title: "Currently reading";
|
|
8
|
+
readonly description: "Keep the active queue visible with progress and format metadata.";
|
|
9
|
+
readonly cards: readonly [{
|
|
10
|
+
readonly eyebrow: "In progress";
|
|
11
|
+
readonly title: "The next chapter";
|
|
12
|
+
readonly description: "A placeholder for chapter progress, highlights, and reading streaks.";
|
|
13
|
+
}, {
|
|
14
|
+
readonly eyebrow: "Audio";
|
|
15
|
+
readonly title: "Commute listen";
|
|
16
|
+
readonly description: "Reserve a slot for audio playback resume and bookmarks.";
|
|
17
|
+
}];
|
|
18
|
+
}];
|
|
19
|
+
};
|
|
20
|
+
readonly discover: {
|
|
21
|
+
readonly eyebrow: "Discover";
|
|
22
|
+
readonly title: "Curated recommendations";
|
|
23
|
+
readonly description: "Seed the discovery surface with editorial picks and personalized shelves.";
|
|
24
|
+
readonly sections: readonly [{
|
|
25
|
+
readonly title: "Featured picks";
|
|
26
|
+
readonly description: "Model book cards with genre tags, series context, and reasons to read.";
|
|
27
|
+
readonly cards: readonly [{
|
|
28
|
+
readonly eyebrow: "Editor pick";
|
|
29
|
+
readonly title: "A modern classic";
|
|
30
|
+
readonly description: "Use this card to explain why the book matters to the reader.";
|
|
31
|
+
}, {
|
|
32
|
+
readonly eyebrow: "Because you liked";
|
|
33
|
+
readonly title: "Similar voices";
|
|
34
|
+
readonly description: "Reserve this space for similarity, reviews, and shared themes.";
|
|
35
|
+
}];
|
|
36
|
+
}];
|
|
37
|
+
};
|
|
38
|
+
readonly lists: {
|
|
39
|
+
readonly eyebrow: "Lists";
|
|
40
|
+
readonly title: "Reading lists and goals";
|
|
41
|
+
readonly description: "Organize the collection into queues, challenges, and saved wishlists.";
|
|
42
|
+
readonly sections: readonly [{
|
|
43
|
+
readonly title: "List types";
|
|
44
|
+
readonly description: "Give readers structure before runtime data wiring.";
|
|
45
|
+
readonly cards: readonly [{
|
|
46
|
+
readonly eyebrow: "Queue";
|
|
47
|
+
readonly title: "Up next";
|
|
48
|
+
readonly description: "A list that keeps the next books surfaced with priority ordering.";
|
|
49
|
+
}, {
|
|
50
|
+
readonly eyebrow: "Goal";
|
|
51
|
+
readonly title: "Monthly target";
|
|
52
|
+
readonly description: "Reserve this for goals, streaks, and completion milestones.";
|
|
53
|
+
}];
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
56
|
+
readonly notes: {
|
|
57
|
+
readonly eyebrow: "Notes";
|
|
58
|
+
readonly title: "Highlights and annotations";
|
|
59
|
+
readonly description: "Capture notes, quotes, and review drafts aligned to a reading workflow.";
|
|
60
|
+
readonly sections: readonly [{
|
|
61
|
+
readonly title: "Captured context";
|
|
62
|
+
readonly description: "Model the card types that belong next to a book or chapter.";
|
|
63
|
+
readonly cards: readonly [{
|
|
64
|
+
readonly eyebrow: "Highlight";
|
|
65
|
+
readonly title: "Memorable passage";
|
|
66
|
+
readonly description: "A saved quote with source location and quick tags.";
|
|
67
|
+
}, {
|
|
68
|
+
readonly eyebrow: "Reflection";
|
|
69
|
+
readonly title: "Key takeaway";
|
|
70
|
+
readonly description: "A short note that can become a review snippet later.";
|
|
71
|
+
}];
|
|
72
|
+
}];
|
|
73
|
+
};
|
|
74
|
+
readonly profile: {
|
|
75
|
+
readonly eyebrow: "Reader profile";
|
|
76
|
+
readonly title: "Preferences and reading defaults";
|
|
77
|
+
readonly description: "Model language, formats, and discovery preferences for a reading app.";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGtB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export const booksReadingContent = {
|
|
2
|
+
library: {
|
|
3
|
+
eyebrow: 'Reading shelf',
|
|
4
|
+
title: 'Your library at a glance',
|
|
5
|
+
description: 'Track what you own, what you are reading, and what is next.',
|
|
6
|
+
sections: [
|
|
7
|
+
{
|
|
8
|
+
title: 'Currently reading',
|
|
9
|
+
description: 'Keep the active queue visible with progress and format metadata.',
|
|
10
|
+
cards: [
|
|
11
|
+
{
|
|
12
|
+
eyebrow: 'In progress',
|
|
13
|
+
title: 'The next chapter',
|
|
14
|
+
description: 'A placeholder for chapter progress, highlights, and reading streaks.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
eyebrow: 'Audio',
|
|
18
|
+
title: 'Commute listen',
|
|
19
|
+
description: 'Reserve a slot for audio playback resume and bookmarks.',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
discover: {
|
|
26
|
+
eyebrow: 'Discover',
|
|
27
|
+
title: 'Curated recommendations',
|
|
28
|
+
description: 'Seed the discovery surface with editorial picks and personalized shelves.',
|
|
29
|
+
sections: [
|
|
30
|
+
{
|
|
31
|
+
title: 'Featured picks',
|
|
32
|
+
description: 'Model book cards with genre tags, series context, and reasons to read.',
|
|
33
|
+
cards: [
|
|
34
|
+
{
|
|
35
|
+
eyebrow: 'Editor pick',
|
|
36
|
+
title: 'A modern classic',
|
|
37
|
+
description: 'Use this card to explain why the book matters to the reader.',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
eyebrow: 'Because you liked',
|
|
41
|
+
title: 'Similar voices',
|
|
42
|
+
description: 'Reserve this space for similarity, reviews, and shared themes.',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
lists: {
|
|
49
|
+
eyebrow: 'Lists',
|
|
50
|
+
title: 'Reading lists and goals',
|
|
51
|
+
description: 'Organize the collection into queues, challenges, and saved wishlists.',
|
|
52
|
+
sections: [
|
|
53
|
+
{
|
|
54
|
+
title: 'List types',
|
|
55
|
+
description: 'Give readers structure before runtime data wiring.',
|
|
56
|
+
cards: [
|
|
57
|
+
{
|
|
58
|
+
eyebrow: 'Queue',
|
|
59
|
+
title: 'Up next',
|
|
60
|
+
description: 'A list that keeps the next books surfaced with priority ordering.',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
eyebrow: 'Goal',
|
|
64
|
+
title: 'Monthly target',
|
|
65
|
+
description: 'Reserve this for goals, streaks, and completion milestones.',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
notes: {
|
|
72
|
+
eyebrow: 'Notes',
|
|
73
|
+
title: 'Highlights and annotations',
|
|
74
|
+
description: 'Capture notes, quotes, and review drafts aligned to a reading workflow.',
|
|
75
|
+
sections: [
|
|
76
|
+
{
|
|
77
|
+
title: 'Captured context',
|
|
78
|
+
description: 'Model the card types that belong next to a book or chapter.',
|
|
79
|
+
cards: [
|
|
80
|
+
{
|
|
81
|
+
eyebrow: 'Highlight',
|
|
82
|
+
title: 'Memorable passage',
|
|
83
|
+
description: 'A saved quote with source location and quick tags.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
eyebrow: 'Reflection',
|
|
87
|
+
title: 'Key takeaway',
|
|
88
|
+
description: 'A short note that can become a review snippet later.',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
profile: {
|
|
95
|
+
eyebrow: 'Reader profile',
|
|
96
|
+
title: 'Preferences and reading defaults',
|
|
97
|
+
description: 'Model language, formats, and discovery preferences for a reading app.',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/content.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,OAAO,EAAE;QACP,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,0BAA0B;QACjC,WA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ACR;gBACE,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EAAE,6DAA6D;gBAC1E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,WAAW;wBACpB,KAAK,EAAE,mBAAmB;wBAC1B,WAAW,EAAE,oDAAoD;qBAClE;oBACD;wBACE,OAAO,EAAE,YAAY;wBACrB,KAAK,EAAE,cAAc;wBACrB,WAAW,EAAE,sDAAsD;qBACpE;iBACF;aACF;SACF;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,kCAAkC;QACzC,WAAW,EAAE,uEAAuE;KACrF;CACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.template.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/default.template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIxD,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,YAAY,GAAG,WAAW,CAYjF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DEFAULT_TEMPLATE_VERSION } from '../../../../internal/defaults';
|
|
2
|
+
import { createManifestShell, createTheme } from '../../../shared';
|
|
3
|
+
import { createBooksReadingNavigator, createBooksReadingScreenIds } from './routes';
|
|
4
|
+
import { createBooksReadingScreens } from './screens';
|
|
5
|
+
export function createBooksReadingStarterTemplate(seed) {
|
|
6
|
+
const idPrefix = `${seed.category}-starter`;
|
|
7
|
+
const theme = createTheme(seed);
|
|
8
|
+
const screenIds = createBooksReadingScreenIds(idPrefix);
|
|
9
|
+
return createManifestShell({
|
|
10
|
+
seed,
|
|
11
|
+
theme,
|
|
12
|
+
version: seed.version ?? DEFAULT_TEMPLATE_VERSION,
|
|
13
|
+
navigator: createBooksReadingNavigator(screenIds),
|
|
14
|
+
screens: createBooksReadingScreens(seed, idPrefix, screenIds),
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=default.template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.template.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/default.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnE,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,UAAU,iCAAiC,CAAC,IAAkB;IAClE,MAAM,QAAQ,GAAG,GAAG,IAAI,CAAC,QAAQ,UAAU,CAAC;IAC5C,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,SAAS,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IAExD,OAAO,mBAAmB,CAAC;QACzB,IAAI;QACJ,KAAK;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,wBAAwB;QACjD,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC;QACjD,OAAO,EAAE,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;KAC9D,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createBooksReadingStarterTemplate } from './default.template';
|
|
2
|
+
export { createBooksReadingStarterTemplate } from './default.template';
|
|
3
|
+
export declare const booksReadingStarterTemplates: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
create: typeof createBooksReadingStarterTemplate;
|
|
8
|
+
}[];
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,eAAO,MAAM,4BAA4B;;;;;GAOe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createBooksReadingStarterTemplate } from './default.template';
|
|
2
|
+
export { createBooksReadingStarterTemplate } from './default.template';
|
|
3
|
+
export const booksReadingStarterTemplates = [
|
|
4
|
+
{
|
|
5
|
+
id: 'default',
|
|
6
|
+
label: 'Reading shelf',
|
|
7
|
+
description: 'A library, discovery, lists, notes, and profile starter for reading apps.',
|
|
8
|
+
create: createBooksReadingStarterTemplate,
|
|
9
|
+
},
|
|
10
|
+
];
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,2EAA2E;QACxF,MAAM,EAAE,iCAAiC;KAC1C;CACqD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
+
export interface BooksReadingScreenIds {
|
|
3
|
+
library: string;
|
|
4
|
+
discover: string;
|
|
5
|
+
lists: string;
|
|
6
|
+
notes: string;
|
|
7
|
+
profile: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createBooksReadingScreenIds(idPrefix: string): BooksReadingScreenIds;
|
|
10
|
+
export declare function createBooksReadingNavigator(screenIds: BooksReadingScreenIds): AppManifest['navigator'];
|
|
11
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB,CAQnF;AAED,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,qBAAqB,GAC/B,WAAW,CAAC,WAAW,CAAC,CAqC1B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRoute } from '../../../shared';
|
|
2
|
+
export function createBooksReadingScreenIds(idPrefix) {
|
|
3
|
+
return {
|
|
4
|
+
library: `${idPrefix}-library`,
|
|
5
|
+
discover: `${idPrefix}-discover`,
|
|
6
|
+
lists: `${idPrefix}-lists`,
|
|
7
|
+
notes: `${idPrefix}-notes`,
|
|
8
|
+
profile: `${idPrefix}-profile`,
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function createBooksReadingNavigator(screenIds) {
|
|
12
|
+
return {
|
|
13
|
+
type: 'tabs',
|
|
14
|
+
initialRouteName: 'index',
|
|
15
|
+
routes: [
|
|
16
|
+
createRoute({
|
|
17
|
+
name: 'index',
|
|
18
|
+
screenId: screenIds.library,
|
|
19
|
+
label: 'Library',
|
|
20
|
+
icon: { provider: 'material-community', name: 'bookshelf' },
|
|
21
|
+
}),
|
|
22
|
+
createRoute({
|
|
23
|
+
name: 'discover',
|
|
24
|
+
screenId: screenIds.discover,
|
|
25
|
+
label: 'Discover',
|
|
26
|
+
icon: { provider: 'material-community', name: 'compass-outline' },
|
|
27
|
+
}),
|
|
28
|
+
createRoute({
|
|
29
|
+
name: 'lists',
|
|
30
|
+
screenId: screenIds.lists,
|
|
31
|
+
label: 'Lists',
|
|
32
|
+
icon: { provider: 'material-community', name: 'format-list-checks' },
|
|
33
|
+
}),
|
|
34
|
+
createRoute({
|
|
35
|
+
name: 'notes',
|
|
36
|
+
screenId: screenIds.notes,
|
|
37
|
+
label: 'Notes',
|
|
38
|
+
icon: { provider: 'material-community', name: 'notebook-outline' },
|
|
39
|
+
}),
|
|
40
|
+
createRoute({
|
|
41
|
+
name: 'profile',
|
|
42
|
+
screenId: screenIds.profile,
|
|
43
|
+
label: 'Profile',
|
|
44
|
+
icon: { provider: 'material-community', name: 'account-circle-outline' },
|
|
45
|
+
}),
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAU9C,MAAM,UAAU,2BAA2B,CAAC,QAAgB;IAC1D,OAAO;QACL,OAAO,EAAE,GAAG,QAAQ,UAAU;QAC9B,QAAQ,EAAE,GAAG,QAAQ,WAAW;QAChC,KAAK,EAAE,GAAG,QAAQ,QAAQ;QAC1B,KAAK,EAAE,GAAG,QAAQ,QAAQ;QAC1B,OAAO,EAAE,GAAG,QAAQ,UAAU;KAC/B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,SAAgC;IAEhC,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,gBAAgB,EAAE,OAAO;QACzB,MAAM,EAAE;YACN,WAAW,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,SAAS,CAAC,OAAO;gBAC3B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,WAAW,EAAE;aAC5D,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,UAAU;gBAChB,QAAQ,EAAE,SAAS,CAAC,QAAQ;gBAC5B,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,iBAAiB,EAAE;aAClE,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,SAAS,CAAC,KAAK;gBACzB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,oBAAoB,EAAE;aACrE,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,SAAS,CAAC,KAAK;gBACzB,KAAK,EAAE,OAAO;gBACd,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,kBAAkB,EAAE;aACnE,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,SAAS,CAAC,OAAO;gBAC3B,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,wBAAwB,EAAE;aACzE,CAAC;SACH;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
+
import type { TemplateSeed } from '../../starter.types';
|
|
3
|
+
import type { BooksReadingScreenIds } from './routes';
|
|
4
|
+
export declare function createBooksReadingScreens(seed: TemplateSeed, idPrefix: string, screenIds: BooksReadingScreenIds): AppManifest['screens'];
|
|
5
|
+
//# sourceMappingURL=screens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screens.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/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,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,qBAAqB,GAC/B,WAAW,CAAC,SAAS,CAAC,CAyDxB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { createStarterContentScreen, createStarterSettingsScreen } from '../../../shared';
|
|
2
|
+
import { booksReadingContent } from './content';
|
|
3
|
+
export function createBooksReadingScreens(seed, idPrefix, screenIds) {
|
|
4
|
+
return {
|
|
5
|
+
[screenIds.library]: createStarterContentScreen({
|
|
6
|
+
idPrefix,
|
|
7
|
+
screenId: screenIds.library,
|
|
8
|
+
name: 'Library',
|
|
9
|
+
content: booksReadingContent.library,
|
|
10
|
+
}),
|
|
11
|
+
[screenIds.discover]: createStarterContentScreen({
|
|
12
|
+
idPrefix,
|
|
13
|
+
screenId: screenIds.discover,
|
|
14
|
+
name: 'Discover',
|
|
15
|
+
content: booksReadingContent.discover,
|
|
16
|
+
}),
|
|
17
|
+
[screenIds.lists]: createStarterContentScreen({
|
|
18
|
+
idPrefix,
|
|
19
|
+
screenId: screenIds.lists,
|
|
20
|
+
name: 'Lists',
|
|
21
|
+
content: booksReadingContent.lists,
|
|
22
|
+
}),
|
|
23
|
+
[screenIds.notes]: createStarterContentScreen({
|
|
24
|
+
idPrefix,
|
|
25
|
+
screenId: screenIds.notes,
|
|
26
|
+
name: 'Notes',
|
|
27
|
+
content: booksReadingContent.notes,
|
|
28
|
+
}),
|
|
29
|
+
[screenIds.profile]: createStarterSettingsScreen({
|
|
30
|
+
idPrefix,
|
|
31
|
+
screenId: screenIds.profile,
|
|
32
|
+
name: 'Profile',
|
|
33
|
+
header: booksReadingContent.profile,
|
|
34
|
+
section: {
|
|
35
|
+
title: 'Reading defaults',
|
|
36
|
+
description: 'Capture the preferences that shape recommendations and formatting.',
|
|
37
|
+
rows: [
|
|
38
|
+
{
|
|
39
|
+
id: 'formats-row',
|
|
40
|
+
title: 'Preferred formats',
|
|
41
|
+
description: 'Print, ebook, audio, and accessibility modes.',
|
|
42
|
+
meta: 'ebook',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'genres-row',
|
|
46
|
+
title: 'Favorite genres',
|
|
47
|
+
description: 'Genre affinity feeds the discovery shelf and saved lists.',
|
|
48
|
+
meta: 'editable',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 'auth-row',
|
|
52
|
+
title: 'Auth scope',
|
|
53
|
+
description: `${seed.categoryLabel} inherits the manifest infra auth setting.`,
|
|
54
|
+
meta: 'global',
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
}),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=screens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screens.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/books-reading/screens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAE1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGhD,MAAM,UAAU,yBAAyB,CACvC,IAAkB,EAClB,QAAgB,EAChB,SAAgC;IAEhC,OAAO;QACL,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,0BAA0B,CAAC;YAC9C,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,OAAO;YAC3B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,mBAAmB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