Add a first version of synchronisation
Remove redux-offline dependency
make the redux state fully immutable
TODO: better error management
TODO: make syncronization work automatically
import Immutable from 'immutable';
import { ActionEnum } from '../constants';
export default Immutable.Record({
_id: '',
session: '',
plain: '',
raw: {},
html: '',
startedAt: '',
finishedAt: '',
categories: [],
marginComment: '',
action: ActionEnum.NONE
}, 'Note');