_allDocuments equivalent from gatsby-source-prismic-graphql to gatsby-source-prismic: ^5.2.9

Hi @Pau thanks for writing back,
I would do a union with the data results of these two types into one and returns the first 20 results with
the

pageInfo {
                hasNextPage
                endCursor
                hasPreviousPage
                startCursor
              }
              totalCount
            }

if you see my initial query on first message , you will have an idea of what i want, hope this helps,
thanks,
James