Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Super app CMS] Define TypeScript types for Strapi responses and data types #164

Open
stevahnes opened this issue Apr 2, 2023 · 0 comments

Comments

@stevahnes
Copy link
Collaborator

My spidey sense tells me that there must be a way to get good TypeScript types based on the actual response shapes from Strapi. In #89, I manually redefined the Strapi model I configured in the Strapi UI + the extra stuff wrapping the model.

Investigate if there is a better way and (regardless of whether we find a better way), refactor the existing TypeScript types so that our use of Strapi is standardised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog (Prioritised, clearly-defined)
Development

No branches or pull requests

1 participant