Created
August 3, 2016 14:25
-
-
Save jaeko44/ac37003be0aaf7a08ef7c740d7a0af3c to your computer and use it in GitHub Desktop.
Data for My Account, Contacts & Channels joined
This file contains 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
function getId() { | |
return ++id; | |
} | |
let myAccount = { | |
id: getId(), | |
firstName: 'Jonathan', | |
lastName: 'Philipos', | |
email: 'jonathan@det.io', | |
phoneNumber: '867-5309', | |
isOnline: 'online', | |
icon: 'face5.ico' | |
} | |
let contacts = [ | |
{ | |
id: getId(), | |
firstName: 'John', | |
lastName: 'Tolkien', | |
email: 'tolkien@inklings.com', | |
phoneNumber: '867-5309', | |
isOnline: 'online', | |
unreadMsgs: 0, | |
icon: 'face.ico' | |
}, | |
{ | |
id: getId(), | |
firstName: 'Clive', | |
lastName: 'Lewis', | |
email: 'lewis@inklings.com', | |
phoneNumber: '867-5309', | |
isOnline: 'online', | |
unreadMsgs: 4, | |
icon: 'face2.ico' | |
}, | |
{ | |
id: getId(), | |
firstName: 'Owen', | |
lastName: 'Barfield', | |
email: 'barfield@inklings.com', | |
phoneNumber: '867-5309', | |
isOnline: 'offline', | |
unreadMsgs: 0, | |
icon: 'face3.ico' | |
}, | |
{ | |
id: getId(), | |
firstName: 'Charles', | |
lastName: 'Williams', | |
email: 'williams@inklings.com', | |
phoneNumber: '867-5309', | |
isOnline: 'away', | |
unreadMsgs: 1, | |
icon: 'face4.ico' | |
}, | |
{ | |
id: getId(), | |
firstName: 'Roger', | |
lastName: 'Green', | |
email: 'green@inklings.com', | |
phoneNumber: '867-5309', | |
isOnline: 'offline', | |
unreadMsgs: 0, | |
icon: 'face5.ico' | |
} | |
]; | |
id = 0; | |
let channels = [ | |
{ | |
id: getId(), | |
channelName: 'General' | |
}, | |
{ | |
id: getId(), | |
channelName: 'Development' | |
}, | |
{ | |
id: getId(), | |
channelName: 'Design' | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment