Skip to content

AttachmentRecord

View as Markdown

Defined in: hub/src/store/store.ts:90

Property Type Description Defined in
attachment object - hub/src/store/store.ts:91
attachment.createdAt string - protocol/dist/index.d.ts:169
attachment.id string - protocol/dist/index.d.ts:159
attachment.kind "file" | "image" - protocol/dist/index.d.ts:164
attachment.mime string - protocol/dist/index.d.ts:162
attachment.name string - protocol/dist/index.d.ts:161
attachment.sessionId string - protocol/dist/index.d.ts:160
attachment.sha256 string - protocol/dist/index.d.ts:168
attachment.size number - protocol/dist/index.d.ts:163
data Uint8Array - hub/src/store/store.ts:93
machineId? string The machine the attachment was relayed to (its bytes are deleted when that machine is revoked). hub/src/store/store.ts:95
userId string - hub/src/store/store.ts:92