Skip to content
Client
Server

Reference / @open-music-sdk/client-catalog / tWithOption

Interface: tWithOption ​

Defined in: clients/client-catalog/src/resources.ts:63

The option of a function for a view: what to send beside its resources.

Properties ​

with? ​

ts
readonly optional with?: readonly "attributes"[];

Defined in: clients/client-catalog/src/resources.ts:68

What to send beside the resources: ["attributes"] for the view's own, such as its title, which come on the first page alone, since a view's next link keeps only its offset. Default: nothing.

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