This commit is contained in:
Jan Prochazka
2021-06-10 11:10:45 +02:00
parent 7847eaa64d
commit 3ad665f80b
3 changed files with 5 additions and 12 deletions

View File

@@ -32,6 +32,6 @@
}, },
"dependencies": { "dependencies": {
"lodash": "^4.17.21", "lodash": "^4.17.21",
"uuid": "^8.3.2" "uuid": "^3.4.0"
} }
} }

View File

@@ -1,6 +1,4 @@
<script lang="ts"> <script lang="ts">
import { ColumnInfo, ForeignKeyInfo, PrimaryKeyInfo } from 'dbgate-types';
import _ from 'lodash'; import _ from 'lodash';
import ColumnLabel from '../elements/ColumnLabel.svelte'; import ColumnLabel from '../elements/ColumnLabel.svelte';
@@ -14,10 +12,10 @@
export let tableInfo; export let tableInfo;
$: columns = $tableInfo?.columns as ColumnInfo[]; $: columns = $tableInfo?.columns;
$: primaryKey = $tableInfo?.primaryKey as PrimaryKeyInfo; $: primaryKey = $tableInfo?.primaryKey;
$: foreignKeys = $tableInfo?.foreignKeys as ForeignKeyInfo[]; $: foreignKeys = $tableInfo?.foreignKeys;
$: dependencies = $tableInfo?.dependencies as ForeignKeyInfo[]; $: dependencies = $tableInfo?.dependencies;
</script> </script>

View File

@@ -10723,11 +10723,6 @@ uuid@^3.1.0, uuid@^3.3.2, uuid@^3.4.0:
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
v8-compile-cache@2.0.3: v8-compile-cache@2.0.3:
version "2.0.3" version "2.0.3"
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe"