Skip to content

Commit 7c78fa5

Browse files
committed
Update generated SDK
1 parent 17c7a4b commit 7c78fa5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'io.github.gradle-nexus.publish-plugin'
33
// Top-level build file where you can add configuration options common to all sub-projects/modules.
44
buildscript {
55
ext.kotlin_version = "1.5.31"
6-
version "0.3.2-SNAPSHOT"
6+
version "0.3.2"
77
repositories {
88
maven { url "https://plugins.gradle.org/m2/" }
99
google()

library/src/main/java/io/appwrite/services/Account.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,9 @@ class Account(client: Client) : Service(client) {
335335
/**
336336
* Update Account Preferences
337337
*
338-
* Update currently logged in user account preferences. You can pass only the
339-
* specific settings you wish to update.
338+
* Update currently logged in user account preferences. The object you pass is
339+
* stored as is, and replaces any previous value. The maximum allowed prefs
340+
* size is 64kB and throws error if exceeded.
340341
*
341342
* @param prefs Prefs key-value JSON object.
342343
* @return [io.appwrite.models.User]

library/src/main/java/io/appwrite/services/Database.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Database(client: Client) : Service(client) {
7474
* integration](/docs/server/database#databaseCreateCollection) API or
7575
* directly from your database console.
7676
*
77-
* @param collectionId Collection ID. You can create a new collection with validation rules using the Database service [server integration](https://appwrite.io/docs/server/database#createCollection).
77+
* @param collectionId Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/database#createCollection). Make sure to define attributes before creating documents.
7878
* @param documentId Document ID. Choose your own unique ID or pass the string `unique()` to auto generate it. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
7979
* @param data Document data as JSON object.
8080
* @param read An array of strings with read permissions. By default only the current user is granted with read permissions. [learn more about permissions](https://appwrite.io/docs/permissions) and get a full list of available permissions.
@@ -154,7 +154,7 @@ class Database(client: Client) : Service(client) {
154154
* Update a document by its unique ID. Using the patch method you can pass
155155
* only specific fields that will get updated.
156156
*
157-
* @param collectionId Collection ID. You can create a new collection with validation rules using the Database service [server integration](https://appwrite.io/docs/server/database#createCollection).
157+
* @param collectionId Collection ID.
158158
* @param documentId Document ID.
159159
* @param data Document data as JSON object.
160160
* @param read An array of strings with read permissions. By default inherits the existing read permissions. [learn more about permissions](https://appwrite.io/docs/permissions) and get a full list of available permissions.

0 commit comments

Comments
 (0)