-
Notifications
You must be signed in to change notification settings - Fork 0
Store State Shape
Daniel Somorov edited this page Aug 25, 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,
},
},
},
singleEvent: {
eventData,
Group: {
groupData,
},
Venue: {
venueData,
},
EventImages: [imagesData],
Members: [membersData],
Attendees: [attendeeData],
},
},
};