@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias SearchPaginationApi<C>

    SearchPaginationApi: {
        [K in keyof C as K extends `search${string}`
            ? SearchSignature<C[K]> extends { result: infer D }
                ? [ItemsOf<D>] extends [never] ? never : K
                : never
            : never]: SearchSignature<C[K]> extends { body: infer B; result: infer D }
            ? {
                paginate(
                    body: B,
                    opts?: SearchPaginateOptions<D>,
                ): Paginator<ItemsOf<D>>;
            }
            : never
    }

    For a client type C, the set of .paginate methods to intersect onto it. Only search* keys whose response actually carries items are included.

    Type Parameters

    • C