node-appwrite 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Appwrite Node.js SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-node.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-1.4.2-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
5
5
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueBuilds();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueDatabases();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueDeletes();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueMails();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueMessaging();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });
@@ -0,0 +1,20 @@
1
+ const sdk = require('node-appwrite');
2
+
3
+ // Init SDK
4
+ const client = new sdk.Client();
5
+
6
+ const health = new sdk.Health(client);
7
+
8
+ client
9
+ .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
10
+ .setProject('5df5acd0d48c2') // Your project ID
11
+ .setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
12
+ ;
13
+
14
+ const promise = health.getQueueMigrations();
15
+
16
+ promise.then(function (response) {
17
+ console.log(response);
18
+ }, function (error) {
19
+ console.log(error);
20
+ });