sdk-for-node
sdk-for-node copied to clipboard
[READ-ONLY] Official Appwrite Node.js SDK 🟢
Document data for variable key When I try to get data from documentation, vscode prompts "Property 'id' does not exist on type 'Document'.ts(2339)",  I referenced the contents of this...
### 👟 Reproduction steps ``` const document = await databases.createDocument( import.meta.env.VITE_APPWRITE_EVENTS_DATABASE_ID, import.meta.env.VITE_APPWRITE_EVENTS_COLLECTION_ID, ID.unique(), { ..., date: new Date().toISOString(), ... } ); ``` My Solution: If I remove the Z at...
### 👟 Reproduction steps ```ts import { Client, Databases, Users } from "node-appwrite"; const client = new Client(); const databases = new Databases(client); client .setEndpoint(ENDPOINT) .setProject(PROJECT_ID) .setKey(API_KEY); const {my_attribute} =...
### 💭 Description On this getDocument method [here](https://github.com/appwrite/sdk-for-node/blob/3e4e6ce7b1227be7ba7938b188a37df63cc24e4c/index.d.ts#L3127) why does it take queries as filter when documentId is supposed to be unique for every document? ### 👀 Have you spent...
### 👟 Reproduction steps I'm using the latest version of node-appwrite (11.1.0) and have set up some scripts to set up my projects programmatically. Everything works fine besides creating array...
### 👟 Reproduction steps When I try to use appwrite in NextJS middleware I get the following error... ``` [Error: adapter is not a function] { code: undefined, type: undefined,...
### 🔖 Feature description Add a new function in the Database SDK called findDocument which uses listDocument to get the first returned document with Query. ### 🎤 Pitch This feature...
### 👟 Reproduction steps When I try to access the contains value on the `Query` class like so: `Query.contains('property', 123)`, I get the following typescript error: `Property 'contains' does not...
### 🔖 Feature description Hello; Thanks again for Appwrite; really neat project, with awesome docs too. So, after introducing SSR capabilities, I was finally getting started on my SvelteKit project,...
### 👟 Reproduction steps Steps: - Start a password recovery with email and url - Use the secret and userId from the link received in email - Use node-appwrite client...