aboutsummaryrefslogtreecommitdiff
path: root/modern/src/actions/index.js
blob: 55278108b52cadffb4a38cf9bd071588929672b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export const updateDevices = devices => ({
  type: 'UPDATE_DEVICES',
  devices
})

export const updatePositions = positions => ({
  type: 'UPDATE_POSITIONS',
  positions
});

export const updateEvents = events => ({
  type: 'UPDATE_EVENTS',
  events
})

export const selectDevice = device => ({
  type: 'SELECT_DEVICE',
  device
})