diff --git a/package-lock.json b/package-lock.json index e45e204643..3c691137ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "dependencies": { "@analytics/google-analytics": "^1.0.5", "@analytics/google-tag-manager": "^0.5.3", - "@appwrite.io/console": "npm:matej-appwrite-console@7.1.126", + "@appwrite.io/console": "npm:khushboo-console-vcs@0.0.24", "@appwrite.io/pink": "0.1.0-next.4", "@appwrite.io/pink-icons": "^0.1.0-next.4", "@popperjs/core": "^2.11.6", @@ -167,10 +167,10 @@ "integrity": "sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg==" }, "node_modules/@appwrite.io/console": { - "name": "matej-appwrite-console", - "version": "7.1.126", - "resolved": "https://registry.npmjs.org/matej-appwrite-console/-/matej-appwrite-console-7.1.126.tgz", - "integrity": "sha512-ulgi17MwokLEG1BF/cmZIHdrv47pj1Hb4TLjEhIt57pMKuLDQ/VnFK6hyIBmD8pvU+wU56zEyFKl0Q+RIzFaow==", + "name": "khushboo-console-vcs", + "version": "0.0.24", + "resolved": "https://registry.npmjs.org/khushboo-console-vcs/-/khushboo-console-vcs-0.0.24.tgz", + "integrity": "sha512-uk5eyq9QzzYFW/D2l15gK3lBcvGDvLYedmHYDfh3Q+zob7Br5GgCMhONLhyWlgq4fOPP4TLOAAr5EDN7oYYKng==", "dependencies": { "cross-fetch": "3.1.5", "isomorphic-form-data": "2.0.0" @@ -8908,9 +8908,9 @@ "integrity": "sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg==" }, "@appwrite.io/console": { - "version": "npm:matej-appwrite-console@7.1.126", - "resolved": "https://registry.npmjs.org/matej-appwrite-console/-/matej-appwrite-console-7.1.126.tgz", - "integrity": "sha512-ulgi17MwokLEG1BF/cmZIHdrv47pj1Hb4TLjEhIt57pMKuLDQ/VnFK6hyIBmD8pvU+wU56zEyFKl0Q+RIzFaow==", + "version": "npm:khushboo-console-vcs@0.0.24", + "resolved": "https://registry.npmjs.org/khushboo-console-vcs/-/khushboo-console-vcs-0.0.24.tgz", + "integrity": "sha512-uk5eyq9QzzYFW/D2l15gK3lBcvGDvLYedmHYDfh3Q+zob7Br5GgCMhONLhyWlgq4fOPP4TLOAAr5EDN7oYYKng==", "requires": { "cross-fetch": "3.1.5", "isomorphic-form-data": "2.0.0" diff --git a/package.json b/package.json index 53b71e1a46..958f71f713 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@analytics/google-analytics": "^1.0.5", "@analytics/google-tag-manager": "^0.5.3", - "@appwrite.io/console": "npm:matej-appwrite-console@7.1.126", + "@appwrite.io/console": "npm:khushboo-console-vcs@0.0.24", "@appwrite.io/pink": "0.1.0-next.4", "@appwrite.io/pink-icons": "^0.1.0-next.4", "@popperjs/core": "^2.11.6", diff --git a/src/lib/layout/usage.svelte b/src/lib/layout/usage.svelte index 3e2b5c8729..bf2f3380de 100644 --- a/src/lib/layout/usage.svelte +++ b/src/lib/layout/usage.svelte @@ -13,10 +13,12 @@ @@ -62,6 +73,76 @@ {/if} + + + {#if created} + {total(created)} +

{createdMetadata.title}

+
+
+ [e.date, e.value])], + color: Colors.Secondary + } + ]} /> +
+ {/if} + + + {#if read} + {total(read)} +

{readMetadata.title}

+
+
+ [e.date, e.value])], + color: Colors.Tertiary + } + ]} /> +
+ {/if} + + + {#if updated} + {total(updated)} +

{updatedMetadata.title}

+
+
+ [e.date, e.value])], + color: Colors.Quaternary + } + ]} /> +
+ {/if} + + + {#if deleted} + {total(deleted)} +

{deletedMetadata.title}

+
+
+ [e.date, e.value])], + color: Colors.Quinary + } + ]} /> +
+ {/if} + +