Skip to content

OffsetPage

Defined in: packages/core/src/pagination.ts:52

Offset-based pagination envelope returned by marketplaces that expose { totalCount, limit, offset, pageCount, items[] } instead of opaque cursors. Hepsiburada’s OMS uses this shape; some legacy Trendyol endpoints do too. Distinct from CursorPage<T> so callers can tell at the type level which pagination model an endpoint uses.

T

items: T[]

Defined in: packages/core/src/pagination.ts:62

Page rows.


limit: number

Defined in: packages/core/src/pagination.ts:56

Echo of the request limit.


offset: number

Defined in: packages/core/src/pagination.ts:58

Echo of the request offset.


pageCount: number

Defined in: packages/core/src/pagination.ts:60

Total number of pages at the requested limit.


totalCount: number

Defined in: packages/core/src/pagination.ts:54

Total number of items matching the query across all pages.

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.