mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 13:26:40 +07:00
fetchimg video infos
This commit is contained in:
parent
1056f0ff72
commit
c74ab01927
9 changed files with 60 additions and 13 deletions
|
@ -1,6 +1,11 @@
|
|||
import { IPlayerState } from './reducer';
|
||||
import { PLAYER_ACTIONS } from './constants';
|
||||
|
||||
export const playerSet = (player: Partial<IPlayerState>) => ({
|
||||
type: PLAYER_ACTIONS.SET,
|
||||
player,
|
||||
});
|
||||
|
||||
export const playerSetFile = (file: IPlayerState['file']) => ({
|
||||
type: PLAYER_ACTIONS.SET_FILE,
|
||||
file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue