client/src/actions/syncActions.js
changeset 129 d48946d164c6
child 130 78246db1cbac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/actions/syncActions.js	Fri Jul 28 19:40:35 2017 +0200
@@ -0,0 +1,14 @@
+import * as types from '../constants/actionTypes';
+
+export const updateLastSync = (timestamp) => {
+  return {
+    type: types.SYNC_SET_LAST_SYNC,
+    value: timestamp
+  }
+}
+
+export const endSynchronize = () => {
+  return {
+    type: types.SYNC_END_SYNC
+  }
+}