-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmock_data.js
87 lines (82 loc) · 1.57 KB
/
mock_data.js
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// mock data for seeding the database or testing
const USERS = [
{
email: "[email protected]",
first_name: "first_name1",
last_name: "last_name1",
is_admin: false,
current_company: "company1",
hire_date: "2018-06-23T07:00:00.000Z",
needs: "needs1",
goals: "goals1"
},
{
email: "[email protected]",
first_name: "first_name2",
last_name: "last_name2",
is_admin: true,
current_company: "company2",
hire_date: "2018-10-23T07:00:00.000Z",
needs: "needs2",
goals: "goals2"
}
];
const QUESTIONS = [
{
question: "question1",
response: "",
resolved: false,
created_date: "2019-09-01T19:28:53.468Z"
},
{
question: "question2",
response: "response2",
resolved: true,
created_date: "2019-09-01T19:28:33.468Z"
}
];
const SALARIES = [
{
salary: 1.0,
bonus: 1.0,
equity: 1.0,
created_at: "2019-10-01T19:28:24.468Z"
},
{
salary: 2.0,
bonus: 2.0,
equity: 2.0,
created_at: "2019-05-01T19:28:12.468Z"
}
];
const DOCUMENTS = [
{
id: 1,
user_id: 1,
title: "contract.pdf",
counterparty: "Bob Bobson",
date_submitted: "2010-08-05",
date_reviewed: null,
status: "unreviewed",
url: "theinternet.com"
},
{
id: 2,
user_id: 1,
title: "contract2.pdf",
counterparty: "Rob Robson",
date_submitted: "2019-08-05",
date_reviewed: null,
status: "unreviewed",
url: "theinternet2.com"
}
];
module.exports = {
USERS,
USER: USERS[0],
QUESTIONS,
QUESTION: QUESTIONS[0],
SALARIES,
SALARIE: SALARIES[0],
DOCUMENTS
};