Sample State - addriv/Hakuna GitHub Wiki
{
entities: {
users: {
1: {
id: 1,
name: "John Doe",
email: "[email protected]"
}
},
teams: {
1: {
id: 1,
name: "App Academy",
lead_id: 3,
member_ids: [4,1,2]
}
},
projects: {
4: {
id: 4,
name: "Chess",
lead_id: 9,
member_ids: [5,6,7],
task_ids: [1,4,8],
public: true
}
},
tasks: {
id: 1,
title: "Add Pieces class"
description: "Finish code to implement pieces"
assignee_id: 5
public: true
}
},
session: {
current_user: {
id: 1,
name: "John Doe"
email: "[email protected]"
}
},
ui: {
loading: false,
display: {
nav: true,
tasks_index: true,
tasks_form: false
}
},
errors: {
login: null
}
}