Skip to content
Client
Server

Reference / @open-music-sdk/core / tPage

Interface: tPage<T> ​

Defined in: packages/core/src/client.ts:162

One page of a collection or relationship response.

Type Parameters ​

T ​

T

Properties ​

data? ​

ts
readonly optional data?: readonly T[];

Defined in: packages/core/src/client.ts:164

The items of this page; left out when the page holds none.


next? ​

ts
readonly optional next?: string;

Defined in: packages/core/src/client.ts:166

Where the next page is, as Apple gives it: a path on its origin with the query in it. Left out on the last page.

MIT licensed. Not affiliated with, endorsed by, or sponsored by Apple Inc. Apple Music and MusicKit are trademarks of Apple Inc.