Sample State - lisuzanne94/soundCRUD GitHub Wiki
{
entities: {
users: {
12: {
id: 12,
username: "givemefood"
},
23: {
id: 23,
username: "ilovepotatoes",
},
99: {
id: 99,
username: "teddypup",
}
},
tracks: {
2: {
id: 2,
title: "Shiki No Uta",
uploaderId: 12
},
35: {
id: 35,
title: "Numb",
uploaderId: 37
},
76: {
id: 76,
title: "Rolling Star",
uploaderId: 91
}
},
comments: {
5: {
id: 5,
body: "lOvE tHiS sOnG!!"
commenterId: 23,
trackId: 57
},
55: {
id: 55,
body: "Best song from Bleach, hands down."
commenterId: 6,
trackId: 76
},
89: {
id: 89,
body: "tbt!!!",
commenterId: 88,
trackId: 2
}
}
},
ui: {
loading: false,
continuousPlayer: true
}
session: {
currentUserId: 12
},
errors: {
login: ["Check your login credentials and try again."],
trackForm: ["Title cannot be blank."],
comment: ["Comment cannot be empty."]
}
}