Skip to main content

Interface: Page<T>

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

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:52


nextCursor?​

optional nextCursor?: string;

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

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:56

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