Files
standardnotes-app-web/packages/models/src/Domain/Abstract/TransferPayload/Interfaces/TransferPayload.ts
Karol Sójko 325737bfbd chore: fix ContentType usage (#2353)
* chore: fix ContentType usage

* chore: fix specs
2023-07-12 13:53:29 +02:00

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
}