Skip to main content

AttachmentGet

Wire types for asset attachments. Mirrors the C# DTOs in Twinfinity.Twin.Controllers.Model.Attachment. The (asset, document) pair is fixed at upload-finalize time; the only way to replace a file is to delete the attachment and create a new one with a fresh upload.

Index

Properties

assetId

assetId: string

createdBy

createdBy: string

createdUtc

createdUtc: string

description

description: null | string

[REDACTED] on soft-deleted rows.

documentId

documentId: string

etag

etag: string

fileName

fileName: string

[REDACTED] on soft-deleted rows.

id

id: string

optionalisDeleted

isDeleted?: boolean

Present and true on soft-deleted rows; omitted from the wire payload otherwise.

modifiedBy

modifiedBy: string

modifiedUtc

modifiedUtc: string

twinId

twinId: string