Sample State - absterr08/slap GitHub Wiki

entities: {
  channels: {
    193: {id: 193, name: "11-06-2017-nyc", description: "Welcome to Slap Academy!", channelType: "Channel",}
    194: {id: 194, name: "general", description: "This channel is for team-wide communication and announcements.", channelType: "Channel",}
    195: {id: 195, name: "random", description: "A place for non-work-related slap chats.", channelType: "Channel",}
    196: {id: 196, name: "slap-talk", description: "Hand in your best slap-related puns", channelType: "Channel",}
    },
  dms: {
    67: {id: 67, channelType: "Dm", users: Array(2), messages: Array(1)}
    68: {id: 68, channelType: "Dm", users: Array(2), messages: Array(1)}
    },
  messages: {
    460: {id: 460, body: "the best debugger is a good night's sleep.", author_id: 407, messageable_id: 193, messageable_type: "Channel", …}
    461: {id: 461, body: "lol never heard of it", author_id: 408, messageable_id: 193, messageable_type: "Channel", …}
    462: {id: 462, body: "ya what package is that?", author_id: 409, messageable_id: 193, messageable_type: "Channel", …}
    463: {id: 463, body: "everybody check in!!??", author_id: 414, messageable_id: 193, messageable_type: "Channel", …}
    473: {id: 473, body: "test", author_id: 420, messageable_id: 193, messageable_type: "Channel", …}
    475: {id: 475, body: "hello", author_id: 422, messageable_id: 193, messageable_type: "Channel", …}
    482: {id: 482, body: "hello", author_id: 427, messageable_id: 193, messageable_type: "Channel", …}
    518: {id: 518, body: "sample msg", author_id: 468, messageable_id: 193, messageable_type: "Channel", …}
    519: {id: 519, body: "howdy", author_id: 472, messageable_id: 193, messageable_type: "Channel", …}
    },
  users: {
    407: {id: 407, username: "absterr08", img_url: "6"}
    408: {id: 408, username: "jRudell22", img_url: "7"}
    409: {id: 409, username: "d_Og55", img_url: "4"}
    410: {id: 410, username: "bman86", img_url: "3"}
    411: {id: 411, username: "sunnyBunny", img_url: "8"}
    412: {id: 412, username: "mauricio12", img_url: "9"}
    },
  },
session: {
  currentUser: {id: 501, username: "guest419", img_url: "6", defaultChannel: 193}
  },
ui: {
  currentChannel: {type: "Channel", id: 193}
  searchedUsers: []
  searchedChannels: []
  subscribedChannels: (5) [193, 194, 195, 196, 197]
  defaultChannel: 193
  modals: {newChannel: false, newDM: false, channelSearch: false}
  ,
errors: {
  session: Array(0)
  },
}