client/src/actions/syncActions.js
author ymh <ymh.work@gmail.com>
Mon, 03 Sep 2018 11:57:58 +0200
changeset 153 de8d18c8251d
parent 130 78246db1cbac
permissions -rw-r--r--
Remove reference to bootstrap-sass after migration to bootstrap 4

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
  }
}

export const startSynchronize = () => {
  return {
    type: types.SYNC_START_SYNC
  }
}