react-native-appwrite 0.12.0 → 0.13.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/dist/cjs/sdk.js +123 -11
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +123 -11
- package/dist/esm/sdk.js.map +1 -1
- package/docs/examples/account/update-prefs.md +5 -1
- package/docs/examples/databases/create-document.md +7 -1
- package/docs/examples/databases/decrement-document-attribute.md +2 -2
- package/docs/examples/databases/increment-document-attribute.md +2 -2
- package/docs/examples/storage/create-file.md +1 -1
- package/docs/examples/tablesdb/create-row.md +7 -1
- package/docs/examples/tablesdb/decrement-row-column.md +2 -2
- package/docs/examples/tablesdb/increment-row-column.md +2 -2
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/enums/credit-card.ts +1 -1
- package/src/enums/execution-method.ts +1 -0
- package/src/query.ts +153 -5
- package/src/services/account.ts +2 -2
- package/src/services/avatars.ts +2 -2
- package/src/services/databases.ts +0 -9
- package/src/services/functions.ts +2 -2
- package/types/enums/credit-card.d.ts +1 -1
- package/types/enums/execution-method.d.ts +2 -1
- package/types/query.d.ts +125 -5
- package/types/services/account.d.ts +2 -2
- package/types/services/avatars.d.ts +2 -2
- package/types/services/functions.d.ts +2 -2
|
@@ -33,7 +33,7 @@ export declare class Functions extends Service {
|
|
|
33
33
|
* @param {string} params.body - HTTP body of execution. Default value is empty string.
|
|
34
34
|
* @param {boolean} params.async - Execute code in the background. Default value is false.
|
|
35
35
|
* @param {string} params.xpath - HTTP path of execution. Path can include query params. Default value is /
|
|
36
|
-
* @param {ExecutionMethod} params.method - HTTP method of execution. Default value is
|
|
36
|
+
* @param {ExecutionMethod} params.method - HTTP method of execution. Default value is POST.
|
|
37
37
|
* @param {object} params.headers - HTTP headers of execution. Defaults to empty.
|
|
38
38
|
* @param {string} params.scheduledAt - Scheduled execution time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.
|
|
39
39
|
* @throws {AppwriteException}
|
|
@@ -55,7 +55,7 @@ export declare class Functions extends Service {
|
|
|
55
55
|
* @param {string} body - HTTP body of execution. Default value is empty string.
|
|
56
56
|
* @param {boolean} async - Execute code in the background. Default value is false.
|
|
57
57
|
* @param {string} xpath - HTTP path of execution. Path can include query params. Default value is /
|
|
58
|
-
* @param {ExecutionMethod} method - HTTP method of execution. Default value is
|
|
58
|
+
* @param {ExecutionMethod} method - HTTP method of execution. Default value is POST.
|
|
59
59
|
* @param {object} headers - HTTP headers of execution. Defaults to empty.
|
|
60
60
|
* @param {string} scheduledAt - Scheduled execution time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future with precision in minutes.
|
|
61
61
|
* @throws {AppwriteException}
|