Sample State - slimjim49j/ViewTube GitHub Wiki

Sample State

{
  entities: {
    users: {
      1: {
        id: 1,
        firstName: "",
        lastName: "",
        email: "",
      }
    },
    channels: {
      11: {
        id: 11,
        title: "",
        description: "",
        userId: 1,
      }
    }
    videos: {
      2: {
        id: 2,
        title: "",
        description: "",
        channelId: 11,
      }
    },
    comments: {
      12: {
        id: 12,
        body:,
        channelId: 11,
        videoId: 2,
        parentCommentId: undefined,
      }
    },
    likes: {
      ?: {
        likableType: "videos",
        likableId: 22,
        likeCount: 1000,
        dislike: false,
      }
    }
  },
  session: {
    id: 23
  },
  ui: {
    uploadModal: false,
  },
  errors: {
    session: ["invalid credentials"]
  }
}