Sample State - juniprs/gat-mcprath GitHub Wiki

{
    entities: {
        users: {
            1: {
                id: 1,
                email: '[email protected]'
            },
            2: {
                id: 2,
                email: '[email protected]'
            }
        },
        
        products: {
            1: {
                id: 1,
                name: 'MINI SMOKEY EYE DUO',
                description: 'A glamorous gaze on the go starts with this eye-conic duo of signature essentials, starring the anti-gravity lifting Mini Dark Star Mascara and ultimate liner PermaGel Ultra Glide Eye Pencil. This travel-sized twosome lines and defines eyes with ease: one stroke of mascara coats lashes in weightless pitch-black micro-fine crème pigments, instantly volumising and creating a dramatically fanned-haute look; the \'XTREME BLACK\' Eye Pencil draws precise lines easily without skipping. Lavish your eyes like a legend.',
                price: 25,
                category_id: 1,
                img_url: 'https://cdn.shopify.com/s/files/1/1463/9662/files/PMG_112520_MINISMOKYEYEKIT_SEPHORA_HERO.jpg?v=1620232876'
            },
            2: {
                id: 2,
                name: 'BLITZTRANCE LIPSTICK',
                description: 'Strut, sashay and shimmy from daytime to discothèque in a full-coverage, couture-creme lipstick infused with provocative pigments and ultra-reflective pearls. This electrifyingly elegant lipstick delivers a haute yet hi-fi glow suspended in the tantalizing texture of an emollient-infused formula. Lavish your lips in très sophistiquée shades ranging from notoriously nude pinky beiges, peaches and warm neutrals to timeless-classic red and berry. Preen and pout with star-struck pigments that glide on flawlessly, releasing a beaming blast of one-stroke, hypnotic colour. Tempt as you transform lips into a multifaceted masterpieces destined to shimmer all-night strong.',
                price: 38,
                category_id: 2,
                img_url: 'https://cdn.shopify.com/s/files/1/1463/9662/products/PMG_BLITZTRANCE-EXT_CARTON_LOVETRAIN.jpg?v=1556731327'
            }
        },
        carts: {
            1: {
                id: 1,
                user_id: 1,
                cart_items_id: [1]
            },
            2: {
                id: 2,
                user_id: 2,
                cart_item_id: [2, 2, 2, 2]
            }
        }
  
    },
    
    ui: {
        loading: true/false
    },

    errors: {
        login: ['Incorrect email/password combination. Please try again.']
    },

    session: {
        currentUserId: 1
    }
}