summaryrefslogtreecommitdiff
path: root/client/actions/index.js
blob: 0a163aed5d7c677ae86fbc3dbf172c41f6760d78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export const audioPlayFile = (file) => ({
  type: 'AUDIO_PLAY_FILE',
  file: file
})

export const audioPause = () => ({
  type: 'AUDIO_PAUSE',
})

export const setContent = (content) => ({
  type: 'SET_CONTENT',
  file: content
})

export const setStyle = (style) => ({
  type: 'SET_STYLE',
  file: style
})

export const setAlpha = (alpha) => ({
  type: 'SET_ALPHA',
  alpha,
})

export const createTask = () => ({
  type: 'CREATE_TASK',
})

export const addTask = () => ({
  type: 'ADD_TASK',
})