PlaylistData<PluginData, ListData> = object & (undefined extends ListData ? unknown : object)
| Type Parameter |
Default type |
PluginData |
unknown |
ListData |
unknown |
| Name |
Type |
Description |
id |
string |
- |
name |
string |
- |
pluginData? |
ListData |
Provider-owned playlist data. Core never reads it. |
songs |
readonly Song<PluginData>[] |
Ordered and non-empty; core creates one QueueItem per Song in this order. |
source |
string |
- |
thumbnails? |
readonly Thumbnail[] |
Worst first, best last; thumbnail reads the last. Known widths must not decrease. |
url |
string |
- |