-
Notifications
You must be signed in to change notification settings - Fork 38
Sample State
Ori Ravid edited this page Dec 10, 2020
·
10 revisions
{
entities: {
artists: {
1: {
id: 1,
name: "Smashmouth",
bio: "A novelty rock band in the same vein as Presidents of the United States of America, but with surf and garage influences instead of the Presidents' punk\/thrash background, Smash Mouth found a hit in 1997 with the '50s-influenced \"Walkin' on the Sun.\"",
},
2: {
id: 2,
name: "Rick Astley",
bio: "With his rich baritone voice and memorable hooks, singer Rick Astley was a pop sensation in the late 1980s and, thanks to the internet prank known as “rickrolling,” a cultural phenomenon in the 2000s.",
},
},
albums: {
1: {
id: 1,
artistId: 1,
title: "Astro Lounge",
genre: "Alternative",
releaseDate: "06/08/1999",
description: "Astro Lounge is the second studio album by the American rock band Smash Mouth, released on June 8, 1999 by Interscope Records. It includes the single \"All Star\", arguably the group's most well-known song, which reached number 4 on the US Billboard Hot 100. Three other singles were released from the album, including \"Waste\" and \"Then the Morning Comes\".",
},
2: {
id: 2,
artistId: 2,
title: "Whenever You Need Somebody",
genre: "Pop",
releaseDate: "12/08/1987",
description: "Whenever You Need Somebody is the debut studio album by English singer Rick Astley. It was released on 16 November 1987 on RCA Records.",
},
},
songs: {
1: {
id: 1,
albumId: 1,
title: "Who's There",
trackNumber: 1,
playCount: 129,
},
2: {
id: 2,
albumId: 1,
title: "Diggin' Your Scene",
trackNumber: 2,
playCount: 43,
},
3: {
id: 3,
albumId: 2,
title: "Never Gonna Give You Up",
trackNumber: 1,
playCount: 412231321,
},
4: {
id: 4,
albumId: 2,
title: "Whenever You Need Somebody",
trackNumber: 2,
playCount: 26,
},
},
playlists: {
1: {
id: 1,
userId: 1,
title: "Ori's Pool Party Bash Good Vibes Only Sometimes",
},
},
},
music: {
currentTrack: null,
index: 0,
loop: false,
on: false,
playedIndecies: [],
playing: false,
queue: [],
shuffle: false,
},
ui: {
modal: {
modal: "signin",
data: undefined
},
},
errors: {
session: ["Invalid Credentials"],
},
session: {
currentUser: { id: 1, username: "demo" }
},
}