Sample State - laamp/Conduit GitHub Wiki
{
entities: {
users: {
100: {
id: 100,
name: "First Last Name",
email: "[email protected]",
password: "$2a$10$C8grQ4GVwFfCfO2SWk6O6OxYcaZlFi7.83EyAhZR6a7f2n8e5iys.",
role: "Job title",
photo: "someurl.com/477322"
projects: [
1000, 1001, 1002
],
tasks: [
10000, 10001, 10002
],
assignedTasks: [
10001, 10003
],
date: "August 28th, 2019"
}
},
projects: {
1001: {
id: 1001,
title: "Project title",
description: "This project's description",
tasks: [
10000, 10002
],
owner: 100,
date: "August 30th, 2019"
}
},
tasks: {
10003: {
id: 10003,
title: "Task title",
description: "This tasks description",
completed: false,
project: 1001,
assignees: [
100, 104
],
owner: 100,
date: "September 2nd, 2019"
}
},
errors: {
session: [
"Password incorrect"
],
project: [
"Invalid field"
]
},
session: {
currentUser: 100,
loading: true || false
}
}
}