{
entities: {
users: {
1: {
id: 1,
userName: 'spike',
firstName: 'firstname',
lastName: 'lastname',
birthday: 'birthday',
lastActivityId: "routeId",
profilePic: "url",
routeIds: [
1, 2, 3, 4
]
},
2: {
id: 2,
userName: 'jet',
firstName: 'firstname',
lastName: 'lastname',
birthday: 'birthday',
lastActivityId: "routeId",
profilePic: "url",
routeIds: [
5, 6
]
},
3: {
id: 3,
userName: 'ed',
firstName: 'firstname',
lastName: 'lastname',
birthday: 'birthday',
lastActivityId: "routeId",
profilePic: "url",
routeIds: [
7, 8
]
}
},
routes: {
1: {
id: 1,
userId: 2,
title: "title",
type: "bike",
date: 2017,
startTime: 1630,
endTime: 1730,
distance: 10000,
elevation: 500,
map: "url",
photoIds: [
1, 2, 3, 4
],
commentIds: [
1, 2, 3, 4
]
},
2: {
id: 2,
userId: 1,
title: "title2",
type: "run",
date: 2017,
startTime: 1630,
endTime: 1730,
distance: 10000,
elevation: 500,
map: "url",
photoIds: [
8, 29, 7, 11
],
commentIds: [
5, 6, 8, 9
]
}
},
photos: {
1: {
id: 1,
url: "url",
authorId: "id",
routeId: "routeId"
},
2: {
id: 2,
url: "url",
authorId: "id",
routeId: "routeId"
}
},
comments: {
1: {
id: 1,
body: "comment body",
authorId: "id",
routeId: "routeId"
},
2: {
id: 2,
body: "comment body",
authorId: "id",
routeId: "routeId"
}
}
},
ui: {
loading: true/false
},
errors: {
login: ["Invalid combination"],
activityForm: [""]
},
session: { id: 42 }
};