mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
16 lines
305 B
TypeScript
16 lines
305 B
TypeScript
const prefix = 'PLAYER.';
|
|
|
|
export const PLAYER_ACTIONS = {
|
|
SET_FILE: `${prefix}SET_FILE`,
|
|
SET_STATUS: `${prefix}SET_STATUS`,
|
|
|
|
PLAY: `${prefix}PLAY`,
|
|
PAUSE: `${prefix}PAUSE`,
|
|
SEEK: `${prefix}SEEK`,
|
|
};
|
|
|
|
export const PLAYER_STATES = {
|
|
PLAYING: 'PLAYING',
|
|
PAUSED: 'PAUSED',
|
|
UNSET: 'UNSET',
|
|
};
|