client/src/store/noteRecord.js
author ymh <ymh.work@gmail.com>
Thu, 20 Jul 2017 11:23:08 +0200
changeset 124 c77570164050
parent 78 49c5ea36d0a4
child 129 d48946d164c6
permissions -rw-r--r--
implement soft delete and indicator that session and notes have been modiied

import Immutable from 'immutable';

export default Immutable.Record({
  _id: '',
  session: '',

  plain: '',
  raw: {},
  html: '',

  startedAt: '',
  finishedAt: '',

  categories: [],

  marginComment: '',
  deleted: false,
  modified: true
}, 'Note');