gambling-bot-shared 0.1.13 → 0.1.18
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.
package/README.MD
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Gambling System – Shared Package
|
|
2
|
+
|
|
3
|
+
This repository is **one part of a larger multi-repository system**.
|
|
4
|
+
|
|
5
|
+
👉 **Full case study & system documentation:**
|
|
6
|
+
https://www.krouskystepan.com/projects/discord-gambling-hub
|
|
7
|
+
|
|
8
|
+
## Repositories
|
|
9
|
+
|
|
10
|
+
The project is split into three repositories:
|
|
11
|
+
|
|
12
|
+
- **Admin Panel**
|
|
13
|
+
Web interface for managing data and configuration.
|
|
14
|
+
🔗 https://github.com/krouskystepan/gambling-bot-admin
|
|
15
|
+
|
|
16
|
+
- **Discord Bot**
|
|
17
|
+
Uses the shared data and logic to run the gambling system inside Discord.
|
|
18
|
+
🔗 https://github.com/krouskystepan/gambling-bot-discord
|
|
19
|
+
|
|
20
|
+
- **Shared Package**
|
|
21
|
+
Common types, database models, and business logic shared between the admin panel and the bot.
|
|
22
|
+
|
|
23
|
+
All architecture decisions, data flow, and detailed explanations are documented in the case study linked above.
|
|
@@ -10,10 +10,6 @@ exports.VipRoomSchema = new mongoose_1.Schema({
|
|
|
10
10
|
type: [String],
|
|
11
11
|
default: [],
|
|
12
12
|
},
|
|
13
|
-
maxMembers: {
|
|
14
|
-
type: Number,
|
|
15
|
-
default: 10,
|
|
16
|
-
},
|
|
17
13
|
expiresAt: { type: Date, required: true },
|
|
18
14
|
}, { timestamps: true });
|
|
19
15
|
exports.VipRoomSchema.index({ expiresAt: 1 });
|
package/dist/types/vipRoom.d.ts
CHANGED