
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
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
