1 | 'use strict';
|
2 |
|
3 | const conditions = module.exports;
|
4 |
|
5 | conditions.get = function (conditions, callback) {
|
6 | conditions = conditions.concat([
|
7 | {
|
8 | name: 'Reputation',
|
9 | condition: 'essentials/user.reputation',
|
10 | },
|
11 | {
|
12 | name: 'Post Count',
|
13 | condition: 'essentials/user.postcount',
|
14 | },
|
15 | {
|
16 | name: 'Last Logged in Time',
|
17 | condition: 'essentials/user.lastonline',
|
18 | },
|
19 | {
|
20 | name: 'Join Date',
|
21 | condition: 'essentials/user.joindate',
|
22 | },
|
23 | {
|
24 | name: 'Days Registered',
|
25 | condition: 'essentials/user.daysregistered',
|
26 | },
|
27 | ]);
|
28 |
|
29 | callback(null, conditions);
|
30 | };
|