feat: basic initial types

This commit is contained in:
janishutz committed 2026-08-23 11:58:13 +02:00
1 parent 850db4e487
commit abbd0b48c5
9 files changed
+845 -1

No files matched your search

Vendored
+36
View File
@@ -0,0 +1,36 @@
declare namespace MusicKit {
/**
* The bitrate to choose for playback. HIGH is 256kbps, STANDARD is 64kbps
*/
enum PlaybackBitrate {
'HIGH',
'STANDARD'
}
/**
* State of the player. See https://js-cdn.music.apple.com/musickit/v3/docs/iframe.html?id=reference-javascript-musickit--page&viewMode=story&args=#playbackstates
*/
enum PlaybackStates {
'none',
'loading',
'playing',
'paused',
'stopped',
'ended',
'seeking',
'waiting',
'stalled',
'completed'
}
enum PlayerRepeatMode {
'all',
'none',
'one'
}
enum PlayerShuffleMode {
'on',
'off'
}
}