{ entities: {
users: {
byId:{ 1:{id: 1, first_name: "Jeff", last_name: "Party", profile_img: "dummyurl" },
2:{id: 2, first_name: "Foo", last_name: "Bar", profile_img: "blahurl"},
3:{id: 3, first_name: "Bar", last_name: "Foo", profile_img: "someurl", cover_img: "coverurl", bio:
"awesome guy", location: "somewhere", gender: "male"}
},
allIds: [1, 2, 3],
}
posts: {
byId:{ 1: {id: 1, author_id: 1, receiver_id: 1, content: "Having a great day!", like_ids: [2]},
2: {id: 2, author_id: 1, receiver_id: 2, content: "great question!"}, like_ids: [1]},
3: {id: 3, author_id: 2, receiver_id: 3, content: "the shakshukah was amazing", like_ids: [] },
4: {id: 4, author_id: 3, receiver_id: 3, content: "this github text editor is horrendous", like_idsS:
[]},
},
allIds: [1,2,3,4],
},
comments: {
byId:{ 1: { id:1, author_id: 3, post_id: 3, content: "kevin mccalls knows how to make some good shakshukah"},
allIds: [1],
},
likes: {
byId:{ 1: {id: 1, user_id: 2, post_id: 2},
2: {id: 2, user_id: 2, post_id: 1},
},
allIds: [1, 2],
},
friend_requests: {
byId: { 1: {id:1, requester_id: 2}},
allIds: [1]
}
},
session: {
id: 1
},
ui: {
loading: true/false
},
errors: {
session: [],
posts: [],
comments: []
},
}