Redux State Shape - jrchew15/nah-sana GitHub Wiki

{
    "session": {
         "currentUser": {
            "id": 1,
            "firstName": "John",
            "lastName": "Doe",
            "role": "role_name",
            "email": "[email protected]",
            "image": "image_url.jpg",
            "pronouns": "they/them/their",
            "department": "department_name",
            "Workspaces": {
                "1": {
                    "id": 1,
                    "name": "workspace_name"
                }
            }
        }
    },
    "workspace": {
        "id": 1,
        "name": "workspace_name",
    },
    "projects": {
        "1":{
            "id":1
            "workspace_id":1,
            "name": "project_name",
            "status": "On Track",
            "due_date": "09/17/2022,
            "description": "project_description",
            "icon": "icon_img.jpg"
        }
    },
    "users": {
        "1": {
            "id": "1",
            "firstName": "Demo",
            "lastName": "User",
            "email": "[email protected]",
            "role": "lead",
            "image": "sample.html",
            "pronouns": "she/her/hers",
            "department": "RD"
        }
    },
    "tasks": {
        "1": {
            "id": 1,
            "user_id": 1,
            "project_id": 1,
            "due_date": "09/17/2022",
            "description": "Do the thing",
            "complete": false
        }
    }
}