@twinfinity/core
    Preparing search index...

    Interface 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.

    interface AttachmentGet {
        assetId: string;
        createdBy: string;
        createdUtc: string;
        description: null | string;
        documentId: string;
        etag: string;
        fileName: string;
        id: string;
        isDeleted?: boolean;
        modifiedBy: string;
        modifiedUtc: string;
        twinId: string;
    }
    Index

    Properties

    assetId: string
    createdBy: string
    createdUtc: string
    description: null | string

    [REDACTED] on soft-deleted rows.

    documentId: string
    etag: string
    fileName: string

    [REDACTED] on soft-deleted rows.

    id: string
    isDeleted?: boolean

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

    modifiedBy: string
    modifiedUtc: string
    twinId: string