@shopify/cli-kit
    Preparing search index...

    Function extractApiCallLimitFromResponse

    • Extracts the API call limit (used/total) from the response's x-shopify-shop-api-call-limit header.

      Parameters

      Returns [number, number] | undefined

      A tuple of [used, limit], or undefined if the header is missing/invalid.