sample state - Rmark92/Soundstorm GitHub Wiki
{ entities: {
tracks: {
1: { id: 1,
title: 'Mirror Maru',
url: 'http://sample_track_url',
trackImageURL: 'http://cool_track_artwork',
commentIds: [1, 2],
artistId: 2
}
},
comments: {
1: { id: 1,
body: 'Dope',
authorId: 1
},
2: { id: 2,
body: 'Fire',
authorId: 1
}
},
users: {
1: { id: 1,
name: 'Ryan',
profileURL: 'http://cool_pic',
backgroundImageURL: 'http://cool_background_pic',
trackIds: [],
commentIds: [1, 2]
},
2: { id: 2,
name: 'Cashmere Cat',
profileURL: 'http://another_cool_pic',
backgroundImageURL: 'http://another_cool_background_pic',
trackIds: [1],
commentIds: []
}
},
errors: {
commentForm: [],
sessionForm: ['Invalid credentials],
trackForm: []
},
session: {
id: 1
},
ui: {
currentTrack: 1
}
}