@honua/sdk-js
    Preparing search index...

    Interface AttachmentApi

    Namespace returned by Source.attachments. Adapters that do not advertise the attachments capability throw HonuaCapabilityNotSupportedError from each method rather than ship a null-ish placeholder.

    interface AttachmentApi {
        add(request: AttachmentAdd): Promise<AttachmentEditOutcome>;
        delete(
            request: AttachmentDelete,
        ): Promise<readonly AttachmentEditOutcome[]>;
        downloadUrl?(
            parentId: FeatureId,
            attachmentId: FeatureId,
            options?: { signal?: AbortSignal },
        ): Promise<AttachmentDownloadUrl>;
        list(
            parentId: FeatureId,
            options?: { signal?: AbortSignal },
        ): Promise<readonly AttachmentInfo[]>;
        query(request?: AttachmentQuery): Promise<readonly AttachmentGroup[]>;
        update(request: AttachmentUpdate): Promise<AttachmentEditOutcome>;
    }
    Index

    Methods