Major refactor of bonfireFramework to differentiate tests, refactor tests in Bonfire schema to remove public/private tests and only have tests, fire modal on successful run of all tests in bonfire/show, added bonfiresHash to User schema, and we should have committed a while ago because there is too much too list
This commit is contained in:
243
models/User.js
243
models/User.js
@ -353,7 +353,248 @@ var userSchema = new mongoose.Schema({
|
||||
},
|
||||
resetPasswordToken: String,
|
||||
resetPasswordExpires: Date,
|
||||
bonfires: Array
|
||||
bonfiresHash: {
|
||||
0: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
1: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
2: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
3: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
4: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
5: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
6: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
7: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
8: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
9: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
10: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
11: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
12: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
13: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
14: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
15: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
16: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
17: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
18: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
19: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
20: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
21: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
22: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
23: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
24: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
25: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
26: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
27: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
28: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
29: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
30: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
31: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
32: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
33: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
34: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
35: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
36: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
37: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
38: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
39: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
40: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
41: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
42: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
43: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
44: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
45: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
46: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
47: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
48: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
49: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
50: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
51: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
52: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
53: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
54: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
55: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
56: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
57: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
58: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
},
|
||||
59: {
|
||||
type: Boolean,
|
||||
default: 0
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user