Skip to content

Commit 71ffdcb

Browse files
authored
Merge pull request #34 from appwrite/update-sdk-from-specs
Update Console SDK
2 parents 2bc43dc + 7d66e10 commit 71ffdcb

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@1.4.7"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@1.5.0"></script>
3737
```
3838

3939

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@appwrite.io/console",
33
"homepage": "https://appwrite.io/support",
44
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "1.4.7",
5+
"version": "1.5.0",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class Client {
316316
'x-sdk-name': 'Console',
317317
'x-sdk-platform': 'console',
318318
'x-sdk-language': 'web',
319-
'x-sdk-version': '1.4.7',
319+
'x-sdk-version': '1.5.0',
320320
'X-Appwrite-Response-Format': '1.6.0',
321321
};
322322

src/enums/image-format.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ export enum ImageFormat {
44
Gif = 'gif',
55
Png = 'png',
66
Webp = 'webp',
7+
Heic = 'heic',
78
Avif = 'avif',
89
}

src/models.ts

+16
Original file line numberDiff line numberDiff line change
@@ -5042,6 +5042,14 @@ export namespace Models {
50425042
* Aggregated stats for function executions.
50435043
*/
50445044
executions: Metric[];
5045+
/**
5046+
* Aggregated stats for database reads.
5047+
*/
5048+
databasesReads: Metric[];
5049+
/**
5050+
* Aggregated stats for database writes.
5051+
*/
5052+
databasesWrites: Metric[];
50455053
/**
50465054
* Aggregated stats for total users.
50475055
*/
@@ -5074,6 +5082,14 @@ export namespace Models {
50745082
* Aggregated stats for total databases storage.
50755083
*/
50765084
databasesStorageTotal: number;
5085+
/**
5086+
* Aggregated stats for total databases storage reads.
5087+
*/
5088+
databasesReadsTotal: number;
5089+
/**
5090+
* Aggregated stats for total databases storage writes.
5091+
*/
5092+
databasesWritesTotal: number;
50775093
/**
50785094
* Aggregated stats for total backups storage.
50795095
*/

0 commit comments

Comments
 (0)