strapi-plugin-schemas-to-ts
strapi-plugin-schemas-to-ts copied to clipboard
User: missing fields
This plugin generates a user.ts file in 'common/shemas-to-ts' -> which user is this? Admin user or User Permissions user?
The types seem to be missing fields like "password" and any other custom fields added to the user schema including relational fields.
Generated Types
Schema
Thanks!
Hi @gregg-cbs it's the Permissions User, as the Admin User is not part of the Content Types. It's indeed lacking custom fields on the user. That's something I'm trying to fix here https://github.com/mancku/strapi-plugin-schemas-to-ts/issues/23
Appreciate the response. This has the chance to be a great plugin for the community. Im hoping there will not be a need for it in the future and that strapi sorts their typing out.