Skip to main content

PaginatedResponse

@mandaitor/sdk


@mandaitor/sdk / PaginatedResponse

Interface: PaginatedResponse<T>

Defined in: @mandaitor/sdk/dist/types.d.ts:441

A single page of results from a list endpoint, with an opaque cursor for the next page.

Type Parameters

T

T

Properties

items

items: T[]

Defined in: @mandaitor/sdk/dist/types.d.ts:442


next_cursor?

optional next_cursor?: string

Defined in: @mandaitor/sdk/dist/types.d.ts:444

Cursor for next page (undefined = last page)


total_count?

optional total_count?: number

Defined in: @mandaitor/sdk/dist/types.d.ts:446

Total count (only if requested)