-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
le-s edited this page Jan 2, 2019
·
2 revisions
{
entities: {
users: {
1: {
id: 1,
email: 'sle@gmail.com',
username: 'sle'
},
2: {
id: 2,
email: 'jdoe@gmail.com',
username: 'joedohn'
}
},
fups: {
1: {
id: 1,
userId: 2,
body: "I got into a car accident today. #car #accident",
author: "ClumsyKoala",
votes: 5
},
2: {
id: 2,
userId:2,
body: "I walked into a pole today. I am #clumsy",
author: "KickingKangaroo",
votes: 10
}
},
dataAnalytics: {
1: {
id: 1,
userId: 2,
category: ["driving", "clumsy"]
}
}
},
errors: {
login: ["Incorrect credentials"],
bodyField: ["Please input between 25 and 280 characters"]
},
session: { currentUserId: 1 }
}