Sample State Shape - darrenyong/aprtr GitHub Wiki

{
  entities: {
    users: {
      44: {
        id: 44,
        username: "darrenyong",
        email: "[email protected]"
      },
      83: {
        id: 83,
        username: "dean",
        email: "[email protected]"
      },
      51: {
        id: 51,
        username: "youngSubway",
        email: "[email protected]"
      },
      27: {
        id: 27,
        username: "majesticHusky",
        email: "[email protected]"
      }
    },
    photos: {
      66: {
        id: 66,
        title: "Where the Sky is Torn Asunder",
        description: "The morning sun sprayed orange across the top of Fitz Roy.",
        userId: "83"
      },
      33: {
        id: 33,
        title: "A Razor to the Sky",
        description: "I woke up around 4:30 AM with -7 Celsius temperatures. It was bitter cold.",
        userId: "83"
      },
      37: {
        id: 37,
        title: "Abandoned mansion",
        description: "My second home",
        userId: "51"
      },
      76: {
        id: 76,
        title: "My Husky",
        description: "",
        userId: "27"
      }
    },
    albums: {
      29: {
        id: 29,
        title: "Naturally",
        description: "",
        userId: "83",
      }
    },
    comments: {
      74: {
        id: 74,
        body: "Wow! Great work",
        userId: "51",
        photoId: "66"
      },
      26: {
        id: 26,
        body: "Just breathtakingly taken, congratulations!",
        userId: "44",
        photoId: "33"
      },
      40: {
        id: 40,
        body: "Great shot where is this building",
        userId: "27",
        photoId: "37"
      },
    },
    tags: {
      25: {
        id: 25,
        name: "landscape"
      },
      33: {
        id: 33,
        name: "abandoned"
      },
      61: {
        id: 61,
        name: "husky"
      }
    },
    albumPhotos: {
      59: {
        id: 59,
        albumId: "29",
        photoId: "66"
      },
      59: {
        id: 59,
        albumId: "29",
        photoId: "33"
      }
    },
    photoTags: {
      98: {
        id: 98,
        photoId: "66",
        tagId: "25"
      },
      90: {
        id: 90,
        photoId: "33",
        tagId: "25"
      },
      88: {
        id: 88,
        photoId: "37",
        tagId: "33"
      },
      77: {
        id: 77,
        photoId: "76",
        tagId: "61"
      }
    }
  },
  ui: {
    loading: true/false
  },
  errors: {
    login: ["Incorrect username/password combination"],
    usernameForm: ["Username can't be blank", "Password can't be blank"],
    albumForm: ["Title can't be blank"],
    commentForm: ["Body can't be blank"]
  },
  session: { currentUserId: 44 }
}