This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrepublik.js
102 lines (102 loc) · 2.19 KB
/
republik.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
exports.default = {
rewards: {
"Goodie": [
{
name: 'NOTEBOOK'
}
],
"MembershipType": [
{
name: 'ABO',
duration: 538, // 365 + 364 / 2,
price: 24000
},
{
name: 'BENEFACTOR_ABO',
duration: 538, // 365 + 364 / 2,
price: 24000
}
]
},
crowdfundings: [
{
name: 'REPUBLIK',
beginDate: new Date('2017-04-26T06:00:00.000Z'),
endDate: new Date('2017-05-31T23:59:59.999Z'),
goals: [
{
name: 'ONLY_THE_BEGINNING',
people: 3000,
money: 75000000
}
],
packages: [
{
name: 'ABO',
options: [
{
rewardName: 'ABO',
rewardType: 'MembershipType',
minAmount: 1,
maxAmount: 1,
defaultAmount: 1,
price: 24000,
userPrice: true
}
]
},
{
name: 'ABO_GIVE',
options: [
{
rewardName: 'ABO',
rewardType: 'MembershipType',
minAmount: 1,
maxAmount: 100,
defaultAmount: 1,
price: 24000,
userPrice: false
},
{
rewardName: 'NOTEBOOK',
rewardType: 'Goodie',
minAmount: 0,
maxAmount: 100,
defaultAmount: 0,
price: 2000,
userPrice: false
}
]
},
{
name: 'BENEFACTOR',
options: [
{
rewardName: 'BENEFACTOR_ABO',
rewardType: 'MembershipType',
minAmount: 1,
maxAmount: 1,
defaultAmount: 1,
price: 100000,
userPrice: false
}
]
},
{
name: 'DONATE',
options: [
{
rewardName: null,
rewardType: null,
minAmount: 1,
maxAmount: 1,
defaultAmount: 1,
price: 0,
userPrice: true
}
]
}
]
}
]
}