IGPAPI
    Preparing search index...

    Function mergeJsonStreamDocuments

    • Reduce the documents of one body to the single payload a caller expects: a single document is returned as-is, GraphQL incremental patches are applied, and any other multi-document body is merged as a feed chunk stream.

      Parameters

      • documents: readonly unknown[]

      Returns unknown