internal: incomplete vault systems behind feature flag (#2340)
This commit is contained in:
10
packages/services/src/Domain/Vaults/ChangeVaultOptionsDTO.ts
Normal file
10
packages/services/src/Domain/Vaults/ChangeVaultOptionsDTO.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { KeySystemRootKeyPasswordType, KeySystemRootKeyStorageMode, VaultListingInterface } from '@standardnotes/models'
|
||||
|
||||
export type ChangeVaultOptionsDTO = {
|
||||
vault: VaultListingInterface
|
||||
newPasswordType:
|
||||
| { passwordType: KeySystemRootKeyPasswordType.Randomized }
|
||||
| { passwordType: KeySystemRootKeyPasswordType.UserInputted; userInputtedPassword: string }
|
||||
| undefined
|
||||
newKeyStorageMode: KeySystemRootKeyStorageMode | undefined
|
||||
}
|
||||
Reference in New Issue
Block a user