seyfert
    Preparing search index...

    Function resolveAttachment

    • Resolves an attachment to a REST API attachment.

      Parameters

      • resolve:
            | Partial<
                Pick<
                    APIAttachment,
                    | "id"
                    | "description"
                    | "duration_secs"
                    | "filename"
                    | "title"
                    | "waveform",
                >,
            >
            | AttachmentBuilder
            | Attachment
            | AttachmentData

        The attachment or attachment data to resolve.

      Returns Omit<RESTAPIAttachment, "id">

      The resolved REST API attachment.