Created
October 15, 2015 01:55
-
-
Save antonycourtney/3fa5dfa279614f2601a2 to your computer and use it in GitHub Desktop.
oneref-chat Message as Immutable Record
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Message = Immutable.Record({ | |
id: '', | |
threadID: '', | |
threadName: '', | |
authorName: '', | |
text: '', | |
date: new Date(), | |
isRead: false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment