diff --git a/package-lock.json b/package-lock.json index d7b8114414..a1ffcfa0f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "@appwrite/console", "version": "0.0.1", "dependencies": { - "@aw-labs/appwrite-console": "^10.0.0", + "@aw-labs/appwrite-console": "^11.0.0", "@aw-labs/icons": "0.0.0-76", "@aw-labs/ui": "0.0.0-76", "@popperjs/core": "^2.11.6", @@ -72,9 +72,9 @@ } }, "node_modules/@aw-labs/appwrite-console": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@aw-labs/appwrite-console/-/appwrite-console-10.0.0.tgz", - "integrity": "sha512-YyEQ5SIhkvI/Axt/EOkAqKcMTkfEpQt7W1q91lWKQ+Hm9woMzYUcf8KThBnMvEFbphWQRaJKLtfpr8EJjCjm4w==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@aw-labs/appwrite-console/-/appwrite-console-11.0.0.tgz", + "integrity": "sha512-V9cI4j6YdvMbM2xCUp0JGHd1B2KEJ3T8rqSVdPecfVBrRn8S2BcwJsJGUJCixca0uhrK+6+IlARShaGegyAiGA==", "dependencies": { "cross-fetch": "3.1.5", "isomorphic-form-data": "2.0.0" @@ -7458,9 +7458,9 @@ } }, "@aw-labs/appwrite-console": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@aw-labs/appwrite-console/-/appwrite-console-10.0.0.tgz", - "integrity": "sha512-YyEQ5SIhkvI/Axt/EOkAqKcMTkfEpQt7W1q91lWKQ+Hm9woMzYUcf8KThBnMvEFbphWQRaJKLtfpr8EJjCjm4w==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@aw-labs/appwrite-console/-/appwrite-console-11.0.0.tgz", + "integrity": "sha512-V9cI4j6YdvMbM2xCUp0JGHd1B2KEJ3T8rqSVdPecfVBrRn8S2BcwJsJGUJCixca0uhrK+6+IlARShaGegyAiGA==", "requires": { "cross-fetch": "3.1.5", "isomorphic-form-data": "2.0.0" diff --git a/package.json b/package.json index 290e163748..f67b846223 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "e2e": "playwright test tests/e2e" }, "dependencies": { - "@aw-labs/appwrite-console": "^10.0.0", + "@aw-labs/appwrite-console": "^11.0.0", "@aw-labs/icons": "0.0.0-76", "@aw-labs/ui": "0.0.0-76", "@popperjs/core": "^2.11.6", diff --git a/src/routes/console/project-[project]/functions/function-[function]/[[page]]/+page.svelte b/src/routes/console/project-[project]/functions/function-[function]/[[page]]/+page.svelte index fb694f4df7..f7c259edd2 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/[[page]]/+page.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/[[page]]/+page.svelte @@ -156,6 +156,7 @@ Deployment ID Created Status + Build Time Size @@ -181,6 +182,12 @@ + + {#if deployment.status === 'ready'} + {deployment.buildTime}s + {/if} + + {calculateSize(deployment.size)} diff --git a/src/routes/console/project-[project]/functions/function-[function]/execute.svelte b/src/routes/console/project-[project]/functions/function-[function]/execute.svelte index 7f25802ba4..cad5543fc5 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/execute.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/execute.svelte @@ -1,4 +1,5 @@ diff --git a/src/routes/console/project-[project]/overview/+layout.svelte b/src/routes/console/project-[project]/overview/+layout.svelte index 67acbb9936..fbed69cfbd 100644 --- a/src/routes/console/project-[project]/overview/+layout.svelte +++ b/src/routes/console/project-[project]/overview/+layout.svelte @@ -95,7 +95,9 @@ - Databases: XX + + Databases: {format(last($usage.databases).value)} + @@ -121,7 +123,9 @@ - Buckets: XX + + Buckets: {format(last($usage.buckets).value)} +