Skip to content
Client
Server

Reference / @open-music-sdk/client-user / tAddedIds

Type Alias: tAddedIds ​

ts
type tAddedIds = Readonly<Partial<Record<"albums" | "music-videos" | "playlists" | "songs", readonly string[] | undefined>> & Record<string, readonly string[] | undefined>>;

Defined in: clients/client-user/src/library.ts:108

Ids by type of catalog resource, such as { songs: ["1"], albums: ["2"] }. Apple does not list the types a library or the favorites take, so a type is any name here, and Apple says whether it is one. The library took each of the four named here against the live API on 18 October 2026.

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