feat: add models package
This commit is contained in:
12
packages/models/src/Domain/Local/RootKey/RootKeyContent.ts
Normal file
12
packages/models/src/Domain/Local/RootKey/RootKeyContent.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ItemContent } from '../../Abstract/Content/ItemContent'
|
||||
import { ProtocolVersion, AnyKeyParamsContent } from '@standardnotes/common'
|
||||
|
||||
export interface RootKeyContentSpecialized {
|
||||
version: ProtocolVersion
|
||||
masterKey: string
|
||||
serverPassword?: string
|
||||
dataAuthenticationKey?: string
|
||||
keyParams: AnyKeyParamsContent
|
||||
}
|
||||
|
||||
export type RootKeyContent = RootKeyContentSpecialized & ItemContent
|
||||
Reference in New Issue
Block a user