-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
OcramT edited this page Mar 21, 2021
·
14 revisions
entities: {
users: {
1: {
id: 1,
username: "ocramT",
email: "mtorre@gmail.com",
completed_meditations: [1, 4 , 6, 2]
},
2: {
id: 2,
username: "aweil",
email: "thegr8weil@earthlink.net",
completed_meditations: [2, 19 , 3, 51]
},
},
meditations: {
1: {
id: 17,
title: "Managing Anxiety",
duration: "15",
category: "Happiness",
},
2: {
id: 6
title: "Coping With Cravings",
duration: "20",
category: "Health",
}
},
packs: {
1: {
title: "Anxiety Pack",
category: "Happiness",
meditationIds: [2, 4, 1, 5, 6]
},
2: {
title: "Basics 3",
category: "Foundations",
meditationIds: [8, 3, 12, 3, 7, 10, 9]
},
myPacks: {
1: {
title: "My Confidence Pack 1",
userId: 2
},
2: {
title: "Marco's Meditations on Fear",
meditationIds: 1
},
},
errors: {
login: ["Incorrect login information."],
},
session: { currentUserId: 2 }
}