@appwrite.io/console 18.0.0 → 18.1.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/README.md +1 -1
- package/dist/cjs/sdk.js +4830 -4828
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +4830 -4828
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +4830 -4828
- package/package.json +1 -1
- package/types/client.d.ts +1 -1
- package/types/enums/build-runtime.d.ts +0 -3
- package/types/enums/runtime.d.ts +0 -3
- package/types/services/assistant.d.ts +4 -4
- package/types/services/domains.d.ts +4 -4
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appwrite.io/console",
|
|
3
3
|
"homepage": "https://appwrite.io/support",
|
|
4
4
|
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "18.
|
|
5
|
+
"version": "18.1.0",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/types/client.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ declare class Client {
|
|
|
365
365
|
uri: string;
|
|
366
366
|
options: RequestInit;
|
|
367
367
|
};
|
|
368
|
-
chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void): Promise<any>;
|
|
368
|
+
chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void, responseType?: string): Promise<any>;
|
|
369
369
|
ping(): Promise<unknown>;
|
|
370
370
|
call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
|
|
371
371
|
static flatten(data: Payload, prefix?: string): Payload;
|
|
@@ -31,9 +31,6 @@ export declare enum BuildRuntime {
|
|
|
31
31
|
Pythonml311 = "python-ml-3.11",
|
|
32
32
|
Pythonml312 = "python-ml-3.12",
|
|
33
33
|
Pythonml313 = "python-ml-3.13",
|
|
34
|
-
Deno121 = "deno-1.21",
|
|
35
|
-
Deno124 = "deno-1.24",
|
|
36
|
-
Deno135 = "deno-1.35",
|
|
37
34
|
Deno140 = "deno-1.40",
|
|
38
35
|
Deno146 = "deno-1.46",
|
|
39
36
|
Deno20 = "deno-2.0",
|
package/types/enums/runtime.d.ts
CHANGED
|
@@ -31,9 +31,6 @@ export declare enum Runtime {
|
|
|
31
31
|
Pythonml311 = "python-ml-3.11",
|
|
32
32
|
Pythonml312 = "python-ml-3.12",
|
|
33
33
|
Pythonml313 = "python-ml-3.13",
|
|
34
|
-
Deno121 = "deno-1.21",
|
|
35
|
-
Deno124 = "deno-1.24",
|
|
36
|
-
Deno135 = "deno-1.35",
|
|
37
34
|
Deno140 = "deno-1.40",
|
|
38
35
|
Deno146 = "deno-1.46",
|
|
39
36
|
Deno20 = "deno-2.0",
|
|
@@ -7,18 +7,18 @@ export declare class Assistant {
|
|
|
7
7
|
*
|
|
8
8
|
* @param {string} params.prompt - Prompt. A string containing questions asked to the AI assistant.
|
|
9
9
|
* @throws {AppwriteException}
|
|
10
|
-
* @returns {Promise<
|
|
10
|
+
* @returns {Promise<string>}
|
|
11
11
|
*/
|
|
12
12
|
chat(params: {
|
|
13
13
|
prompt: string;
|
|
14
|
-
}): Promise<
|
|
14
|
+
}): Promise<string>;
|
|
15
15
|
/**
|
|
16
16
|
* Send a prompt to the AI assistant and receive a response. This endpoint allows you to interact with Appwrite's AI assistant by sending questions or prompts and receiving helpful responses in real-time through a server-sent events stream.
|
|
17
17
|
*
|
|
18
18
|
* @param {string} prompt - Prompt. A string containing questions asked to the AI assistant.
|
|
19
19
|
* @throws {AppwriteException}
|
|
20
|
-
* @returns {Promise<
|
|
20
|
+
* @returns {Promise<string>}
|
|
21
21
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
22
22
|
*/
|
|
23
|
-
chat(prompt: string): Promise<
|
|
23
|
+
chat(prompt: string): Promise<string>;
|
|
24
24
|
}
|
|
@@ -1537,21 +1537,21 @@ export declare class Domains {
|
|
|
1537
1537
|
*
|
|
1538
1538
|
* @param {string} params.domainId - Domain unique ID.
|
|
1539
1539
|
* @throws {AppwriteException}
|
|
1540
|
-
* @returns {Promise<
|
|
1540
|
+
* @returns {Promise<string>}
|
|
1541
1541
|
*/
|
|
1542
1542
|
getZone(params: {
|
|
1543
1543
|
domainId: string;
|
|
1544
|
-
}): Promise<
|
|
1544
|
+
}): Promise<string>;
|
|
1545
1545
|
/**
|
|
1546
1546
|
* Retrieve the DNS zone file for the given domain. This endpoint will return the DNS
|
|
1547
1547
|
* zone file in a standardized format that can be used to configure DNS servers.
|
|
1548
1548
|
*
|
|
1549
1549
|
* @param {string} domainId - Domain unique ID.
|
|
1550
1550
|
* @throws {AppwriteException}
|
|
1551
|
-
* @returns {Promise<
|
|
1551
|
+
* @returns {Promise<string>}
|
|
1552
1552
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1553
1553
|
*/
|
|
1554
|
-
getZone(domainId: string): Promise<
|
|
1554
|
+
getZone(domainId: string): Promise<string>;
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Update the DNS zone for the given domain using the provided zone file content.
|
|
1557
1557
|
* All parsed records are imported and then the main domain document is returned.
|