
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
- Email OTP + email-password combo
This might be a strange scenario but I want to know if it's possible I can implement user auth through both the ways in my app: by sending email OTP and by usi...
- A full logout for users logged in via Go...
I have a web app in reactjs that uses the Google login that is integrated into Appwrite for user login. I use `createOAuth2Token()` to login to their account. ...
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
