|
|
@@ -1,10 +1,40 @@
|
|
1
|
1
|
module.exports = {
|
|
2
|
2
|
users: [
|
|
3
|
|
- { user_id: 1, user_name: 'usample', user_email: 'user_sample@doggo.com', is_admin: true, is_poster: false },
|
|
4
|
|
- { user_id: 2, user_name: 'fifi', user_email: 'fifi@ismycat.com', is_admin: false, is_poster: false },
|
|
5
|
|
- { user_id: 3, user_name: 'mochi', user_email: 'mochi@issomeothercat.com', is_admin: false, is_poster: false },
|
|
6
|
|
- { user_id: 4, user_name: 'archie', user_email: 'ar_cat@hires.com', is_admin: false, is_poster: true },
|
|
7
|
|
- { user_id: 5, user_name: 'lulu', user_email: 'totallylegit@pets.com', is_admin: false, is_poster: false },
|
|
|
3
|
+ {
|
|
|
4
|
+ user_id: 1,
|
|
|
5
|
+ user_name: 'usample',
|
|
|
6
|
+ user_email: 'user_sample@doggo.com',
|
|
|
7
|
+ is_admin: true,
|
|
|
8
|
+ is_poster: false,
|
|
|
9
|
+ },
|
|
|
10
|
+ {
|
|
|
11
|
+ user_id: 2,
|
|
|
12
|
+ user_name: 'fifi',
|
|
|
13
|
+ user_email: 'fifi@ismycat.com',
|
|
|
14
|
+ is_admin: false,
|
|
|
15
|
+ is_poster: false,
|
|
|
16
|
+ },
|
|
|
17
|
+ {
|
|
|
18
|
+ user_id: 3,
|
|
|
19
|
+ user_name: 'mochi',
|
|
|
20
|
+ user_email: 'mochi@issomeothercat.com',
|
|
|
21
|
+ is_admin: false,
|
|
|
22
|
+ is_poster: false,
|
|
|
23
|
+ },
|
|
|
24
|
+ {
|
|
|
25
|
+ user_id: 4,
|
|
|
26
|
+ user_name: 'archie',
|
|
|
27
|
+ user_email: 'ar_cat@hires.com',
|
|
|
28
|
+ is_admin: false,
|
|
|
29
|
+ is_poster: true,
|
|
|
30
|
+ },
|
|
|
31
|
+ {
|
|
|
32
|
+ user_id: 5,
|
|
|
33
|
+ user_name: 'lulu',
|
|
|
34
|
+ user_email: 'totallylegit@pets.com',
|
|
|
35
|
+ is_admin: false,
|
|
|
36
|
+ is_poster: false,
|
|
|
37
|
+ },
|
|
8
|
38
|
],
|
|
9
|
39
|
profiles: [
|
|
10
|
40
|
{ profile_id: 1, user_id: 2 },
|
|
|
@@ -15,47 +45,163 @@ module.exports = {
|
|
15
|
45
|
{ profile_id: 6, user_id: 4 },
|
|
16
|
46
|
],
|
|
17
|
47
|
response_keys: [
|
|
18
|
|
- { response_key_id: 1, response_key_name: 'grit', response_key_description: null },
|
|
19
|
|
- { response_key_id: 2, response_key_name: 'openness', response_key_description: null },
|
|
20
|
|
- { response_key_id: 3, response_key_name: 'description', response_key_description: null },
|
|
|
48
|
+ {
|
|
|
49
|
+ response_key_id: 1,
|
|
|
50
|
+ response_key_category: 'grit',
|
|
|
51
|
+ response_key_prompt: 'question for grit',
|
|
|
52
|
+ response_key_description: null,
|
|
|
53
|
+ },
|
|
|
54
|
+ {
|
|
|
55
|
+ response_key_id: 2,
|
|
|
56
|
+ response_key_category: 'openness',
|
|
|
57
|
+ response_key_prompt: 'question for openness',
|
|
|
58
|
+ response_key_description: null,
|
|
|
59
|
+ },
|
|
|
60
|
+ {
|
|
|
61
|
+ response_key_id: 3,
|
|
|
62
|
+ response_key_category: 'empathy',
|
|
|
63
|
+ response_key_prompt: 'question for empathy',
|
|
|
64
|
+ response_key_description: null,
|
|
|
65
|
+ },
|
|
21
|
66
|
],
|
|
22
|
67
|
responses: [
|
|
23
|
68
|
{ response_id: 1, profile_id: 2, response_key_id: 2, val: '80' },
|
|
24
|
69
|
{ response_id: 2, profile_id: 2, response_key_id: 1, val: '70' },
|
|
25
|
70
|
{ response_id: 3, profile_id: 2, response_key_id: 1, val: '50' },
|
|
26
|
|
- { response_id: 4, profile_id: 2, response_key_id: 3, val: 'I am actually a very experienced cat.' },
|
|
27
|
|
- { response_id: 5, profile_id: 3, response_key_id: 3, val: 'I am not a person but I need a job' },
|
|
28
|
|
- { response_id: 6, profile_id: 4, response_key_id: 3, val: 'Just a job that needs grit' },
|
|
|
71
|
+ {
|
|
|
72
|
+ response_id: 4,
|
|
|
73
|
+ profile_id: 2,
|
|
|
74
|
+ response_key_id: 3,
|
|
|
75
|
+ val: 'I am actually a very experienced cat.',
|
|
|
76
|
+ },
|
|
|
77
|
+ {
|
|
|
78
|
+ response_id: 5,
|
|
|
79
|
+ profile_id: 3,
|
|
|
80
|
+ response_key_id: 3,
|
|
|
81
|
+ val: 'I am not a person but I need a job',
|
|
|
82
|
+ },
|
|
|
83
|
+ {
|
|
|
84
|
+ response_id: 6,
|
|
|
85
|
+ profile_id: 4,
|
|
|
86
|
+ response_key_id: 3,
|
|
|
87
|
+ val: 'Just a job that needs grit',
|
|
|
88
|
+ },
|
|
29
|
89
|
{ response_id: 7, profile_id: 4, response_key_id: 2, val: '30' },
|
|
30
|
90
|
{ response_id: 8, profile_id: 4, response_key_id: 1, val: '100' },
|
|
31
|
|
- { response_id: 9, profile_id: 5, response_key_id: 3, val: 'This job posting is awful' },
|
|
|
91
|
+ {
|
|
|
92
|
+ response_id: 9,
|
|
|
93
|
+ profile_id: 5,
|
|
|
94
|
+ response_key_id: 3,
|
|
|
95
|
+ val: 'This job posting is awful',
|
|
|
96
|
+ },
|
|
32
|
97
|
],
|
|
33
|
98
|
memberships: [
|
|
34
|
|
- { membership_id: 1, user_id: 1, grouping_id: 1, membership_type: '_admin', can_edit: true, is_active: true },
|
|
35
|
|
- { membership_id: 2, user_id: 1, grouping_id: 2, membership_type: 'recruiter', can_edit: true, is_active: true },
|
|
36
|
|
- { membership_id: 3, user_id: 1, grouping_id: 3, membership_type: 'participant', can_edit: false, is_active: true },
|
|
37
|
|
- { membership_id: 4, user_id: 2, grouping_id: 3, membership_type: 'participant', can_edit: false, is_active: false },
|
|
38
|
|
- { membership_id: 5, user_id: 4, grouping_id: 4, membership_type: 'participant', can_edit: false, is_active: true },
|
|
39
|
|
- { membership_id: 6, user_id: 2, grouping_id: 4, membership_type: 'participant', can_edit: false, is_active: false },
|
|
40
|
|
- { membership_id: 7, user_id: 3, grouping_id: 5, membership_type: 'participant', can_edit: false, is_active: true },
|
|
41
|
|
- { membership_id: 8, user_id: 1, grouping_id: 5, membership_type: 'participant', can_edit: false, is_active: true },
|
|
|
99
|
+ {
|
|
|
100
|
+ membership_id: 1,
|
|
|
101
|
+ user_id: 1,
|
|
|
102
|
+ grouping_id: 1,
|
|
|
103
|
+ membership_type: '_admin',
|
|
|
104
|
+ can_edit: true,
|
|
|
105
|
+ is_active: true,
|
|
|
106
|
+ },
|
|
|
107
|
+ {
|
|
|
108
|
+ membership_id: 2,
|
|
|
109
|
+ user_id: 1,
|
|
|
110
|
+ grouping_id: 2,
|
|
|
111
|
+ membership_type: 'recruiter',
|
|
|
112
|
+ can_edit: true,
|
|
|
113
|
+ is_active: true,
|
|
|
114
|
+ },
|
|
|
115
|
+ {
|
|
|
116
|
+ membership_id: 3,
|
|
|
117
|
+ user_id: 1,
|
|
|
118
|
+ grouping_id: 3,
|
|
|
119
|
+ membership_type: 'participant',
|
|
|
120
|
+ can_edit: false,
|
|
|
121
|
+ is_active: true,
|
|
|
122
|
+ },
|
|
|
123
|
+ {
|
|
|
124
|
+ membership_id: 4,
|
|
|
125
|
+ user_id: 2,
|
|
|
126
|
+ grouping_id: 3,
|
|
|
127
|
+ membership_type: 'participant',
|
|
|
128
|
+ can_edit: false,
|
|
|
129
|
+ is_active: false,
|
|
|
130
|
+ },
|
|
|
131
|
+ {
|
|
|
132
|
+ membership_id: 5,
|
|
|
133
|
+ user_id: 4,
|
|
|
134
|
+ grouping_id: 4,
|
|
|
135
|
+ membership_type: 'participant',
|
|
|
136
|
+ can_edit: false,
|
|
|
137
|
+ is_active: true,
|
|
|
138
|
+ },
|
|
|
139
|
+ {
|
|
|
140
|
+ membership_id: 6,
|
|
|
141
|
+ user_id: 2,
|
|
|
142
|
+ grouping_id: 4,
|
|
|
143
|
+ membership_type: 'participant',
|
|
|
144
|
+ can_edit: false,
|
|
|
145
|
+ is_active: false,
|
|
|
146
|
+ },
|
|
|
147
|
+ {
|
|
|
148
|
+ membership_id: 7,
|
|
|
149
|
+ user_id: 3,
|
|
|
150
|
+ grouping_id: 5,
|
|
|
151
|
+ membership_type: 'participant',
|
|
|
152
|
+ can_edit: false,
|
|
|
153
|
+ is_active: true,
|
|
|
154
|
+ },
|
|
|
155
|
+ {
|
|
|
156
|
+ membership_id: 8,
|
|
|
157
|
+ user_id: 1,
|
|
|
158
|
+ grouping_id: 5,
|
|
|
159
|
+ membership_type: 'participant',
|
|
|
160
|
+ can_edit: false,
|
|
|
161
|
+ is_active: true,
|
|
|
162
|
+ },
|
|
42
|
163
|
],
|
|
43
|
164
|
groupings: [
|
|
44
|
|
- { grouping_id: 1, grouping_name: '00000000_siimee_', grouping_type: 'company' },
|
|
45
|
|
- { grouping_id: 2, grouping_name: '01010101_testco_', grouping_type: 'company' },
|
|
46
|
|
- { grouping_id: 3, grouping_name: '11111111_usample_fifi', grouping_type: 'match'},
|
|
47
|
|
- { grouping_id: 4, grouping_name: '12121212_archie_fifi', grouping_type: 'match' },
|
|
48
|
|
- { grouping_id: 5, grouping_name: '32323232_mochi_usample', grouping_type: 'match' },
|
|
|
165
|
+ {
|
|
|
166
|
+ grouping_id: 1,
|
|
|
167
|
+ grouping_name: '00000000_siimee_',
|
|
|
168
|
+ grouping_type: 'company',
|
|
|
169
|
+ },
|
|
|
170
|
+ {
|
|
|
171
|
+ grouping_id: 2,
|
|
|
172
|
+ grouping_name: '01010101_testco_',
|
|
|
173
|
+ grouping_type: 'company',
|
|
|
174
|
+ },
|
|
|
175
|
+ {
|
|
|
176
|
+ grouping_id: 3,
|
|
|
177
|
+ grouping_name: '11111111_usample_fifi',
|
|
|
178
|
+ grouping_type: 'match',
|
|
|
179
|
+ },
|
|
|
180
|
+ {
|
|
|
181
|
+ grouping_id: 4,
|
|
|
182
|
+ grouping_name: '12121212_archie_fifi',
|
|
|
183
|
+ grouping_type: 'match',
|
|
|
184
|
+ },
|
|
|
185
|
+ {
|
|
|
186
|
+ grouping_id: 5,
|
|
|
187
|
+ grouping_name: '32323232_mochi_usample',
|
|
|
188
|
+ grouping_type: 'match',
|
|
|
189
|
+ },
|
|
49
|
190
|
],
|
|
50
|
191
|
messages: [
|
|
51
|
192
|
{ message_id: 1, user_id: 1, grouping_id: 3, message: 'hello' },
|
|
52
|
193
|
{ message_id: 2, user_id: 2, grouping_id: 3, message: 'hi' },
|
|
53
|
194
|
{ message_id: 3, user_id: 1, grouping_id: 3, message: 'how are you?' },
|
|
54
|
|
- { message_id: 4, user_id: 2, grouping_id: 3, message: 'doing well, and you?' },
|
|
|
195
|
+ {
|
|
|
196
|
+ message_id: 4,
|
|
|
197
|
+ user_id: 2,
|
|
|
198
|
+ grouping_id: 3,
|
|
|
199
|
+ message: 'doing well, and you?',
|
|
|
200
|
+ },
|
|
55
|
201
|
{ message_id: 5, user_id: 1, grouping_id: 3, message: 'doing great' },
|
|
56
|
202
|
{ message_id: 6, user_id: 4, grouping_id: 4, message: 'hey' },
|
|
57
|
203
|
{ message_id: 7, user_id: 5, grouping_id: 4, message: 'just hey?' },
|
|
58
|
204
|
{ message_id: 8, user_id: 1, grouping_id: 5, message: 'hello!' },
|
|
59
|
|
- { message_id: 9, user_id: 3, grouping_id: 5, message: 'meow' }
|
|
60
|
|
- ]
|
|
61
|
|
-}
|
|
|
205
|
+ { message_id: 9, user_id: 3, grouping_id: 5, message: 'meow' },
|
|
|
206
|
+ ],
|
|
|
207
|
+}
|