Merge branch 'main' of github.com:appwrite/appwrite-console-poc into functions

This commit is contained in:
Arman
2022-10-11 15:09:17 +02:00
8 changed files with 10 additions and 4 deletions
+3 -3
View File
@@ -12,7 +12,7 @@
title: string;
legend: string;
};
export let title: string;
export let count: Models.Metric[];
export let created: Models.Metric[];
export let read: Models.Metric[];
@@ -38,7 +38,7 @@
<Container>
<div class="u-flex u-main-space-between common-section">
<h2 class="heading-level-5">Users</h2>
<h2 class="heading-level-5">{title}</h2>
<DropTabs>
<DropTabsItem on:click={() => (range = '24h')} disabled={range === '24h'}>
24h
@@ -83,7 +83,7 @@
<Card isTile>
{#if read}
<h6 class="heading-level-6">{total(read)}</h6>
<p>{createdMetadata.title}</p>
<p>{readMetadata.title}</p>
<div class="u-margin-block-start-16" />
<LineChart
series={[
@@ -17,6 +17,7 @@
</script>
<Usage
title="Users"
bind:range
{count}
{created}
@@ -20,6 +20,7 @@
</script>
<Usage
title="Documents"
bind:range
{count}
{created}
@@ -19,6 +19,7 @@
</script>
<Usage
title="Collections"
bind:range
{count}
{created}
@@ -16,6 +16,7 @@
</script>
<Usage
title="Databases"
bind:range
{count}
{created}
@@ -12,7 +12,7 @@
const handleDelete = async () => {
try {
await sdkForConsole.projects.deletePlatform($project.$id, $key.$id);
await sdkForConsole.projects.deleteKey($project.$id, $key.$id);
showDelete = false;
addNotification({
type: 'success',
@@ -19,6 +19,7 @@
</script>
<Usage
title="Files"
bind:range
{count}
{created}
@@ -16,6 +16,7 @@
</script>
<Usage
title="Buckets"
bind:range
{count}
{created}