Sample State Shape - HiThereImCam/Busque GitHub Wiki
{
entities: {
users: {
3: {
username: "TheSaxMan",
email: "[email protected]",
performerType: "Saxophone. That's definitely a type.",
bio: "Saxophone",
imageUrl: "tiny.url/1234",
venuesCreated: [
ObjectId("4a1h3m42a5b9d4i9dc405l721"),
ObjectId("b9x2m45a5b7h7e3ml403a091"),
ObjectId("1k3b5f87x5s6c7i2mp814g524")
],
comments: [
ObjectId("4a1h3m42a5b9d4i9dc405l721"),
ObjectId("b9x2m45a5b7h7e3ml403a091"),
ObjectId("1k3b5f87x5s6c7i2mp814g524")
],
ratings: [
ObjectId("4a1h3m42a5b9d4i9dc405l721"),
ObjectId("b9x2m45a5b7h7e3ml403a091"),
ObjectId("1k3b5f87x5s6c7i2mp814g524")
]
}
},
venues: {
2: {
latitude: 0,
longitude: 0,
type: "a type",
available: true,
comments: [
ObjectId("4a1h3m42a5b9d4i9dc405l721"),
ObjectId("b9x2m45a5b7h7e3ml403a091"),
ObjectId("1k3b5f87x5s6c7i2mp814g524")
],
ratings: [
ObjectId("4a1h3m42a5b9d4i9dc405l721"),
ObjectId("b9x2m45a5b7h7e3ml403a091"),
ObjectId("1k3b5f87x5s6c7i2mp814g524")
]
}
},
ratings: {
6: {
rating: 3.5
userId: 4
},
12: {
rating: 1
userId: 5
}
},
comments: {
4: {
comment: "Cool stuff!"
userId: 14
}
},
userComments: {
},
userRatings: {
},
venueComments: {
},
venueRatings: {
}
},
errors: {
login: ["User can't be found"]
},
session: {
currentUserId: 12
}
}