client/src/store/userRecord.js
author ymh <ymh.work@gmail.com>
Mon, 26 Jun 2017 16:05:47 +0200
changeset 88 2a861fed6bde
parent 67 9206af01f5e5
child 132 906a6c7c7943
permissions -rw-r--r--
Deauthenticate user if refresh was not possible (session expired or total delta reached)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
67
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import Immutable from 'immutable';
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
export default Immutable.Record({
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  pk: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  username: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  email: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
  first_name: '',
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  last_name: ''
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
9206af01f5e5 Change to UserRecord
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
}, 'User');