* chore: display shared vault file usage * fix: specs * fix: reshape filtering result * fix: resolving invalid server items * fix: get revisions specs * fix: processing issue * fix: tests --------- Co-authored-by: Mo <mo@standardnotes.com>
20 lines
743 B
TypeScript
20 lines
743 B
TypeScript
import { DecryptedItemInterface } from './../../Abstract/Item/Interfaces/DecryptedItem'
|
|
import { ItemContent, SpecializedContent } from '../../Abstract/Content/ItemContent'
|
|
import { ProtocolVersion } from '../../Local/Protocol/ProtocolVersion'
|
|
|
|
export interface ItemsKeyContentSpecialized extends SpecializedContent {
|
|
version: ProtocolVersion
|
|
isDefault?: boolean | undefined
|
|
itemsKey: string
|
|
dataAuthenticationKey?: string
|
|
}
|
|
|
|
export type ItemsKeyContent = ItemsKeyContentSpecialized & ItemContent
|
|
|
|
export interface ItemsKeyInterface extends DecryptedItemInterface<ItemsKeyContent> {
|
|
get keyVersion(): ProtocolVersion
|
|
get isDefault(): boolean | undefined
|
|
get itemsKey(): string
|
|
get dataAuthenticationKey(): string | undefined
|
|
}
|