1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
vault-frontend/src/redux/player/constants.ts
2019-10-13 19:09:44 +07:00

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',
};