Skip to main content

Interface: Page<T>

Defined in: packages/overcast-core/src/storage/index.ts:50

A single page of results plus the cursor to fetch the next one.

Type Parameters

Type Parameter
T

Properties

items

items: T[];

Defined in: packages/overcast-core/src/storage/index.ts:51


nextCursor?

optional nextCursor?: string;

Defined in: packages/overcast-core/src/storage/index.ts:53

Pass back as Pagination.cursor for the next page; absent at the end.


total?

optional total?: number;

Defined in: packages/overcast-core/src/storage/index.ts:55

Total matching rows, when the implementation can supply it cheaply.