decord/alpha/source/modules/spotify/SpotifyProtocolStore.tsx

29 lines
938 B
TypeScript
Raw Permalink Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 10786
// Function ID: 10787
// Name: SpotifyProtocolStore
2026-10-03 08:58:59 +00:00
// Dependencies: [504, 584, 2]
2026-07-23 10:11:24 +00:00
2026-10-10 08:08:14 +00:00
// Module 10786 (SpotifyProtocolStore)
2026-10-03 08:58:59 +00:00
import get_initializedDefault from "get initialized" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
let isRegistered = false;
2026-10-03 08:58:59 +00:00
const Store = get_initializedDefault.Store;
2026-07-29 08:29:29 +00:00
class SpotifyProtocolStore extends Store {
2026-10-03 08:58:59 +00:00
isProtocolRegistered() {
return isRegistered;
}
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
const prototype = SpotifyProtocolStore.prototype;
2026-07-29 08:29:29 +00:00
SpotifyProtocolStore.displayName = "SpotifyProtocolStore";
2026-10-03 08:58:59 +00:00
const obj = {
2026-07-20 16:05:17 +00:00
SPOTIFY_SET_PROTOCOL_REGISTERED: function handleSetProtocolRegistered(isRegistered) {
isRegistered = isRegistered.isRegistered;
}
2026-10-03 08:58:59 +00:00
};
const spotifyProtocolStore = new SpotifyProtocolStore(DispatcherDefault, obj);
const result = size.fileFinishedImporting("modules/spotify/SpotifyProtocolStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default spotifyProtocolStore;