File size: 1,123 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// @flow
const constants = require('./constants');
const { DATE, BRIAN_ID, MAX_ID, BRYN_ID, PREVIOUS_MEMBER_USER_ID } = constants;

module.exports = [
  {
    id: '1',
    createdAt: new Date(DATE),
    userId: BRIAN_ID,
    threadId: 'dm-1',
    lastActive: new Date(DATE),
    lastSeen: new Date(DATE),
    receiveNotifications: true,
  },
  {
    id: '2',
    createdAt: new Date(DATE),
    userId: BRYN_ID,
    threadId: 'dm-1',
    lastActive: new Date(DATE),
    lastSeen: new Date(DATE),
    receiveNotifications: true,
  },
  {
    id: '3',
    createdAt: new Date(DATE),
    userId: MAX_ID,
    threadId: 'dm-1',
    lastActive: new Date(DATE),
    lastSeen: new Date(DATE),
    receiveNotifications: true,
  },
  {
    id: '4',
    createdAt: new Date(DATE),
    userId: BRIAN_ID,
    threadId: 'dm-2',
    lastActive: new Date(DATE - 1),
    lastSeen: null,
    receiveNotifications: true,
  },
  {
    id: '5',
    createdAt: new Date(DATE),
    userId: PREVIOUS_MEMBER_USER_ID,
    threadId: 'dm-2',
    lastActive: new Date(DATE - 1),
    lastSeen: new Date(DATE - 1),
    receiveNotifications: true,
  },
];