31 lines
749 B
TypeScript
31 lines
749 B
TypeScript
import { ItemContent } from '../../Content/ItemContent'
|
|
import { PersistentSignatureData } from '../../../Runtime/Encryption/PersistentSignatureData'
|
|
|
|
export interface TransferPayload<C extends ItemContent = ItemContent> {
|
|
uuid: string
|
|
content_type: string
|
|
content: C | string | undefined
|
|
deleted?: boolean
|
|
|
|
updated_at: Date
|
|
created_at: Date
|
|
created_at_timestamp: number
|
|
updated_at_timestamp: number
|
|
|
|
dirtyIndex?: number
|
|
globalDirtyIndexAtLastSync?: number
|
|
dirty?: boolean
|
|
signatureData?: PersistentSignatureData
|
|
|
|
lastSyncBegan?: Date
|
|
lastSyncEnd?: Date
|
|
|
|
duplicate_of?: string
|
|
user_uuid?: string
|
|
|
|
key_system_identifier?: string | undefined
|
|
shared_vault_uuid?: string | undefined
|
|
|
|
last_edited_by_uuid?: string
|
|
}
|