
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
- Unable to Access Project Dashboard After...
I’m currently working on a team project using Appwrite and ran into an issue accessing my project dashboard. After clearing cookies and cache, I attempted to lo...
- Getting unwanted Errors
Whenever I try to open the app or access the admin panel, I encounter the same types of errors. I've tried multiple times, but the issue keeps recurring.
- Unable to migrate the project to self ho...
The Continue button is disabled in the migration modal. Unable to migrate the project. In both local and cloud appwrite 1.7.4
