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
- Project auto-blocked after load testing ...
Hi team ๐ My project has been automatically blocked with the message: "Project is currently blocked โ Access to this project is restricted. Contact support if...
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...
- Suspicious access pattern detected when ...
Hello, I am having trouble restoring my project. In the past it worked with no problems, but today I get an error "Suspicious access pattern detected". How can ...