sdk-for-node
sdk-for-node copied to clipboard
[READ-ONLY] Official Appwrite Node.js SDK 🟢
### 💭 Description The documentation for `storageCreateFile` seems wrong: https://appwrite.io/docs/server/storage?sdk=nodejs-default#storageCreateFile For the `file` parameter, there is only a string allowed: https://github.com/appwrite/sdk-for-node/blob/4f021b92b6ddf5598d5d8c66c410b8056788d16c/lib/services/storage.js#L334 https://github.com/appwrite/sdk-for-node/blob/4f021b92b6ddf5598d5d8c66c410b8056788d16c/lib/services/storage.js#L340 The code Example and the description are claiming,...
### 🔖 Feature description Would be great to have the same functionality in the node-sdk as in the other sdk's! ### 🎤 Pitch Imagine writing a backend-service which should not...
static equal = (attribute, value) => ^ SyntaxError: Unexpected token =
In some async functions, you're using redundant code that makes the execution code slower (I assume that this is also valid for the deno sdk). I didn't new at first...
### 👟 Reproduction steps When i try to save a file stream received on my express server using busboy, it ends up failing. ``` const bb = busboy({headers:req.headers}); bb.on('file', async...
if condition already checking error.response so there is no need to write error.response.statusText in else . It will throw error
## What does this PR do? Fix some readme instruction that didn't worked for me on appwrite 1.1 - `ID.xxx` is undefined - `phone` parameter is before password. By not...
## What does this PR do? (Provide a description of what this PR does.) ## Test Plan (Write your test plan here. If you changed any code, please provide us...
### 👟 Reproduction steps Installing the Node SDK, importing the `Permission` and/or `Role` class and compiling with tsc. Import Statement ```ts import sdk, {Permission, Role} from 'node-appwrite'; ``` package.json ```json...
### 👟 Reproduction steps When I try to upload an image to storage using the Node client the uploaded file has the wrong type. 1. I create an image using...