gambling-bot-shared 0.1.21 → 0.1.22
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.
|
@@ -1,11 +1,179 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
2
|
import { TGuildConfiguration } from '../types';
|
|
3
|
-
export declare const GuildConfigurationSchema: Schema<TGuildConfiguration, import("mongoose").Model<TGuildConfiguration, any, any, any, import("mongoose").Document<unknown, any, TGuildConfiguration, any,
|
|
3
|
+
export declare const GuildConfigurationSchema: Schema<TGuildConfiguration, import("mongoose").Model<TGuildConfiguration, any, any, any, (import("mongoose").Document<unknown, any, TGuildConfiguration, any, import("mongoose").DefaultSchemaOptions> & TGuildConfiguration & {
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
} & {
|
|
6
6
|
__v: number;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) | (import("mongoose").Document<unknown, any, TGuildConfiguration, any, import("mongoose").DefaultSchemaOptions> & TGuildConfiguration & {
|
|
10
|
+
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
} & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}), any, TGuildConfiguration>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
8
16
|
_id: import("mongoose").Types.ObjectId;
|
|
9
17
|
} & {
|
|
10
18
|
__v: number;
|
|
11
|
-
}
|
|
19
|
+
}, "id"> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, {
|
|
22
|
+
guildId?: import("mongoose").SchemaDefinitionProperty<string, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
23
|
+
id: string;
|
|
24
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
25
|
+
_id: import("mongoose").Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, "id"> & {
|
|
29
|
+
id: string;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
atmChannelIds?: import("mongoose").SchemaDefinitionProperty<{
|
|
32
|
+
actions: string;
|
|
33
|
+
logs: string;
|
|
34
|
+
}, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
35
|
+
id: string;
|
|
36
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
37
|
+
_id: import("mongoose").Types.ObjectId;
|
|
38
|
+
} & {
|
|
39
|
+
__v: number;
|
|
40
|
+
}, "id"> & {
|
|
41
|
+
id: string;
|
|
42
|
+
}> | undefined;
|
|
43
|
+
casinoChannelIds?: import("mongoose").SchemaDefinitionProperty<string[], TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
44
|
+
id: string;
|
|
45
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
46
|
+
_id: import("mongoose").Types.ObjectId;
|
|
47
|
+
} & {
|
|
48
|
+
__v: number;
|
|
49
|
+
}, "id"> & {
|
|
50
|
+
id: string;
|
|
51
|
+
}> | undefined;
|
|
52
|
+
predictionChannelIds?: import("mongoose").SchemaDefinitionProperty<{
|
|
53
|
+
actions: string;
|
|
54
|
+
logs: string;
|
|
55
|
+
}, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
56
|
+
id: string;
|
|
57
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
58
|
+
_id: import("mongoose").Types.ObjectId;
|
|
59
|
+
} & {
|
|
60
|
+
__v: number;
|
|
61
|
+
}, "id"> & {
|
|
62
|
+
id: string;
|
|
63
|
+
}> | undefined;
|
|
64
|
+
managerRoleId?: import("mongoose").SchemaDefinitionProperty<string, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
65
|
+
id: string;
|
|
66
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
67
|
+
_id: import("mongoose").Types.ObjectId;
|
|
68
|
+
} & {
|
|
69
|
+
__v: number;
|
|
70
|
+
}, "id"> & {
|
|
71
|
+
id: string;
|
|
72
|
+
}> | undefined;
|
|
73
|
+
casinoSettings?: import("mongoose").SchemaDefinitionProperty<{
|
|
74
|
+
dice: {
|
|
75
|
+
winMultiplier: number;
|
|
76
|
+
maxBet: number;
|
|
77
|
+
minBet: number;
|
|
78
|
+
};
|
|
79
|
+
coinflip: {
|
|
80
|
+
winMultiplier: number;
|
|
81
|
+
maxBet: number;
|
|
82
|
+
minBet: number;
|
|
83
|
+
};
|
|
84
|
+
slots: {
|
|
85
|
+
winMultipliers: {
|
|
86
|
+
'\uD83C\uDF52\uD83C\uDF52\uD83C\uDF52': number;
|
|
87
|
+
'\uD83E\uDED0\uD83E\uDED0\uD83E\uDED0': number;
|
|
88
|
+
'\uD83C\uDF49\uD83C\uDF49\uD83C\uDF49': number;
|
|
89
|
+
'\uD83D\uDD14\uD83D\uDD14\uD83D\uDD14': number;
|
|
90
|
+
'7\uFE0F\u20E37\uFE0F\u20E37\uFE0F\u20E3': number;
|
|
91
|
+
};
|
|
92
|
+
symbolWeights: {
|
|
93
|
+
'\uD83C\uDF52': number;
|
|
94
|
+
'\uD83E\uDED0': number;
|
|
95
|
+
'\uD83C\uDF49': number;
|
|
96
|
+
'\uD83D\uDD14': number;
|
|
97
|
+
'7\uFE0F\u20E3': number;
|
|
98
|
+
};
|
|
99
|
+
maxBet: number;
|
|
100
|
+
minBet: number;
|
|
101
|
+
};
|
|
102
|
+
lottery: {
|
|
103
|
+
winMultipliers: {
|
|
104
|
+
4: number;
|
|
105
|
+
3: number;
|
|
106
|
+
2: number;
|
|
107
|
+
1: number;
|
|
108
|
+
0: number;
|
|
109
|
+
};
|
|
110
|
+
maxBet: number;
|
|
111
|
+
minBet: number;
|
|
112
|
+
};
|
|
113
|
+
roulette: {
|
|
114
|
+
winMultipliers: {
|
|
115
|
+
number: number;
|
|
116
|
+
color: number;
|
|
117
|
+
parity: number;
|
|
118
|
+
range: number;
|
|
119
|
+
dozen: number;
|
|
120
|
+
column: number;
|
|
121
|
+
};
|
|
122
|
+
maxBet: number;
|
|
123
|
+
minBet: number;
|
|
124
|
+
};
|
|
125
|
+
rps: {
|
|
126
|
+
casinoCut: number;
|
|
127
|
+
maxBet: number;
|
|
128
|
+
minBet: number;
|
|
129
|
+
};
|
|
130
|
+
goldenJackpot: {
|
|
131
|
+
winMultiplier: number;
|
|
132
|
+
oneInChance: number;
|
|
133
|
+
maxBet: number;
|
|
134
|
+
minBet: number;
|
|
135
|
+
};
|
|
136
|
+
blackjack: {
|
|
137
|
+
maxBet: number;
|
|
138
|
+
minBet: number;
|
|
139
|
+
};
|
|
140
|
+
prediction: {
|
|
141
|
+
maxBet: number;
|
|
142
|
+
minBet: number;
|
|
143
|
+
};
|
|
144
|
+
}, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
145
|
+
id: string;
|
|
146
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
147
|
+
_id: import("mongoose").Types.ObjectId;
|
|
148
|
+
} & {
|
|
149
|
+
__v: number;
|
|
150
|
+
}, "id"> & {
|
|
151
|
+
id: string;
|
|
152
|
+
}> | undefined;
|
|
153
|
+
vipSettings?: import("mongoose").SchemaDefinitionProperty<{
|
|
154
|
+
roleOwnerId: string;
|
|
155
|
+
roleMemberId: string;
|
|
156
|
+
categoryId: string;
|
|
157
|
+
pricePerDay: number;
|
|
158
|
+
pricePerCreate: number;
|
|
159
|
+
pricePerAdditionalMember: number;
|
|
160
|
+
maxMembers: number;
|
|
161
|
+
}, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
162
|
+
id: string;
|
|
163
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
164
|
+
_id: import("mongoose").Types.ObjectId;
|
|
165
|
+
} & {
|
|
166
|
+
__v: number;
|
|
167
|
+
}, "id"> & {
|
|
168
|
+
id: string;
|
|
169
|
+
}> | undefined;
|
|
170
|
+
bonusSettings?: import("mongoose").SchemaDefinitionProperty<import("../types").BonusSettings, TGuildConfiguration, import("mongoose").Document<unknown, {}, TGuildConfiguration, {
|
|
171
|
+
id: string;
|
|
172
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TGuildConfiguration & {
|
|
173
|
+
_id: import("mongoose").Types.ObjectId;
|
|
174
|
+
} & {
|
|
175
|
+
__v: number;
|
|
176
|
+
}, "id"> & {
|
|
177
|
+
id: string;
|
|
178
|
+
}> | undefined;
|
|
179
|
+
}, TGuildConfiguration>;
|
|
@@ -1,11 +1,112 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
2
|
import { TPrediction } from '../types';
|
|
3
|
-
export declare const PredictionSchema: Schema<TPrediction, import("mongoose").Model<TPrediction, any, any, any, import("mongoose").Document<unknown, any, TPrediction, any,
|
|
3
|
+
export declare const PredictionSchema: Schema<TPrediction, import("mongoose").Model<TPrediction, any, any, any, (import("mongoose").Document<unknown, any, TPrediction, any, import("mongoose").DefaultSchemaOptions> & TPrediction & {
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
} & {
|
|
6
6
|
__v: number;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) | (import("mongoose").Document<unknown, any, TPrediction, any, import("mongoose").DefaultSchemaOptions> & TPrediction & {
|
|
10
|
+
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
} & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}), any, TPrediction>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
8
16
|
_id: import("mongoose").Types.ObjectId;
|
|
9
17
|
} & {
|
|
10
18
|
__v: number;
|
|
11
|
-
}
|
|
19
|
+
}, "id"> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, {
|
|
22
|
+
predictionId?: import("mongoose").SchemaDefinitionProperty<string, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
23
|
+
id: string;
|
|
24
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
25
|
+
_id: import("mongoose").Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, "id"> & {
|
|
29
|
+
id: string;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
guildId?: import("mongoose").SchemaDefinitionProperty<string, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
32
|
+
id: string;
|
|
33
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
34
|
+
_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
} & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, "id"> & {
|
|
38
|
+
id: string;
|
|
39
|
+
}> | undefined;
|
|
40
|
+
channelId?: import("mongoose").SchemaDefinitionProperty<string, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
41
|
+
id: string;
|
|
42
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
43
|
+
_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}, "id"> & {
|
|
47
|
+
id: string;
|
|
48
|
+
}> | undefined;
|
|
49
|
+
creatorId?: import("mongoose").SchemaDefinitionProperty<string, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
50
|
+
id: string;
|
|
51
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
52
|
+
_id: import("mongoose").Types.ObjectId;
|
|
53
|
+
} & {
|
|
54
|
+
__v: number;
|
|
55
|
+
}, "id"> & {
|
|
56
|
+
id: string;
|
|
57
|
+
}> | undefined;
|
|
58
|
+
title?: import("mongoose").SchemaDefinitionProperty<string, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
59
|
+
id: string;
|
|
60
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
61
|
+
_id: import("mongoose").Types.ObjectId;
|
|
62
|
+
} & {
|
|
63
|
+
__v: number;
|
|
64
|
+
}, "id"> & {
|
|
65
|
+
id: string;
|
|
66
|
+
}> | undefined;
|
|
67
|
+
choices?: import("mongoose").SchemaDefinitionProperty<import("../types").TPredictionOption[], TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
68
|
+
id: string;
|
|
69
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
70
|
+
_id: import("mongoose").Types.ObjectId;
|
|
71
|
+
} & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}, "id"> & {
|
|
74
|
+
id: string;
|
|
75
|
+
}> | undefined;
|
|
76
|
+
status?: import("mongoose").SchemaDefinitionProperty<"active" | "ended" | "paid" | "canceled", TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
77
|
+
id: string;
|
|
78
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
} & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}, "id"> & {
|
|
83
|
+
id: string;
|
|
84
|
+
}> | undefined;
|
|
85
|
+
autolock?: import("mongoose").SchemaDefinitionProperty<Date | null | undefined, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
86
|
+
id: string;
|
|
87
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
88
|
+
_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
} & {
|
|
90
|
+
__v: number;
|
|
91
|
+
}, "id"> & {
|
|
92
|
+
id: string;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
95
|
+
id: string;
|
|
96
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
97
|
+
_id: import("mongoose").Types.ObjectId;
|
|
98
|
+
} & {
|
|
99
|
+
__v: number;
|
|
100
|
+
}, "id"> & {
|
|
101
|
+
id: string;
|
|
102
|
+
}> | undefined;
|
|
103
|
+
updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, TPrediction, import("mongoose").Document<unknown, {}, TPrediction, {
|
|
104
|
+
id: string;
|
|
105
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TPrediction & {
|
|
106
|
+
_id: import("mongoose").Types.ObjectId;
|
|
107
|
+
} & {
|
|
108
|
+
__v: number;
|
|
109
|
+
}, "id"> & {
|
|
110
|
+
id: string;
|
|
111
|
+
}> | undefined;
|
|
112
|
+
}, TPrediction>;
|
|
@@ -1,11 +1,103 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
2
|
import { TTransaction } from '../types';
|
|
3
|
-
export declare const TransactionSchema: Schema<TTransaction, import("mongoose").Model<TTransaction, any, any, any, import("mongoose").Document<unknown, any, TTransaction, any,
|
|
3
|
+
export declare const TransactionSchema: Schema<TTransaction, import("mongoose").Model<TTransaction, any, any, any, (import("mongoose").Document<unknown, any, TTransaction, any, import("mongoose").DefaultSchemaOptions> & TTransaction & {
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
} & {
|
|
6
6
|
__v: number;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) | (import("mongoose").Document<unknown, any, TTransaction, any, import("mongoose").DefaultSchemaOptions> & TTransaction & {
|
|
10
|
+
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
} & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}), any, TTransaction>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
8
16
|
_id: import("mongoose").Types.ObjectId;
|
|
9
17
|
} & {
|
|
10
18
|
__v: number;
|
|
11
|
-
}
|
|
19
|
+
}, "id"> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, {
|
|
22
|
+
userId?: import("mongoose").SchemaDefinitionProperty<string, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
23
|
+
id: string;
|
|
24
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
25
|
+
_id: import("mongoose").Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, "id"> & {
|
|
29
|
+
id: string;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
guildId?: import("mongoose").SchemaDefinitionProperty<string, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
32
|
+
id: string;
|
|
33
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
34
|
+
_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
} & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, "id"> & {
|
|
38
|
+
id: string;
|
|
39
|
+
}> | undefined;
|
|
40
|
+
amount?: import("mongoose").SchemaDefinitionProperty<number, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
41
|
+
id: string;
|
|
42
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
43
|
+
_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}, "id"> & {
|
|
47
|
+
id: string;
|
|
48
|
+
}> | undefined;
|
|
49
|
+
type?: import("mongoose").SchemaDefinitionProperty<"deposit" | "withdraw" | "bet" | "win" | "refund" | "bonus" | "vip", TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
50
|
+
id: string;
|
|
51
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
52
|
+
_id: import("mongoose").Types.ObjectId;
|
|
53
|
+
} & {
|
|
54
|
+
__v: number;
|
|
55
|
+
}, "id"> & {
|
|
56
|
+
id: string;
|
|
57
|
+
}> | undefined;
|
|
58
|
+
source?: import("mongoose").SchemaDefinitionProperty<"command" | "manual" | "web" | "system" | "casino", TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
59
|
+
id: string;
|
|
60
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
61
|
+
_id: import("mongoose").Types.ObjectId;
|
|
62
|
+
} & {
|
|
63
|
+
__v: number;
|
|
64
|
+
}, "id"> & {
|
|
65
|
+
id: string;
|
|
66
|
+
}> | undefined;
|
|
67
|
+
meta?: import("mongoose").SchemaDefinitionProperty<Record<string, any> | undefined, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
68
|
+
id: string;
|
|
69
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
70
|
+
_id: import("mongoose").Types.ObjectId;
|
|
71
|
+
} & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}, "id"> & {
|
|
74
|
+
id: string;
|
|
75
|
+
}> | undefined;
|
|
76
|
+
betId?: import("mongoose").SchemaDefinitionProperty<string | undefined, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
77
|
+
id: string;
|
|
78
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
} & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}, "id"> & {
|
|
83
|
+
id: string;
|
|
84
|
+
}> | undefined;
|
|
85
|
+
handledBy?: import("mongoose").SchemaDefinitionProperty<string | undefined, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
86
|
+
id: string;
|
|
87
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
88
|
+
_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
} & {
|
|
90
|
+
__v: number;
|
|
91
|
+
}, "id"> & {
|
|
92
|
+
id: string;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TTransaction, import("mongoose").Document<unknown, {}, TTransaction, {
|
|
95
|
+
id: string;
|
|
96
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TTransaction & {
|
|
97
|
+
_id: import("mongoose").Types.ObjectId;
|
|
98
|
+
} & {
|
|
99
|
+
__v: number;
|
|
100
|
+
}, "id"> & {
|
|
101
|
+
id: string;
|
|
102
|
+
}> | undefined;
|
|
103
|
+
}, TTransaction>;
|
|
@@ -1,11 +1,94 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
2
|
import { TUser } from '../types';
|
|
3
|
-
export declare const UserSchema: Schema<TUser, import("mongoose").Model<TUser, any, any, any, import("mongoose").Document<unknown, any, TUser, any,
|
|
3
|
+
export declare const UserSchema: Schema<TUser, import("mongoose").Model<TUser, any, any, any, (import("mongoose").Document<unknown, any, TUser, any, import("mongoose").DefaultSchemaOptions> & TUser & {
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
} & {
|
|
6
6
|
__v: number;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) | (import("mongoose").Document<unknown, any, TUser, any, import("mongoose").DefaultSchemaOptions> & TUser & {
|
|
10
|
+
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
} & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}), any, TUser>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
8
16
|
_id: import("mongoose").Types.ObjectId;
|
|
9
17
|
} & {
|
|
10
18
|
__v: number;
|
|
11
|
-
}
|
|
19
|
+
}, "id"> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, {
|
|
22
|
+
userId?: import("mongoose").SchemaDefinitionProperty<string, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
23
|
+
id: string;
|
|
24
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
25
|
+
_id: import("mongoose").Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, "id"> & {
|
|
29
|
+
id: string;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
guildId?: import("mongoose").SchemaDefinitionProperty<string, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
32
|
+
id: string;
|
|
33
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
34
|
+
_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
} & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, "id"> & {
|
|
38
|
+
id: string;
|
|
39
|
+
}> | undefined;
|
|
40
|
+
balance?: import("mongoose").SchemaDefinitionProperty<number, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
41
|
+
id: string;
|
|
42
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
43
|
+
_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}, "id"> & {
|
|
47
|
+
id: string;
|
|
48
|
+
}> | undefined;
|
|
49
|
+
lockedBalance?: import("mongoose").SchemaDefinitionProperty<number, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
50
|
+
id: string;
|
|
51
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
52
|
+
_id: import("mongoose").Types.ObjectId;
|
|
53
|
+
} & {
|
|
54
|
+
__v: number;
|
|
55
|
+
}, "id"> & {
|
|
56
|
+
id: string;
|
|
57
|
+
}> | undefined;
|
|
58
|
+
lastDailyClaim?: import("mongoose").SchemaDefinitionProperty<Date | null, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
59
|
+
id: string;
|
|
60
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
61
|
+
_id: import("mongoose").Types.ObjectId;
|
|
62
|
+
} & {
|
|
63
|
+
__v: number;
|
|
64
|
+
}, "id"> & {
|
|
65
|
+
id: string;
|
|
66
|
+
}> | undefined;
|
|
67
|
+
dailyStreak?: import("mongoose").SchemaDefinitionProperty<number, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
68
|
+
id: string;
|
|
69
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
70
|
+
_id: import("mongoose").Types.ObjectId;
|
|
71
|
+
} & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}, "id"> & {
|
|
74
|
+
id: string;
|
|
75
|
+
}> | undefined;
|
|
76
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
77
|
+
id: string;
|
|
78
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
} & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}, "id"> & {
|
|
83
|
+
id: string;
|
|
84
|
+
}> | undefined;
|
|
85
|
+
updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, TUser, import("mongoose").Document<unknown, {}, TUser, {
|
|
86
|
+
id: string;
|
|
87
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TUser & {
|
|
88
|
+
_id: import("mongoose").Types.ObjectId;
|
|
89
|
+
} & {
|
|
90
|
+
__v: number;
|
|
91
|
+
}, "id"> & {
|
|
92
|
+
id: string;
|
|
93
|
+
}> | undefined;
|
|
94
|
+
}, TUser>;
|
|
@@ -1,11 +1,85 @@
|
|
|
1
1
|
import { Schema } from 'mongoose';
|
|
2
2
|
import { TVipRoom } from '../types';
|
|
3
|
-
export declare const VipRoomSchema: Schema<TVipRoom, import("mongoose").Model<TVipRoom, any, any, any, import("mongoose").Document<unknown, any, TVipRoom, any,
|
|
3
|
+
export declare const VipRoomSchema: Schema<TVipRoom, import("mongoose").Model<TVipRoom, any, any, any, (import("mongoose").Document<unknown, any, TVipRoom, any, import("mongoose").DefaultSchemaOptions> & TVipRoom & {
|
|
4
4
|
_id: import("mongoose").Types.ObjectId;
|
|
5
5
|
} & {
|
|
6
6
|
__v: number;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
|
+
id: string;
|
|
9
|
+
}) | (import("mongoose").Document<unknown, any, TVipRoom, any, import("mongoose").DefaultSchemaOptions> & TVipRoom & {
|
|
10
|
+
_id: import("mongoose").Types.ObjectId;
|
|
11
|
+
} & {
|
|
12
|
+
__v: number;
|
|
13
|
+
}), any, TVipRoom>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
14
|
+
id: string;
|
|
15
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
8
16
|
_id: import("mongoose").Types.ObjectId;
|
|
9
17
|
} & {
|
|
10
18
|
__v: number;
|
|
11
|
-
}
|
|
19
|
+
}, "id"> & {
|
|
20
|
+
id: string;
|
|
21
|
+
}, {
|
|
22
|
+
ownerId?: import("mongoose").SchemaDefinitionProperty<string, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
23
|
+
id: string;
|
|
24
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
25
|
+
_id: import("mongoose").Types.ObjectId;
|
|
26
|
+
} & {
|
|
27
|
+
__v: number;
|
|
28
|
+
}, "id"> & {
|
|
29
|
+
id: string;
|
|
30
|
+
}> | undefined;
|
|
31
|
+
guildId?: import("mongoose").SchemaDefinitionProperty<string, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
32
|
+
id: string;
|
|
33
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
34
|
+
_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
} & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}, "id"> & {
|
|
38
|
+
id: string;
|
|
39
|
+
}> | undefined;
|
|
40
|
+
channelId?: import("mongoose").SchemaDefinitionProperty<string, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
41
|
+
id: string;
|
|
42
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
43
|
+
_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}, "id"> & {
|
|
47
|
+
id: string;
|
|
48
|
+
}> | undefined;
|
|
49
|
+
expiresAt?: import("mongoose").SchemaDefinitionProperty<Date, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
50
|
+
id: string;
|
|
51
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
52
|
+
_id: import("mongoose").Types.ObjectId;
|
|
53
|
+
} & {
|
|
54
|
+
__v: number;
|
|
55
|
+
}, "id"> & {
|
|
56
|
+
id: string;
|
|
57
|
+
}> | undefined;
|
|
58
|
+
memberIds?: import("mongoose").SchemaDefinitionProperty<string[], TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
59
|
+
id: string;
|
|
60
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
61
|
+
_id: import("mongoose").Types.ObjectId;
|
|
62
|
+
} & {
|
|
63
|
+
__v: number;
|
|
64
|
+
}, "id"> & {
|
|
65
|
+
id: string;
|
|
66
|
+
}> | undefined;
|
|
67
|
+
createdAt?: import("mongoose").SchemaDefinitionProperty<Date, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
68
|
+
id: string;
|
|
69
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
70
|
+
_id: import("mongoose").Types.ObjectId;
|
|
71
|
+
} & {
|
|
72
|
+
__v: number;
|
|
73
|
+
}, "id"> & {
|
|
74
|
+
id: string;
|
|
75
|
+
}> | undefined;
|
|
76
|
+
updatedAt?: import("mongoose").SchemaDefinitionProperty<Date, TVipRoom, import("mongoose").Document<unknown, {}, TVipRoom, {
|
|
77
|
+
id: string;
|
|
78
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TVipRoom & {
|
|
79
|
+
_id: import("mongoose").Types.ObjectId;
|
|
80
|
+
} & {
|
|
81
|
+
__v: number;
|
|
82
|
+
}, "id"> & {
|
|
83
|
+
id: string;
|
|
84
|
+
}> | undefined;
|
|
85
|
+
}, TVipRoom>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gambling-bot-shared",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,11 +19,14 @@
|
|
|
19
19
|
"build": "tsc -p tsconfig.json",
|
|
20
20
|
"release": "pnpm build && npm version patch && npm publish"
|
|
21
21
|
},
|
|
22
|
-
"
|
|
23
|
-
"mongoose": "^
|
|
24
|
-
"zod": "^3.25.76"
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"mongoose": "^9.0.0"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
26
|
+
"mongoose": "^9.1.4",
|
|
27
27
|
"typescript": "^5.9.3"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"zod": "^3.25.76"
|
|
28
31
|
}
|
|
29
32
|
}
|