14 lines
251 B
TypeScript
14 lines
251 B
TypeScript
import { RootKeyInterface } from '@standardnotes/models'
|
|
|
|
export type ValidatePasscodeResult =
|
|
| {
|
|
valid: true
|
|
artifacts: {
|
|
wrappingKey: RootKeyInterface
|
|
}
|
|
}
|
|
| {
|
|
valid: boolean
|
|
artifacts?: undefined
|
|
}
|