import { Factory } from 'ember-cli-mirage';

export default Factory.extend({
  // ID is in the format senderID_receiverID
  id: "12345_456",
  participants: [
    {
      id: 12345,
      username: "twitch",
      display_name: "twitch",
      color: "#2E8B57",
      user_type: "",
      turbo: false
    },
    {
      id: 456,
      username: "friend",
      display_name: "friend",
      color: "",
      user_type: "",
      turbo: false
    }
  ],
  last_message: {
    id: 1,
    thread_id: "12345_456",
    body: "test message",
    sent_ts: 1460564658,
    from_id: 12345,
    tags: {
      login: "twitch",
      display_name: "twitch",
      color: "#2E8B57",
      user_type: "",
      spam: "low",
      turbo: false,
      emotes: []
    }
  },
  last_updated: 1460564658,
  archived: false,
  muted: false,
  spam_info: {
    last_marked_not_spam: 0,
    likelihood: "low"
  }
});
