Sample State - parfittchris/kungfulu GitHub Wiki

{ 
  entities: {
    users: {
      1: {
        id: 1,
        name: "Chris Parfitt",
        email:  "[email protected]",
        favorites: [1,8,14]
      },
      2: {
        id: 2,
        name: "Elon Musk",
        email:  "[email protected]",
        favorites: [2,11,7]
      },
      3: {
        id: 3,
        name: "The Exterminator",
        email: "[email protected],
        favorites: []
      }
    },
    movies: {
      14: {
        id: 14,
        title: "Shanghai Knights,
        year: 2003,
        rating: 5,
        description: "KungFu meets the wild west",
        video_url: "www.kungfulu.com/shanghaiKnights"
        category_ids: [1,2]
      },
    },
    shows: {
      7: {
        id: 7,
        title: "Seinfeld",
        year: 1992,
        rating: 10,
        description: "Jerry Seinfeld's personal Show",
        video_url: "www.kungfulu.com/seinfeld"
        season_ids: [1,2,3,4,5,6,7,8,9]
        category_ids: [3,7]
      },
    },
    seasons: {
      1: {
        id: 1,
        number: 6,
        episode_ids: [1,2,3,4,5,7,8,9]
      }
    },
  episodes: {
      1: {
        id: 1,
        title: "The Soup Nazi",
        number: 1,
        description: "Elaine can't buy soup.",
        video_url: "www.kungfulu/seinfeld/season4/episode1",
        season_id: 4,
        show_id: 7,
      }
    },
 categories: {
      4: {
        id: 4
        name: "Comedy",
        show_ids: [7],
        movie_ids: [3],
     }
   }
  ui: {
    loading: true/false
  },
  errors: {
    login: ["Incorrect username/password combination"],
  },
  session: { currentUserId: 17 }
}
⚠️ **GitHub.com Fallback** ⚠️