Is there a way to get the types from collection? I'm currently starting to make a base for my functions, and want to understand if its possible, to not type everything manually. I'm just starting out with typescript, any suggestions would be welcome. Here's an example of what I have done so far.
We plan to add some way to auto generate types, but for now, you'll have to generate your own. Some people from the community have come up with stuff. For example: https://github.com/YsarocK/fetch-appwrite-types. I often user this tool: https://quicktype.io/
thank you, will take a look
Recommended threads
- Free to Pro upgrade issues
Could someone please investigate this issue? I recently upgraded my account to the pro version and charged for it, but the account still shows as free. <#107290...
- Help Needed: "The current user has been ...
Facing a 403 Forbidden error with the message "The current user has been blocked" while trying to log in via GitHub and Email/Password. This is happening on a ...
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...