Sample State - aishnair22/aura-beauty GitHub Wiki
{
entities: {
products: {
1: {
id: 1,
name: "Soft Pinch Liquid Blush",
description: "A weightless, long-lasting liquid blush.",
details: "Available in matte and dewy finishes.",
ingredients: "Hydrogenated Polyisobutene, Hydrogenated Poly(C6-14 Olefin), etc...",
how_to_use: "Use the doe-foot applicator and place 1-2 dots on each cheek.",
price: 20,
category: "Face"
}
},
categories: {
2: {
id: 2,
name: "Face"
}
},
cartItems: {
1: {
id: 1,
productId: 1,
cartId: 1,
quantity: 2
},
2: {
id: 2,
productId: 1,
cartId: 15,
quantity: 1
}
}
},
errors: {
session: ["Incorrect email/password combination"]
},
session: {
currentUser: {
id: 1,
firstName: "Jane",
lastName: "Smith",
email: "[email protected]"
},
currentCart: {
id: 1,
user_id: 1
}
}
}