-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sam Handelsman edited this page Jul 27, 2023
·
2 revisions
store = {
session: {},
groups: {
allGroups: {
[groupId]: {
groupData,
},
optionalOrderedList: [],
},
singleGroup: {
groupData,
GroupImages: [imagesData],
Organizer: {
organizerData,
},
Venues: [venuesData],
},
},
events: {
allEvents: {
[eventId]: {
eventData,
Group: {
groupData,
},
Venue: {
venueData,
},
},
},
// In this slice we have much more info about the event than in the allEvents slice.
singleEvent: {
eventData,
Group: {
groupData,
},
// Note that venue here will have more information than venue did in the all events slice. (Refer to your API Docs for more info)
Venue: {
venueData,
},
EventImages: [imagesData],
// These would be extra features, not required for your first 2 CRUD features
Members: [membersData],
Attendees: [attendeeData],
},
},
};