gambling-bot-shared 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,6 +61,18 @@ export declare const GuildConfigurationSchema: Schema<TGuildConfiguration, impor
|
|
|
61
61
|
}, "id"> & {
|
|
62
62
|
id: string;
|
|
63
63
|
}> | undefined;
|
|
64
|
+
raffleChannelIds?: import("mongoose").SchemaDefinitionProperty<{
|
|
65
|
+
actions: string;
|
|
66
|
+
logs: string;
|
|
67
|
+
}, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
68
|
+
id: string;
|
|
69
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
70
|
+
_id: import("mongoose").Types.ObjectId;
|
|
71
|
+
} & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}, "id"> & {
|
|
74
|
+
id: string;
|
|
75
|
+
}> | undefined;
|
|
64
76
|
managerRoleId?: import("mongoose").SchemaDefinitionProperty<string, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
65
77
|
id: string;
|
|
66
78
|
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
@@ -8,75 +8,85 @@ exports.GuildConfigurationSchema = new mongoose_1.Schema({
|
|
|
8
8
|
type: String,
|
|
9
9
|
required: true,
|
|
10
10
|
unique: true,
|
|
11
|
-
index: true
|
|
11
|
+
index: true
|
|
12
12
|
},
|
|
13
13
|
atmChannelIds: {
|
|
14
14
|
actions: {
|
|
15
15
|
type: String,
|
|
16
|
-
default: ''
|
|
16
|
+
default: ''
|
|
17
17
|
},
|
|
18
18
|
logs: {
|
|
19
19
|
type: String,
|
|
20
|
-
default: ''
|
|
21
|
-
}
|
|
20
|
+
default: ''
|
|
21
|
+
}
|
|
22
22
|
},
|
|
23
23
|
casinoChannelIds: {
|
|
24
24
|
type: [String],
|
|
25
|
-
default: []
|
|
25
|
+
default: []
|
|
26
26
|
},
|
|
27
27
|
predictionChannelIds: {
|
|
28
28
|
actions: {
|
|
29
29
|
type: String,
|
|
30
|
-
default: ''
|
|
30
|
+
default: ''
|
|
31
31
|
},
|
|
32
32
|
logs: {
|
|
33
33
|
type: String,
|
|
34
|
-
default: ''
|
|
34
|
+
default: ''
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
raffleChannelIds: {
|
|
38
|
+
actions: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ''
|
|
35
41
|
},
|
|
42
|
+
logs: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: ''
|
|
45
|
+
}
|
|
36
46
|
},
|
|
37
47
|
managerRoleId: {
|
|
38
48
|
type: String,
|
|
39
|
-
default: ''
|
|
49
|
+
default: ''
|
|
40
50
|
},
|
|
41
51
|
casinoSettings: {
|
|
42
52
|
type: mongoose_1.Schema.Types.Mixed,
|
|
43
|
-
default: constants_1.defaultCasinoSettings
|
|
53
|
+
default: constants_1.defaultCasinoSettings
|
|
44
54
|
},
|
|
45
55
|
vipSettings: {
|
|
46
56
|
roleOwnerId: {
|
|
47
57
|
type: String,
|
|
48
|
-
default: ''
|
|
58
|
+
default: ''
|
|
49
59
|
},
|
|
50
60
|
roleMemberId: {
|
|
51
61
|
type: String,
|
|
52
|
-
default: ''
|
|
62
|
+
default: ''
|
|
53
63
|
},
|
|
54
64
|
categoryId: {
|
|
55
65
|
type: String,
|
|
56
|
-
default: ''
|
|
66
|
+
default: ''
|
|
57
67
|
},
|
|
58
68
|
pricePerDay: {
|
|
59
69
|
type: Number,
|
|
60
|
-
default: 0
|
|
70
|
+
default: 0
|
|
61
71
|
},
|
|
62
72
|
pricePerCreate: {
|
|
63
73
|
type: Number,
|
|
64
|
-
default: 0
|
|
74
|
+
default: 0
|
|
65
75
|
},
|
|
66
76
|
pricePerAdditionalMember: {
|
|
67
77
|
type: Number,
|
|
68
|
-
default: 0
|
|
78
|
+
default: 0
|
|
69
79
|
},
|
|
70
80
|
maxMembers: {
|
|
71
81
|
type: Number,
|
|
72
|
-
default: 2
|
|
73
|
-
}
|
|
82
|
+
default: 2
|
|
83
|
+
}
|
|
74
84
|
},
|
|
75
85
|
bonusSettings: {
|
|
76
86
|
rewardMode: {
|
|
77
87
|
type: String,
|
|
78
88
|
enum: ['linear', 'exponential'],
|
|
79
|
-
default: 'linear'
|
|
89
|
+
default: 'linear'
|
|
80
90
|
},
|
|
81
91
|
baseReward: { type: Number, default: 0 },
|
|
82
92
|
streakIncrement: { type: Number, default: 0 },
|
|
@@ -85,7 +95,7 @@ exports.GuildConfigurationSchema = new mongoose_1.Schema({
|
|
|
85
95
|
resetOnMax: { type: Boolean, default: false },
|
|
86
96
|
milestoneBonus: {
|
|
87
97
|
weekly: { type: Number, default: 0 },
|
|
88
|
-
monthly: { type: Number, default: 0 }
|
|
89
|
-
}
|
|
90
|
-
}
|
|
98
|
+
monthly: { type: Number, default: 0 }
|
|
99
|
+
}
|
|
100
|
+
}
|
|
91
101
|
});
|