Skip to content

Commit ca658c4

Browse files
committed
chore: regenerate
1 parent 779a1f1 commit ca658c4

File tree

238 files changed

+12138
-18211
lines changed

Some content is hidden

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

238 files changed

+12138
-18211
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[![pub package](https://img.shields.io/pub/v/dart_appwrite.svg?style=flat-square)](https://pub.dartlang.org/packages/dart_appwrite)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-dart.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.8.x-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.7.x-blue.svg?style=flat-square)
66
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
77
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
88
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
99

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

1212
> This is the Dart SDK for integrating with Appwrite from your Dart server-side code. If you're looking for the Flutter SDK you should check [appwrite/sdk-for-flutter](https://github.com/appwrite/sdk-for-flutter)
1313
@@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file:
2323

2424
```yml
2525
dependencies:
26-
dart_appwrite: ^17.0.0
26+
dart_appwrite: ^16.1.0
2727
```
2828
2929
You can install packages from the command line:

β€Ž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 'package:dart_appwrite/dart_appwrite.dart';
22

33
Client client = 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
Databases databases = 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 'package:dart_appwrite/dart_appwrite.dart';
22

33
Client client = 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
Databases databases = Databases(client);

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ import 'package:dart_appwrite/dart_appwrite.dart';
22

33
Client client = 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
Databases databases = Databases(client);
109

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ import 'package:dart_appwrite/dart_appwrite.dart';
22

33
Client client = 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
Databases databases = Databases(client);
99

1010
DocumentList result = await databases.upsertDocuments(
1111
databaseId: '<DATABASE_ID>',
1212
collectionId: '<COLLECTION_ID>',
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)