diff --git a/src/main/resources/wallet-erd.drawio.svg b/src/main/resources/wallet-erd.drawio.svg index 4b75870..aec697d 100644 --- a/src/main/resources/wallet-erd.drawio.svg +++ b/src/main/resources/wallet-erd.drawio.svg @@ -1,4 +1,4 @@ -
emails
emails
PK
PK
id: uuid
id: uuid
{email}
{email}
password
password
wallets
wallets
PK
PK
id: uuid
id: uuid
{address}
{address}
ecosystem
ecosystem
keys
keys
PK
PK
id: uuid
id: uuid
{kid}
{kid}
document
document
dids
dids
PK
PK
id: uuid
id: uuid
{did}
{did}
document
document
FK
FK
key
key
credentials
credentials
PK
PK
id: uuid
id: uuid
{cid}
{cid}
document
document
wallet_operation_histories
wallet_operation_histories
PK
PK
id: uuid
id: uuid
FK
FK
account
account
timestamp
timestamp
operation
operation
data
data
accounts
accounts
PK
PK
id: uuid
id: uuid
FK
FK
email
email
FK
FK
wallet
wallet
{email, wallet}
{email, wallet}
account_wallets
account_wallets
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
wallet
wallet
owner
owner
{account, wallet}
{account, wallet}
account_keys
account_keys
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
key
key
account_dids
account_dids
PK
PK
id: uuid
id: uuid
FK
FK
did
did
FK
FK
account
account
alias
alias
default
default
account_credentials
account_credentials
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
credential
credential
Text is not SVG - cannot display
\ No newline at end of file +
emails
emails
PK
PK
id: uuid
id: uuid
{email}
{email}
password
password
wallets
wallets
PK
PK
id: uuid
id: uuid
{address}
{address}
ecosystem
ecosystem
keys
keys
PK
PK
id: uuid
id: uuid
{kid}
{kid}
document
document
dids
dids
PK
PK
id: uuid
id: uuid
{did}
{did}
document
document
FK
FK
key
key
credentials
credentials
PK
PK
id: uuid
id: uuid
{cid}
{cid}
document
document
wallet_operation_histories
wallet_operation_histories
PK
PK
id: uuid
id: uuid
FK
FK
account
account
timestamp
timestamp
operation
operation
data
data
accounts
accounts
PK
PK
id: uuid
id: uuid
FK
FK
email
email
FK
FK
wallet
wallet
{email, wallet}
{email, wallet}
account_wallets
account_wallets
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
wallet
wallet
owner
owner
{account, wallet}
{account, wallet}
account_keys
account_keys
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
key
key
account_dids
account_dids
PK
PK
id: uuid
id: uuid
FK
FK
did
did
FK
FK
account
account
alias
alias
default
default
account_credentials
account_credentials
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
credential
credential
account_issuers
account_issuers
PK
PK
id: uuid
id: uuid
FK
FK
account
account
FK
FK
issuer
issuer
issuers
issuers
PK
PK
id: uuid
id: uuid
name
name
description
description
ui
ui
configuration
configuration
Text is not SVG - cannot display
\ No newline at end of file diff --git a/web/src/pages/settings/keys/export/[keyId].vue b/web/src/pages/settings/keys/export/[keyId].vue index 22755ca..4bea6b5 100644 --- a/web/src/pages/settings/keys/export/[keyId].vue +++ b/web/src/pages/settings/keys/export/[keyId].vue @@ -56,7 +56,7 @@ const keyId = route.params.keyId async function loadExportedKey() { const data = await $fetch(`/r/wallet/keys/load/${keyId}?format=${format}&loadPrivateKey=${loadPrivateKey}`) - exportedKey.value = data + exportedKey.value = JSON.stringify(data); } if (process.client && !loadPrivateKey) {