diff options
Diffstat (limited to 'modern/src/actions')
-rw-r--r-- | modern/src/actions/index.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modern/src/actions/index.js b/modern/src/actions/index.js new file mode 100644 index 00000000..55278108 --- /dev/null +++ b/modern/src/actions/index.js @@ -0,0 +1,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 +}) |