-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
Erick Santos edited this page Apr 30, 2020
·
5 revisions
{
entities: {
users: {
1: {
bio: "Just a simple farmer, nothing to see here."
email: "notSoSuper@gmail.com"
firstName: "Clark"
gender: "male"
id: 1
language: "English"
lastName: "Kent"
region: "USA"
username: "man_of_steel"
},
2: {
bio: "I am the man who can."
email: "qween@io"
firstName: "Diana"
gender: "female"
id: 2
language: "English"
lastName: "Prince"
region: "Themyscira"
username: "woman_of_wonder"
}
},
followings: {
1: {
followerId: 2,
followedId: 1
}
},
boards: {
1: {
userId: 1,
name: "Country Life",
description: "Take a look into my normal life.",
dateStart: 04-20-2020,
dateEnd: 05-01-2020
}
},
pins: {
1: {
userId: 1,
title: "Fields",
description: "Something nice to see outside",
link: ""
}
}
},
errors: {
session: ["Invalid username or password"],
pins: ["Title cannot be blank"]
},
session: {
currentUserId: 1
},
ui: {
modal: "login"
}
}