Type Alias: Page<TItem, TListKey>
ts
type Page<TItem, TListKey> = {
nextPageToken?: string;
} & Record<TListKey, TItem[]>;Defined in: src/types/common.ts:8
Generic paginated response type for list operations. Combines pagination metadata with the actual list data.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
nextPageToken? | string | Token for fetching the next page of results (undefined if no more pages) | src/types/common.ts:10 |
Type Parameters
| Type Parameter | Description |
|---|---|
TItem | Type of items in the list |
TListKey extends string | Property name containing the list items |