Sample State - HelloPancake/Groove GitHub Wiki
{
entities: {
users: {
1: {
id: 1,
username: 'Jack',
email: '[email protected]',
authoredPostIds: [...],
authoredComments: [...],
likedPostIds: [...],
profilePicUrl: 'image.com',
},
},
posts: {
7: {
id: #,
authorId: #,
body: 'hello',
likedIds: [...],
commentIds: [...],
},
comments: {
10: {
id: #,
postId: #,
authorId: #,
body: '...',
},
},
errors: {
session: ["Invalid Password/Username"]
},
session: {
currentUserId: 4
}
},