Sample State - kyunas96/yetis-list GitHub Wiki

{
  entities: {
    playlists:{
      1: {
        id: 1,
        title: "Sunset jammin",
        posterId: 25,
        songs: [4, 12 ,532, 123]
        }
      },
      2: {
        id: 2,
        description: "Skyline to heaven",
        posterId: 99,
        songs: [5432 , 43, 1543]
      }
    },
    users: {
      1: {
        id: 1,
        username: "goldenhour"
      },
      2: {
        id: 2,
        username: "vinylOnly"
      }
    },
    likes: {
      1: {
        id: 1,
        playlistId: 5,
        likerId: 7
      },
      2: {
        id: 2,
        playlistId: 9,
        likerId: 20
      }
    },
    comments: {
      1: {
        id: 1,
        playlistId: 1,
        commenterId: 2,
        commentText: "Nice jams"
      },
      2: {
        id: 2,
        playlistId: 2,
        commenterId: 2,
        commentText: "Is that Led Zepp???"
      }
    }

  },
  ui: {
    loading: true/false,
    currentPlaylist: 432
  },
  errors: {
    login: ["Incorrect username/password combination"],
    playlistForm: ["Playlist description cannot be blank", "Playlist must contain an image"]
  },
  session: {
    { 
      currentUserId: 25
    }
  }
}