@ankhorage/templates 1.1.9 → 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 +8 -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 +2 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export const financeMoneyContent = {
|
|
2
|
+
overview: {
|
|
3
|
+
eyebrow: 'Cash overview',
|
|
4
|
+
title: 'Balances and upcoming activity',
|
|
5
|
+
description: 'Seed the dashboard with a cash snapshot, upcoming bills, and budget status.',
|
|
6
|
+
sections: [
|
|
7
|
+
{
|
|
8
|
+
title: 'Snapshot',
|
|
9
|
+
description: 'Model what matters on day one: balances, bills, and status.',
|
|
10
|
+
cards: [
|
|
11
|
+
{
|
|
12
|
+
eyebrow: 'Balance',
|
|
13
|
+
title: 'Total balance',
|
|
14
|
+
description: 'A placeholder for total balance across accounts and liquidity buckets.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
eyebrow: 'Upcoming',
|
|
18
|
+
title: 'Next bill due',
|
|
19
|
+
description: 'Reserve this for scheduled payments and cashflow alerts.',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
accounts: {
|
|
26
|
+
eyebrow: 'Accounts',
|
|
27
|
+
title: 'Account list and details',
|
|
28
|
+
description: 'Keep accounts grouped by type with quick health and ownership metadata.',
|
|
29
|
+
sections: [
|
|
30
|
+
{
|
|
31
|
+
title: 'Account groups',
|
|
32
|
+
description: 'Model the account categories a finance app needs.',
|
|
33
|
+
cards: [
|
|
34
|
+
{
|
|
35
|
+
eyebrow: 'Checking',
|
|
36
|
+
title: 'Primary account',
|
|
37
|
+
description: 'A placeholder account card with balance, institution, and status.',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
eyebrow: 'Savings',
|
|
41
|
+
title: 'Emergency fund',
|
|
42
|
+
description: 'Reserve for goals, interest rate, and withdrawal constraints.',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
transactions: {
|
|
49
|
+
eyebrow: 'Activity',
|
|
50
|
+
title: 'Transactions and categories',
|
|
51
|
+
description: 'Prepare the activity feed for filtering, receipts, and reconciliation.',
|
|
52
|
+
sections: [
|
|
53
|
+
{
|
|
54
|
+
title: 'Recent activity',
|
|
55
|
+
description: 'Model transactions with category, merchant, and status signals.',
|
|
56
|
+
cards: [
|
|
57
|
+
{
|
|
58
|
+
eyebrow: 'Card',
|
|
59
|
+
title: 'Grocery run',
|
|
60
|
+
description: 'A placeholder transaction card with category and receipt link.',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
eyebrow: 'Transfer',
|
|
64
|
+
title: 'Savings transfer',
|
|
65
|
+
description: 'Reserve for internal transfers and scheduled rules.',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
budget: {
|
|
72
|
+
eyebrow: 'Budget',
|
|
73
|
+
title: 'Plan and limits',
|
|
74
|
+
description: 'Start with budgets, category caps, and health indicators.',
|
|
75
|
+
sections: [
|
|
76
|
+
{
|
|
77
|
+
title: 'Budget health',
|
|
78
|
+
description: 'Model the budget signals a user expects without implementing computation.',
|
|
79
|
+
cards: [
|
|
80
|
+
{
|
|
81
|
+
eyebrow: 'Category',
|
|
82
|
+
title: 'Food & dining',
|
|
83
|
+
description: 'A placeholder budget category with limit and progress signal.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
eyebrow: 'Category',
|
|
87
|
+
title: 'Transport',
|
|
88
|
+
description: 'Reserve for recurring spend, subscriptions, and alerts.',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
insights: {
|
|
95
|
+
eyebrow: 'Insights',
|
|
96
|
+
title: 'Trends and summaries',
|
|
97
|
+
description: 'Reserve space for spending trends, savings rate, and projections.',
|
|
98
|
+
sections: [
|
|
99
|
+
{
|
|
100
|
+
title: 'Analytics placeholders',
|
|
101
|
+
description: 'Model insight modules without building the analytics engine.',
|
|
102
|
+
cards: [
|
|
103
|
+
{
|
|
104
|
+
eyebrow: 'Trend',
|
|
105
|
+
title: 'Monthly spend',
|
|
106
|
+
description: 'A placeholder for charts, breakdowns, and comparison periods.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
eyebrow: 'Summary',
|
|
110
|
+
title: 'Top categories',
|
|
111
|
+
description: 'Reserve for category ranking and actionable suggestions.',
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
};
|
|
118
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/content.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,QAAQ,EAAE;QACR,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,gCAAgC;QACvC,WAAW,EAAE,6EAA6E;QAC1F,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,6DAA6D;gBAC1E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,eAAe;wBACtB,WAAW,EAAE,wEAAwE;qBACtF;oBACD;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,eAAe;wBACtB,WAAW,EAAE,0DAA0D;qBACxE;iBACF;aACF;SACF;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,yEAAyE;QACtF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,mDAAmD;gBAChE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,iBAAiB;wBACxB,WAAW,EAAE,mEAAmE;qBACjF;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,+DAA+D;qBAC7E;iBACF;aACF;SACF;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,wEAAwE;QACrF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EAAE,iEAAiE;gBAC9E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,MAAM;wBACf,KAAK,EAAE,aAAa;wBACpB,WAAW,EAAE,gEAAgE;qBAC9E;oBACD;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,kBAAkB;wBACzB,WAAW,EAAE,qDAAqD;qBACnE;iBACF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,QAAQ;QACjB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,2DAA2D;QACxE,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,eAAe;gBACtB,WAAW,EAAE,2EAA2E;gBACxF,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,eAAe;wBACtB,WAAW,EAAE,+DAA+D;qBAC7E;oBACD;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,WAAW;wBAClB,WAAW,EAAE,yDAAyD;qBACvE;iBACF;aACF;SACF;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,mEAAmE;QAChF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,wBAAwB;gBAC/B,WAAW,EAAE,8DAA8D;gBAC3E,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,OAAO;wBAChB,KAAK,EAAE,eAAe;wBACtB,WAAW,EAAE,+DAA+D;qBAC7E;oBACD;wBACE,OAAO,EAAE,SAAS;wBAClB,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,0DAA0D;qBACxE;iBACF;aACF;SACF;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.template.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/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 { createFinanceMoneyNavigator, createFinanceMoneyScreenIds } from './routes';
|
|
4
|
+
import { createFinanceMoneyScreens } from './screens';
|
|
5
|
+
export function createFinanceMoneyStarterTemplate(seed) {
|
|
6
|
+
const idPrefix = `${seed.category}-starter`;
|
|
7
|
+
const theme = createTheme(seed);
|
|
8
|
+
const screenIds = createFinanceMoneyScreenIds(idPrefix);
|
|
9
|
+
return createManifestShell({
|
|
10
|
+
seed,
|
|
11
|
+
theme,
|
|
12
|
+
version: seed.version ?? DEFAULT_TEMPLATE_VERSION,
|
|
13
|
+
navigator: createFinanceMoneyNavigator(screenIds),
|
|
14
|
+
screens: createFinanceMoneyScreens(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/finance-money/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 { createFinanceMoneyStarterTemplate } from './default.template';
|
|
2
|
+
export { createFinanceMoneyStarterTemplate } from './default.template';
|
|
3
|
+
export declare const financeMoneyStarterTemplates: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
create: typeof createFinanceMoneyStarterTemplate;
|
|
8
|
+
}[];
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAEvE,eAAO,MAAM,4BAA4B;;;;;GAQe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createFinanceMoneyStarterTemplate } from './default.template';
|
|
2
|
+
export { createFinanceMoneyStarterTemplate } from './default.template';
|
|
3
|
+
export const financeMoneyStarterTemplates = [
|
|
4
|
+
{
|
|
5
|
+
id: 'default',
|
|
6
|
+
label: 'Money dashboard',
|
|
7
|
+
description: 'An overview, accounts, transactions, budget, and insights starter for finance apps.',
|
|
8
|
+
create: createFinanceMoneyStarterTemplate,
|
|
9
|
+
},
|
|
10
|
+
];
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/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,iBAAiB;QACxB,WAAW,EACT,qFAAqF;QACvF,MAAM,EAAE,iCAAiC;KAC1C;CACqD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
+
export interface FinanceMoneyScreenIds {
|
|
3
|
+
overview: string;
|
|
4
|
+
accounts: string;
|
|
5
|
+
transactions: string;
|
|
6
|
+
budget: string;
|
|
7
|
+
insights: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createFinanceMoneyScreenIds(idPrefix: string): FinanceMoneyScreenIds;
|
|
10
|
+
export declare function createFinanceMoneyNavigator(screenIds: FinanceMoneyScreenIds): AppManifest['navigator'];
|
|
11
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;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 createFinanceMoneyScreenIds(idPrefix) {
|
|
3
|
+
return {
|
|
4
|
+
overview: `${idPrefix}-overview`,
|
|
5
|
+
accounts: `${idPrefix}-accounts`,
|
|
6
|
+
transactions: `${idPrefix}-transactions`,
|
|
7
|
+
budget: `${idPrefix}-budget`,
|
|
8
|
+
insights: `${idPrefix}-insights`,
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function createFinanceMoneyNavigator(screenIds) {
|
|
12
|
+
return {
|
|
13
|
+
type: 'tabs',
|
|
14
|
+
initialRouteName: 'index',
|
|
15
|
+
routes: [
|
|
16
|
+
createRoute({
|
|
17
|
+
name: 'index',
|
|
18
|
+
screenId: screenIds.overview,
|
|
19
|
+
label: 'Overview',
|
|
20
|
+
icon: { provider: 'material-community', name: 'view-dashboard-outline' },
|
|
21
|
+
}),
|
|
22
|
+
createRoute({
|
|
23
|
+
name: 'accounts',
|
|
24
|
+
screenId: screenIds.accounts,
|
|
25
|
+
label: 'Accounts',
|
|
26
|
+
icon: { provider: 'material-community', name: 'bank-outline' },
|
|
27
|
+
}),
|
|
28
|
+
createRoute({
|
|
29
|
+
name: 'transactions',
|
|
30
|
+
screenId: screenIds.transactions,
|
|
31
|
+
label: 'Transactions',
|
|
32
|
+
icon: { provider: 'material-community', name: 'swap-horizontal' },
|
|
33
|
+
}),
|
|
34
|
+
createRoute({
|
|
35
|
+
name: 'budget',
|
|
36
|
+
screenId: screenIds.budget,
|
|
37
|
+
label: 'Budget',
|
|
38
|
+
icon: { provider: 'material-community', name: 'wallet-outline' },
|
|
39
|
+
}),
|
|
40
|
+
createRoute({
|
|
41
|
+
name: 'insights',
|
|
42
|
+
screenId: screenIds.insights,
|
|
43
|
+
label: 'Insights',
|
|
44
|
+
icon: { provider: 'material-community', name: 'chart-donut' },
|
|
45
|
+
}),
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAU9C,MAAM,UAAU,2BAA2B,CAAC,QAAgB;IAC1D,OAAO;QACL,QAAQ,EAAE,GAAG,QAAQ,WAAW;QAChC,QAAQ,EAAE,GAAG,QAAQ,WAAW;QAChC,YAAY,EAAE,GAAG,QAAQ,eAAe;QACxC,MAAM,EAAE,GAAG,QAAQ,SAAS;QAC5B,QAAQ,EAAE,GAAG,QAAQ,WAAW;KACjC,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,QAAQ;gBAC5B,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,wBAAwB,EAAE;aACzE,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,cAAc,EAAE;aAC/D,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,cAAc;gBACpB,QAAQ,EAAE,SAAS,CAAC,YAAY;gBAChC,KAAK,EAAE,cAAc;gBACrB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,iBAAiB,EAAE;aAClE,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS,CAAC,MAAM;gBAC1B,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,gBAAgB,EAAE;aACjE,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,aAAa,EAAE;aAC9D,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 { FinanceMoneyScreenIds } from './routes';
|
|
4
|
+
export declare function createFinanceMoneyScreens(_seed: TemplateSeed, idPrefix: string, screenIds: FinanceMoneyScreenIds): AppManifest['screens'];
|
|
5
|
+
//# sourceMappingURL=screens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screens.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/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,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,qBAAqB,GAC/B,WAAW,CAAC,SAAS,CAAC,CAiCxB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createStarterContentScreen } from '../../../shared';
|
|
2
|
+
import { financeMoneyContent } from './content';
|
|
3
|
+
export function createFinanceMoneyScreens(_seed, idPrefix, screenIds) {
|
|
4
|
+
return {
|
|
5
|
+
[screenIds.overview]: createStarterContentScreen({
|
|
6
|
+
idPrefix,
|
|
7
|
+
screenId: screenIds.overview,
|
|
8
|
+
name: 'Overview',
|
|
9
|
+
content: financeMoneyContent.overview,
|
|
10
|
+
}),
|
|
11
|
+
[screenIds.accounts]: createStarterContentScreen({
|
|
12
|
+
idPrefix,
|
|
13
|
+
screenId: screenIds.accounts,
|
|
14
|
+
name: 'Accounts',
|
|
15
|
+
content: financeMoneyContent.accounts,
|
|
16
|
+
}),
|
|
17
|
+
[screenIds.transactions]: createStarterContentScreen({
|
|
18
|
+
idPrefix,
|
|
19
|
+
screenId: screenIds.transactions,
|
|
20
|
+
name: 'Transactions',
|
|
21
|
+
content: financeMoneyContent.transactions,
|
|
22
|
+
}),
|
|
23
|
+
[screenIds.budget]: createStarterContentScreen({
|
|
24
|
+
idPrefix,
|
|
25
|
+
screenId: screenIds.budget,
|
|
26
|
+
name: 'Budget',
|
|
27
|
+
content: financeMoneyContent.budget,
|
|
28
|
+
}),
|
|
29
|
+
[screenIds.insights]: createStarterContentScreen({
|
|
30
|
+
idPrefix,
|
|
31
|
+
screenId: screenIds.insights,
|
|
32
|
+
name: 'Insights',
|
|
33
|
+
content: financeMoneyContent.insights,
|
|
34
|
+
}),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=screens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screens.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/finance-money/screens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGhD,MAAM,UAAU,yBAAyB,CACvC,KAAmB,EACnB,QAAgB,EAChB,SAAgC;IAEhC,OAAO;QACL,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,0BAA0B,CAAC;YAC/C,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,QAAQ;YAC5B,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,mBAAmB,CAAC,QAAQ;SACtC,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,mBAAmB,CAAC,QAAQ;SACtC,CAAC;QACF,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,0BAA0B,CAAC;YACnD,QAAQ;YACR,QAAQ,EAAE,SAAS,CAAC,YAAY;YAChC,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,mBAAmB,CAAC,YAAY;SAC1C,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,mBAAmB,CAAC,MAAM;SACpC,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,mBAAmB,CAAC,QAAQ;SACtC,CAAC;KACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const gamesContent: {
|
|
2
|
+
readonly home: {
|
|
3
|
+
readonly eyebrow: "Player hub";
|
|
4
|
+
readonly title: "Daily loop";
|
|
5
|
+
readonly description: "Seed the home screen with daily quests, rewards, and session continuity.";
|
|
6
|
+
readonly sections: readonly [{
|
|
7
|
+
readonly title: "Session highlights";
|
|
8
|
+
readonly description: "Model the content blocks a player expects each day.";
|
|
9
|
+
readonly cards: readonly [{
|
|
10
|
+
readonly eyebrow: "Reward";
|
|
11
|
+
readonly title: "Daily bonus";
|
|
12
|
+
readonly description: "A placeholder for streak rewards, boosts, and limited-time items.";
|
|
13
|
+
}, {
|
|
14
|
+
readonly eyebrow: "Challenge";
|
|
15
|
+
readonly title: "Complete a quest";
|
|
16
|
+
readonly description: "Reserve for personalized quest suggestions and progress.";
|
|
17
|
+
}];
|
|
18
|
+
}];
|
|
19
|
+
};
|
|
20
|
+
readonly quests: {
|
|
21
|
+
readonly eyebrow: "Quests";
|
|
22
|
+
readonly title: "Active challenges";
|
|
23
|
+
readonly description: "Organize quests by difficulty and reward type before wiring progression logic.";
|
|
24
|
+
readonly sections: readonly [{
|
|
25
|
+
readonly title: "Quest queue";
|
|
26
|
+
readonly description: "Model quest cards with objectives, rewards, and timers.";
|
|
27
|
+
readonly cards: readonly [{
|
|
28
|
+
readonly eyebrow: "Daily";
|
|
29
|
+
readonly title: "Win a match";
|
|
30
|
+
readonly description: "A placeholder quest with reward and objective count.";
|
|
31
|
+
}, {
|
|
32
|
+
readonly eyebrow: "Weekly";
|
|
33
|
+
readonly title: "Complete milestones";
|
|
34
|
+
readonly description: "Reserve for multi-step quests and collaboration objectives.";
|
|
35
|
+
}];
|
|
36
|
+
}];
|
|
37
|
+
};
|
|
38
|
+
readonly inventory: {
|
|
39
|
+
readonly eyebrow: "Inventory";
|
|
40
|
+
readonly title: "Items and loadouts";
|
|
41
|
+
readonly description: "Seed the inventory with item categories and upgrade affordances.";
|
|
42
|
+
readonly sections: readonly [{
|
|
43
|
+
readonly title: "Item types";
|
|
44
|
+
readonly description: "Model items, currency, and upgrades without implementing game balance.";
|
|
45
|
+
readonly cards: readonly [{
|
|
46
|
+
readonly eyebrow: "Gear";
|
|
47
|
+
readonly title: "Starter loadout";
|
|
48
|
+
readonly description: "A placeholder item with rarity, stats, and upgrade path.";
|
|
49
|
+
}, {
|
|
50
|
+
readonly eyebrow: "Currency";
|
|
51
|
+
readonly title: "Coins and gems";
|
|
52
|
+
readonly description: "Reserve for wallets, purchases, and earnable rewards.";
|
|
53
|
+
}];
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
56
|
+
readonly friends: {
|
|
57
|
+
readonly eyebrow: "Social";
|
|
58
|
+
readonly title: "Friends and squads";
|
|
59
|
+
readonly description: "Model party invites, presence, and social challenges.";
|
|
60
|
+
readonly sections: readonly [{
|
|
61
|
+
readonly title: "Presence";
|
|
62
|
+
readonly description: "Keep online status and invitations visible without building matchmaking.";
|
|
63
|
+
readonly cards: readonly [{
|
|
64
|
+
readonly eyebrow: "Online";
|
|
65
|
+
readonly title: "Squad invite";
|
|
66
|
+
readonly description: "A placeholder for party invites, chat, and quick join.";
|
|
67
|
+
}, {
|
|
68
|
+
readonly eyebrow: "Challenge";
|
|
69
|
+
readonly title: "Weekly competition";
|
|
70
|
+
readonly description: "Reserve for leaderboards, shared quests, and rewards.";
|
|
71
|
+
}];
|
|
72
|
+
}];
|
|
73
|
+
};
|
|
74
|
+
readonly profile: {
|
|
75
|
+
readonly eyebrow: "Player profile";
|
|
76
|
+
readonly title: "Preferences and controls";
|
|
77
|
+
readonly description: "Model controls, notifications, and account defaults for a player.";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/content.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGf,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export const gamesContent = {
|
|
2
|
+
home: {
|
|
3
|
+
eyebrow: 'Player hub',
|
|
4
|
+
title: 'Daily loop',
|
|
5
|
+
description: 'Seed the home screen with daily quests, rewards, and session continuity.',
|
|
6
|
+
sections: [
|
|
7
|
+
{
|
|
8
|
+
title: 'Session highlights',
|
|
9
|
+
description: 'Model the content blocks a player expects each day.',
|
|
10
|
+
cards: [
|
|
11
|
+
{
|
|
12
|
+
eyebrow: 'Reward',
|
|
13
|
+
title: 'Daily bonus',
|
|
14
|
+
description: 'A placeholder for streak rewards, boosts, and limited-time items.',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
eyebrow: 'Challenge',
|
|
18
|
+
title: 'Complete a quest',
|
|
19
|
+
description: 'Reserve for personalized quest suggestions and progress.',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
quests: {
|
|
26
|
+
eyebrow: 'Quests',
|
|
27
|
+
title: 'Active challenges',
|
|
28
|
+
description: 'Organize quests by difficulty and reward type before wiring progression logic.',
|
|
29
|
+
sections: [
|
|
30
|
+
{
|
|
31
|
+
title: 'Quest queue',
|
|
32
|
+
description: 'Model quest cards with objectives, rewards, and timers.',
|
|
33
|
+
cards: [
|
|
34
|
+
{
|
|
35
|
+
eyebrow: 'Daily',
|
|
36
|
+
title: 'Win a match',
|
|
37
|
+
description: 'A placeholder quest with reward and objective count.',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
eyebrow: 'Weekly',
|
|
41
|
+
title: 'Complete milestones',
|
|
42
|
+
description: 'Reserve for multi-step quests and collaboration objectives.',
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
inventory: {
|
|
49
|
+
eyebrow: 'Inventory',
|
|
50
|
+
title: 'Items and loadouts',
|
|
51
|
+
description: 'Seed the inventory with item categories and upgrade affordances.',
|
|
52
|
+
sections: [
|
|
53
|
+
{
|
|
54
|
+
title: 'Item types',
|
|
55
|
+
description: 'Model items, currency, and upgrades without implementing game balance.',
|
|
56
|
+
cards: [
|
|
57
|
+
{
|
|
58
|
+
eyebrow: 'Gear',
|
|
59
|
+
title: 'Starter loadout',
|
|
60
|
+
description: 'A placeholder item with rarity, stats, and upgrade path.',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
eyebrow: 'Currency',
|
|
64
|
+
title: 'Coins and gems',
|
|
65
|
+
description: 'Reserve for wallets, purchases, and earnable rewards.',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
friends: {
|
|
72
|
+
eyebrow: 'Social',
|
|
73
|
+
title: 'Friends and squads',
|
|
74
|
+
description: 'Model party invites, presence, and social challenges.',
|
|
75
|
+
sections: [
|
|
76
|
+
{
|
|
77
|
+
title: 'Presence',
|
|
78
|
+
description: 'Keep online status and invitations visible without building matchmaking.',
|
|
79
|
+
cards: [
|
|
80
|
+
{
|
|
81
|
+
eyebrow: 'Online',
|
|
82
|
+
title: 'Squad invite',
|
|
83
|
+
description: 'A placeholder for party invites, chat, and quick join.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
eyebrow: 'Challenge',
|
|
87
|
+
title: 'Weekly competition',
|
|
88
|
+
description: 'Reserve for leaderboards, shared quests, and rewards.',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
profile: {
|
|
95
|
+
eyebrow: 'Player profile',
|
|
96
|
+
title: 'Preferences and controls',
|
|
97
|
+
description: 'Model controls, notifications, and account defaults for a player.',
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/content.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE;QACJ,OAAO,EAAE,YAAY;QACrB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,oBAAoB;gBAC3B,WAAW,EAAE,qDAAqD;gBAClE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,QAAQ;wBACjB,KAAK,EAAE,aAAa;wBACpB,WAAW,EAAE,mEAAmE;qBACjF;oBACD;wBACE,OAAO,EAAE,WAAW;wBACpB,KAAK,EAAE,kBAAkB;wBACzB,WAAW,EAAE,0DAA0D;qBACxE;iBACF;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,QAAQ;QACjB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,gFAAgF;QAC7F,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,aAAa;gBACpB,WAAW,EAAE,yDAAyD;gBACtE,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,OAAO;wBAChB,KAAK,EAAE,aAAa;wBACpB,WAAW,EAAE,sDAAsD;qBACpE;oBACD;wBACE,OAAO,EAAE,QAAQ;wBACjB,KAAK,EAAE,qBAAqB;wBAC5B,WAAW,EAAE,6DAA6D;qBAC3E;iBACF;aACF;SACF;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,kEAAkE;QAC/E,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,wEAAwE;gBACrF,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,MAAM;wBACf,KAAK,EAAE,iBAAiB;wBACxB,WAAW,EAAE,0DAA0D;qBACxE;oBACD;wBACE,OAAO,EAAE,UAAU;wBACnB,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,uDAAuD;qBACrE;iBACF;aACF;SACF;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,QAAQ;QACjB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,uDAAuD;QACpE,QAAQ,EAAE;YACR;gBACE,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,0EAA0E;gBACvF,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,QAAQ;wBACjB,KAAK,EAAE,cAAc;wBACrB,WAAW,EAAE,wDAAwD;qBACtE;oBACD;wBACE,OAAO,EAAE,WAAW;wBACpB,KAAK,EAAE,oBAAoB;wBAC3B,WAAW,EAAE,uDAAuD;qBACrE;iBACF;aACF;SACF;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,mEAAmE;KACjF;CACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default.template.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/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,0BAA0B,CAAC,IAAI,EAAE,YAAY,GAAG,WAAW,CAY1E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DEFAULT_TEMPLATE_VERSION } from '../../../../internal/defaults';
|
|
2
|
+
import { createManifestShell, createTheme } from '../../../shared';
|
|
3
|
+
import { createGamesNavigator, createGamesScreenIds } from './routes';
|
|
4
|
+
import { createGamesScreens } from './screens';
|
|
5
|
+
export function createGamesStarterTemplate(seed) {
|
|
6
|
+
const idPrefix = `${seed.category}-starter`;
|
|
7
|
+
const theme = createTheme(seed);
|
|
8
|
+
const screenIds = createGamesScreenIds(idPrefix);
|
|
9
|
+
return createManifestShell({
|
|
10
|
+
seed,
|
|
11
|
+
theme,
|
|
12
|
+
version: seed.version ?? DEFAULT_TEMPLATE_VERSION,
|
|
13
|
+
navigator: createGamesNavigator(screenIds),
|
|
14
|
+
screens: createGamesScreens(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/games/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,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,UAAU,0BAA0B,CAAC,IAAkB;IAC3D,MAAM,QAAQ,GAAG,GAAG,IAAI,CAAC,QAAQ,UAAU,CAAC;IAC5C,MAAM,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,SAAS,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IAEjD,OAAO,mBAAmB,CAAC;QACzB,IAAI;QACJ,KAAK;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,wBAAwB;QACjD,SAAS,EAAE,oBAAoB,CAAC,SAAS,CAAC;QAC1C,OAAO,EAAE,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,CAAC;KACvD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createGamesStarterTemplate } from './default.template';
|
|
2
|
+
export { createGamesStarterTemplate } from './default.template';
|
|
3
|
+
export declare const gamesStarterTemplates: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
create: typeof createGamesStarterTemplate;
|
|
8
|
+
}[];
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,qBAAqB;;;;;GAOsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { createGamesStarterTemplate } from './default.template';
|
|
2
|
+
export { createGamesStarterTemplate } from './default.template';
|
|
3
|
+
export const gamesStarterTemplates = [
|
|
4
|
+
{
|
|
5
|
+
id: 'default',
|
|
6
|
+
label: 'Quest loop',
|
|
7
|
+
description: 'A home, quests, inventory, friends, and profile starter for game experiences.',
|
|
8
|
+
create: createGamesStarterTemplate,
|
|
9
|
+
},
|
|
10
|
+
];
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAEhE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,+EAA+E;QAC5F,MAAM,EAAE,0BAA0B;KACnC;CACqD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
+
export interface GamesScreenIds {
|
|
3
|
+
home: string;
|
|
4
|
+
quests: string;
|
|
5
|
+
inventory: string;
|
|
6
|
+
friends: string;
|
|
7
|
+
profile: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createGamesScreenIds(idPrefix: string): GamesScreenIds;
|
|
10
|
+
export declare function createGamesNavigator(screenIds: GamesScreenIds): AppManifest['navigator'];
|
|
11
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/games/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAIxD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAQrE;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,cAAc,GAAG,WAAW,CAAC,WAAW,CAAC,CAqCxF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRoute } from '../../../shared';
|
|
2
|
+
export function createGamesScreenIds(idPrefix) {
|
|
3
|
+
return {
|
|
4
|
+
home: `${idPrefix}-home`,
|
|
5
|
+
quests: `${idPrefix}-quests`,
|
|
6
|
+
inventory: `${idPrefix}-inventory`,
|
|
7
|
+
friends: `${idPrefix}-friends`,
|
|
8
|
+
profile: `${idPrefix}-profile`,
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function createGamesNavigator(screenIds) {
|
|
12
|
+
return {
|
|
13
|
+
type: 'tabs',
|
|
14
|
+
initialRouteName: 'index',
|
|
15
|
+
routes: [
|
|
16
|
+
createRoute({
|
|
17
|
+
name: 'index',
|
|
18
|
+
screenId: screenIds.home,
|
|
19
|
+
label: 'Home',
|
|
20
|
+
icon: { provider: 'material-community', name: 'gamepad-variant-outline' },
|
|
21
|
+
}),
|
|
22
|
+
createRoute({
|
|
23
|
+
name: 'quests',
|
|
24
|
+
screenId: screenIds.quests,
|
|
25
|
+
label: 'Quests',
|
|
26
|
+
icon: { provider: 'material-community', name: 'flag-outline' },
|
|
27
|
+
}),
|
|
28
|
+
createRoute({
|
|
29
|
+
name: 'inventory',
|
|
30
|
+
screenId: screenIds.inventory,
|
|
31
|
+
label: 'Inventory',
|
|
32
|
+
icon: { provider: 'material-community', name: 'treasure-chest-outline' },
|
|
33
|
+
}),
|
|
34
|
+
createRoute({
|
|
35
|
+
name: 'friends',
|
|
36
|
+
screenId: screenIds.friends,
|
|
37
|
+
label: 'Friends',
|
|
38
|
+
icon: { provider: 'material-community', name: 'account-multiple-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/games/routes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAU9C,MAAM,UAAU,oBAAoB,CAAC,QAAgB;IACnD,OAAO;QACL,IAAI,EAAE,GAAG,QAAQ,OAAO;QACxB,MAAM,EAAE,GAAG,QAAQ,SAAS;QAC5B,SAAS,EAAE,GAAG,QAAQ,YAAY;QAClC,OAAO,EAAE,GAAG,QAAQ,UAAU;QAC9B,OAAO,EAAE,GAAG,QAAQ,UAAU;KAC/B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,SAAyB;IAC5D,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,gBAAgB,EAAE,OAAO;QACzB,MAAM,EAAE;YACN,WAAW,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,SAAS,CAAC,IAAI;gBACxB,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,yBAAyB,EAAE;aAC1E,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,SAAS,CAAC,MAAM;gBAC1B,KAAK,EAAE,QAAQ;gBACf,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,cAAc,EAAE;aAC/D,CAAC;YACF,WAAW,CAAC;gBACV,IAAI,EAAE,WAAW;gBACjB,QAAQ,EAAE,SAAS,CAAC,SAAS;gBAC7B,KAAK,EAAE,WAAW;gBAClB,IAAI,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,wBAAwB,EAAE;aACzE,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,0BAA0B,EAAE;aAC3E,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"}
|