Skip to content

Commit 2204590

Browse files
committed
chore: regen to 1.7.x
1 parent a9d89da commit 2204590

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+74
-4647
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Appwrite Deno SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-deno.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.8.0-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.7.4-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
88

9-
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-deno/releases).**
9+
**This SDK is compatible with Appwrite server version 1.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-deno/releases).**
1010

1111
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Deno SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
1212

β€Ždocs/examples/databases/create-document.mdβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
22

33
const client = new Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setSession('') // The user session to authenticate with
6-
.setKey('<YOUR_API_KEY>') // Your secret API key
7-
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
6+
.setSession(''); // The user session to authenticate with
87

98
const databases = new Databases(client);
109

β€Ždocs/examples/databases/create-documents.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
22

33
const client = new Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setAdmin('') //
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
66
.setKey('<YOUR_API_KEY>'); // Your secret API key
77

88
const databases = new Databases(client);

β€Ždocs/examples/databases/upsert-document.mdβ€Ž

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
22

33
const client = new Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setSession('') // The user session to authenticate with
6-
.setKey('<YOUR_API_KEY>') // Your secret API key
7-
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
6+
.setSession(''); // The user session to authenticate with
87

98
const databases = new Databases(client);
109

1110
const response = await databases.upsertDocument(
1211
'<DATABASE_ID>', // databaseId
1312
'<COLLECTION_ID>', // collectionId
14-
'<DOCUMENT_ID>' // documentId
13+
'<DOCUMENT_ID>', // documentId
14+
{}, // data
15+
["read("any")"] // permissions (optional)
1516
);

β€Ždocs/examples/databases/upsert-documents.mdβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import { Client, Databases } from "https://deno.land/x/appwrite/mod.ts";
22

33
const client = new Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setAdmin('') //
5+
.setProject('<YOUR_PROJECT_ID>') // Your project ID
66
.setKey('<YOUR_API_KEY>'); // Your secret API key
77

88
const databases = new Databases(client);
99

1010
const response = await databases.upsertDocuments(
1111
'<DATABASE_ID>', // databaseId
12-
'<COLLECTION_ID>' // collectionId
12+
'<COLLECTION_ID>', // collectionId
13+
[] // documents
1314
);

β€Ždocs/examples/tables/create-boolean-column.mdβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Ždocs/examples/tables/create-datetime-column.mdβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Ždocs/examples/tables/create-email-column.mdβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Ždocs/examples/tables/create-enum-column.mdβ€Ž

Lines changed: 0 additions & 18 deletions
This file was deleted.

β€Ždocs/examples/tables/create-float-column.mdβ€Ž

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
Β (0)