-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
Schploink edited this page Jun 1, 2021
·
3 revisions
{
entities: {
sounds: {
1: {
id: 1,
description: "my cousins dog made a mixtape",
uploaderId: 12,
url: "/sounds/dogz"
},
2: {
id: 2,
description: "my cousins best friends moms dog made a mixtape",
uploaderId: 15,
url: "/sounds/momzdogz"
},
3: {
id: 3,
description: "my mixtape",
uploaderId: 12,
url: "/sounds/dawg"
}
},
users: {
11: {
id: 12,
username: "schploink",
},
25: {
id: 15,
username: "actual_garbage",
}
},
comments: {
1: {
id: 1,
userId: 12,
soundId: 1,
commentText: "good dog",
}
},
},
ui: {
loading: true/false,
modal: true/false
},
errors: {
login: ["Incorrect username/password combination"],
},
session: { currentUserId: 15 }
}