Merge pull request #136 from appwrite/feat-upgrade-appwrite

feat: new appwrite version
This commit is contained in:
Torsten Dittmann
2022-11-14 15:16:22 +01:00
committed by GitHub
5 changed files with 25 additions and 12 deletions
+7 -7
View File
@@ -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"
+1 -1
View File
@@ -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",
@@ -156,6 +156,7 @@
<TableCellHead width={100}>Deployment ID</TableCellHead>
<TableCellHead width={140}>Created</TableCellHead>
<TableCellHead width={100}>Status</TableCellHead>
<TableCellHead width={100}>Build Time</TableCellHead>
<TableCellHead width={70}>Size</TableCellHead>
<TableCellHead width={25} />
</TableHeader>
@@ -181,6 +182,12 @@
</Status>
</TableCell>
<TableCellText title="Build Time">
{#if deployment.status === 'ready'}
{deployment.buildTime}s
{/if}
</TableCellText>
<TableCellText title="Size">
{calculateSize(deployment.size)}
</TableCellText>
@@ -1,4 +1,5 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { Code, Modal } from '$lib/components';
import { Button } from '$lib/elements/forms';
import { InputTextarea, FormList, InputChoice } from '$lib/elements/forms';
@@ -13,8 +14,7 @@
let showJson = false;
let submitting = false;
const example = `
{
const example = `{
firstName: "hello",
lastName:"world",
age:"old"
@@ -51,6 +51,8 @@
selectedFunction = null;
show = false;
}
afterNavigate(close);
</script>
<Modal bind:show size="big" on:submit={handleSubmit} on:close={close}>
@@ -95,7 +95,9 @@
</div>
<div class="grid-item-1-end-end">
<div class="text">Databases: XX</div>
<div class="text">
Databases: {format(last($usage.databases).value)}
</div>
</div>
</div>
</a>
@@ -121,7 +123,9 @@
</div>
<div class="grid-item-1-end-end">
<div class="text">Buckets: XX</div>
<div class="text">
Buckets: {format(last($usage.buckets).value)}
</div>
</div>
</div>
</a>