Skip to content

Commit

Permalink
Fix between query output
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Nov 16, 2023
1 parent 7082eec commit a700327
Show file tree
Hide file tree
Showing 21 changed files with 803 additions and 426 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Appwrite Node.js SDK

![License](https://img.shields.io/github/license/appwrite/sdk-for-node.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.4.2-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
Expand Down
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-builds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueBuilds();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-databases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueDatabases();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-deletes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueDeletes();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-mails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueMails();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-messaging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueMessaging();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
20 changes: 20 additions & 0 deletions docs/examples/health/get-queue-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const sdk = require('node-appwrite');

// Init SDK
const client = new sdk.Client();

const health = new sdk.Health(client);

client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
;

const promise = health.getQueueMigrations();

promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});
Loading

0 comments on commit a700327

Please sign in to comment.