entities: {
events: {
1: {
id: 1,
title: "party like its 1999",
category_id: 11,
location: "san francisco, ca",
description: "greatest show on mars",
event_img_url: "fake.com/4.jpg,
rsvp_by_current_user: true,
bookmarked_by_current_user: true,
price: 100,
start_date: "02122018",
end_date: "02122018",
organizer: "Jan"
},
2: {
id: 2,
title: "bluebirds like blueberries",
category_id: 11,
location: "atlanta, ga",
description: "greatest show on earth",
event_img_url: "fake.com/5.jpg,
rsvp_by_current_user: false,
bookmarked_by_current_user: true,
price: 10000,
start_date: "02122018",
end_date: "02122018",
organizer: "Pamela"
}
},
users: {
11: {
id: 23,
email: "[email protected]",
first_name: "Joe",
last_name: "Momma",
img_url: "fake.com/pic1.jpg"
}
23: {
id: 47,
email: "[email protected]",
first_name: "Jack",
last_name: "Stack",
img_url: "fake.com/pic2.jpg"
}
}
},
rsvp: {
ticket_id: 3
ticket_quantity: 2,
price: 1000,
},
category: {
category_id: 23,
name: "food and drink",
},
ui: {
loading: true/false
},
errors: {
login: ["Incorrect credentials"],
eventForm: ["Event title cannot be blank"],
},
session: {
currentUser: {
id: 57,
email: "[email protected]",
img_url: "fake.com/3.jpg"
}
}
}