-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.js
31 lines (26 loc) · 854 Bytes
/
globals.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
const accepeted_images = [
"png", "jpg", "jpeg", "bmp"
];
const user_act_types = [
"ALL", "ENABLED", "DISABLED", "AVAILABLE", "UNDER_REVIEW", "COMPLETED", "REJECTED", "MY_ACTS", "REQUESTED", "COLLECTED", "MY_REWARDS", "OPEN", "CLOSED"
];
const act_types = [
"AVAILABLE", "NOT_AVAILABLE"
];
const reward_types = [
"OPEN", "CLOSED", "REVIEWS"
];
const user_acts_sort_categories = [
'name', 'total_number_of_users_who_clicked_on_this_reward', 'value', 'total_number_of_users_who_got_this_reward', 'total_number_of_completions', 'total_number_of_clicks', 'creation_date', 'reward_points', 'first_name', 'last_name', 'time'
];
const user_acts_order_categories = [
1, -1
];
module.exports = {
act_types,
reward_types,
user_act_types,
accepeted_images,
user_acts_sort_categories,
user_acts_order_categories
}