11 lines
449 B
TypeScript
11 lines
449 B
TypeScript
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
|
|
}
|