Skip to content

Commit

Permalink
Merge pull request #34 from appwrite/update-sdk-from-specs
Browse files Browse the repository at this point in the history
Update Console SDK
  • Loading branch information
abnegate authored Jan 28, 2025
2 parents 2bc43dc + 7d66e10 commit 71ffdcb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
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:

```html
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@1.4.7"></script>
<script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@1.5.0"></script>
```


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@appwrite.io/console",
"homepage": "https://appwrite.io/support",
"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",
"version": "1.4.7",
"version": "1.5.0",
"license": "BSD-3-Clause",
"main": "dist/cjs/sdk.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ class Client {
'x-sdk-name': 'Console',
'x-sdk-platform': 'console',
'x-sdk-language': 'web',
'x-sdk-version': '1.4.7',
'x-sdk-version': '1.5.0',
'X-Appwrite-Response-Format': '1.6.0',
};

Expand Down
1 change: 1 addition & 0 deletions src/enums/image-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ export enum ImageFormat {
Gif = 'gif',
Png = 'png',
Webp = 'webp',
Heic = 'heic',
Avif = 'avif',
}
16 changes: 16 additions & 0 deletions src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5042,6 +5042,14 @@ export namespace Models {
* Aggregated stats for function executions.
*/
executions: Metric[];
/**
* Aggregated stats for database reads.
*/
databasesReads: Metric[];
/**
* Aggregated stats for database writes.
*/
databasesWrites: Metric[];
/**
* Aggregated stats for total users.
*/
Expand Down Expand Up @@ -5074,6 +5082,14 @@ export namespace Models {
* Aggregated stats for total databases storage.
*/
databasesStorageTotal: number;
/**
* Aggregated stats for total databases storage reads.
*/
databasesReadsTotal: number;
/**
* Aggregated stats for total databases storage writes.
*/
databasesWritesTotal: number;
/**
* Aggregated stats for total backups storage.
*/
Expand Down

0 comments on commit 71ffdcb

Please sign in to comment.