client/src/actions/syncActions.js
author ymh <ymh.work@gmail.com>
Thu, 29 Jul 2021 19:04:01 +0200
changeset 209 a01e6a4dc9d2
parent 130 78246db1cbac
permissions -rw-r--r--
Add changes for deployments

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