refactor: root key manager (#2344)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { RootKeyInterface } from '@standardnotes/models'
|
||||
|
||||
export type ValidatePasscodeResult =
|
||||
| {
|
||||
valid: true
|
||||
artifacts: {
|
||||
wrappingKey: RootKeyInterface
|
||||
}
|
||||
}
|
||||
| {
|
||||
valid: boolean
|
||||
artifacts?: undefined
|
||||
}
|
||||
Reference in New Issue
Block a user