@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Function normalizeFormatsResponse

    Wrap a list of AdCP 3 formats, or preserve an existing response envelope.

    • Parameters

      • formats: FormatV3[]

      Returns { formats: FormatV3[] }

    • Type Parameters

      • T extends { formats?: FormatV3[] }

      Parameters

      • response: T

      Returns T