I am trying to the appwrite typescript sdk in my application, account.get()
returns a Promise<Models.User<Models.Preferences>>, but the Appwrite sdk does not expose Modal, & hence i am now forced to write my own type for User or use any type. Is there a better way to do this? Is there a way in I can get the Modal user type in my project? my project uses vite & one of the solution mentioned using "moduleResolution": "node" in tsconfig.json
instead of "moduleResolution": "bundler". Is my application is a react application. Is using "moduleResolution": "node" a ggod idea? Will it not lead to other issues?
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...