File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { Client } from "./src/client.ts" ;
2
+ import { Query } from "./src/query.ts" ;
2
3
import { AppwriteException } from "./src/exception.ts" ;
3
4
import { Account } from "./src/services/account.ts" ;
4
5
import { Avatars } from "./src/services/avatars.ts" ;
@@ -12,6 +13,7 @@ import { Users } from "./src/services/users.ts";
12
13
13
14
export {
14
15
Client ,
16
+ Query ,
15
17
AppwriteException ,
16
18
Account ,
17
19
Avatars ,
@@ -25,3 +27,4 @@ export {
25
27
} ;
26
28
27
29
export type { Models } from "./src/models.d.ts" ;
30
+ export type { QueryTypes , QueryTypesList } from "./src/query.ts" ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export class Client {
8
8
endpoint : string = 'https://appwrite.io/v1' ;
9
9
headers : Payload = {
10
10
'content-type' : '' ,
11
- 'x-sdk-version' : 'appwrite:deno:2.0.0 ' ,
11
+ 'x-sdk-version' : 'appwrite:deno:2.0.1 ' ,
12
12
'X-Appwrite-Response-Format' :'0.12.0' ,
13
13
} ;
14
14
Original file line number Diff line number Diff line change @@ -9,4 +9,7 @@ export class AppwriteException {
9
9
this . response = response ;
10
10
}
11
11
12
+ public toString ( ) : String {
13
+ return `${ this . message } - ${ this . code } - ${ JSON . stringify ( this . response ) } ` ;
14
+ }
12
15
}
You can’t perform that action at this time.
0 commit comments