mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-03 19:41:28 +02:00
last files transformed from js -> ts
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
const flags = {
|
||||
export const flags: { [key: string]: { flag: string; value?: any }[] } = {
|
||||
gpuRasterization: [{ flag: "enable-gpu-rasterization", value: undefined }],
|
||||
disableHardwareMediaKeys: [{ flag: "disable-features", value: "HardwareMediaKeyHandling" }],
|
||||
};
|
||||
|
||||
module.exports = flags;
|
@@ -1,4 +1,4 @@
|
||||
const globalEvents = {
|
||||
export const globalEvents = {
|
||||
play: "play",
|
||||
pause: "pause",
|
||||
playPause: "playPause",
|
||||
@@ -11,5 +11,3 @@ const globalEvents = {
|
||||
storeChanged: "storeChanged",
|
||||
error: "error",
|
||||
};
|
||||
|
||||
module.exports = globalEvents;
|
@@ -1,9 +1,7 @@
|
||||
const globalEvents = require("./globalEvents");
|
||||
import { globalEvents } from "./globalEvents";
|
||||
|
||||
const mediaKeys = {
|
||||
export const mediaKeys = {
|
||||
MediaPlayPause: globalEvents.playPause,
|
||||
MediaNextTrack: globalEvents.next,
|
||||
MediaPreviousTrack: globalEvents.previous,
|
||||
};
|
||||
|
||||
module.exports = mediaKeys;
|
@@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
export const statuses = {
|
||||
playing: "playing",
|
||||
paused: "paused",
|
||||
};
|
@@ -1,3 +1,3 @@
|
||||
module.exports = {
|
||||
export default {
|
||||
name: "tidal-hifi",
|
||||
};
|
Reference in New Issue
Block a user