Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Refactor import types (#2159)
Leendert de Borst60b2f82aa8bb
diff --git a/core/models/src/webapi/Email.ts b/core/models/src/webapi/Email.tsindex 79f12add2..c68f52279 100644--- a/core/models/src/webapi/Email.ts+++ b/core/models/src/webapi/Email.ts@@ -1,4 +1,4 @@-import { EmailDecryptionKey } from "./EmailDecryptionKey";+import type { EmailDecryptionKey } from "./EmailDecryptionKey";export type Email = {/** The raw RFC 822 source of the email message (ciphertext, base64) */diff --git a/core/models/src/webapi/Groups.ts b/core/models/src/webapi/Groups.tsindex 2561e57fa..7c43e4123 100644--- a/core/models/src/webapi/Groups.ts+++ b/core/models/src/webapi/Groups.ts@@ -1,4 +1,4 @@-import { VaultKeyAlgorithmValue } from './VaultKeyAlgorithm';+import type { VaultKeyAlgorithmValue } from './VaultKeyAlgorithm';/*** The messages of the /v2/Groups API: the sharing half of vault sharing.diff --git a/core/models/src/webapi/MailboxBulk.ts b/core/models/src/webapi/MailboxBulk.tsindex 8563a3bf6..57fe822ac 100644--- a/core/models/src/webapi/MailboxBulk.ts+++ b/core/models/src/webapi/MailboxBulk.ts@@ -1,4 +1,4 @@-import { MailboxEmail } from "./MailboxEmail";+import type { MailboxEmail } from "./MailboxEmail";/*** Mailbox bulk request type.diff --git a/core/models/src/webapi/MailboxEmail.ts b/core/models/src/webapi/MailboxEmail.tsindex 4e36cdaff..337386448 100644--- a/core/models/src/webapi/MailboxEmail.ts+++ b/core/models/src/webapi/MailboxEmail.ts@@ -1,4 +1,4 @@-import { EmailDecryptionKey } from "./EmailDecryptionKey";+import type { EmailDecryptionKey } from "./EmailDecryptionKey";export type MailboxEmail = {/** The preview of the email message */diff --git a/core/models/src/webapi/VaultPasswordChangeRequest.ts b/core/models/src/webapi/VaultPasswordChangeRequest.tsindex 5651576cf..a19b59e62 100644--- a/core/models/src/webapi/VaultPasswordChangeRequest.ts+++ b/core/models/src/webapi/VaultPasswordChangeRequest.ts@@ -1,4 +1,4 @@-import { Vault } from "./Vault";+import type { Vault } from "./Vault";/*** Represents a request to change the users password including a new vault that is encrypted with the new password.diff --git a/core/models/src/webapi/VaultResponse.ts b/core/models/src/webapi/VaultResponse.tsindex 06207affb..416d7a202 100644--- a/core/models/src/webapi/VaultResponse.ts+++ b/core/models/src/webapi/VaultResponse.ts@@ -1,4 +1,4 @@-import { Vault } from "./Vault";+import type { Vault } from "./Vault";/*** Vault response type.