Interface RecordsSyncListResponse<T>

Enriched sync response that includes a next function for page-chaining. Unlike the generic ListResponse, this always includes hasNext and nextCursor since the records sync API guarantees their presence.

interface RecordsSyncListResponse<T> {
    hasNext: boolean;
    items: T;
    next?: (() => Promise<RecordsSyncListResponse<T>>);
    nextCursor: string;
}

Type Parameters

  • T

Hierarchy (view full)

Properties

hasNext: boolean
items: T
next?: (() => Promise<RecordsSyncListResponse<T>>)
nextCursor: string