Sample State - lxg073000/scarab GitHub Wiki

  entities: {
    users: {
      1: {
        id: 1,
        username: "karenWarrior",
        email: "[email protected]",
      },
      2: {
        id: 2,
        username: "kevinWarrior",
        email: "[email protected]",
      },
    },
    supplyRoutes: {
      1: {
        id: 1,
        ownersID: 2,
        name: "Weapon Stockpiles",
        favorite: true,
        privacy: "colony",
      },
      2: {
        id: 2,
        ownersID: 2,
        name: "Food Stockpiles",
        favorite: true,
        privacy: "colony",
      },
    },
    segments: {
      1: {
        id: 1,
        supplyRouteID: 1,
        startPoint: 1,
        endPoint: 2,
      },
      2: {
        id: 2,
        supplyRouteID: 1,
        startPoint: 2,
        endPoint: 1,
      },
    },
    waypoints: {
      1: {
        id: 1,
        suppleRouteID: 1, 
        latitude: 40.693683,
        longitude: -73.938061,
        updatedAt: 2021-03-10 08:03:36 -0500,
      },
      2: {
        id: 2,
        suppleRouteID: 1, 
        latitude: 45.693683,
        longitude: -80.638061,
        updatedAt: 2021-03-10 09:13:45 -0500,
      },
    buggoutsDrills: {
      1: {
        id: 1,
        scarabID: 2, 
        transportation: "ATV",
        description: "Had to haul you know what to the guns, but I got a flat",
        security: 5,
        privacy: "colony",
        createdAt: 2021-03-10 09:13:45 -0500,
    },
    likes: {
      id: 1,
        bugoutID: 1, 
        likerID: 1,
        createdAt: 2021-03-15 1:44:16 -0500,
    },
    comments: {
      id: 1,
        bugoutID: 1, 
        commenterID: 1,
        body: "Are you sure you weren't followed?",
        createdAt: 2021-03-15 1:44:16 -0500,
    },
    id: 2,
        bugoutID: 1, 
        commenterID: 1,
        body: "I'm sorry, of course you weren't followed",
        createdAt: 2021-03-15 1:46:00 -0500,
    },
  },
  ui: {
    loading: false,
    modal: false,
  },
  errors: {
    login: [],
    sessionErrors: [],
    commentForm: [],
  },
  session: { currentUserID: 1 },
}