@duque.edits/sdk 1.0.87 → 1.1.0
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/dist/index-BHHXH2xN.d.mts +1379 -0
- package/dist/index-C87LbIta.d.ts +1379 -0
- package/dist/index.d.mts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +4054 -19
- package/dist/index.mjs +4007 -0
- package/dist/managers/automaticmessage/AutomaticMessageManager.d.mts +20 -0
- package/dist/managers/automaticmessage/AutomaticMessageManager.d.ts +20 -0
- package/dist/managers/automaticmessage/AutomaticMessageManager.js +798 -0
- package/dist/managers/automaticmessage/AutomaticMessageManager.mjs +790 -0
- package/dist/managers/base.d.mts +20 -0
- package/dist/managers/base.d.ts +20 -0
- package/dist/managers/base.js +124 -15
- package/dist/managers/base.mjs +104 -0
- package/dist/managers/bet/GuildBetManager.d.mts +20 -0
- package/dist/managers/bet/GuildBetManager.d.ts +20 -0
- package/dist/managers/bet/GuildBetManager.js +947 -58
- package/dist/managers/bet/GuildBetManager.mjs +946 -0
- package/dist/managers/betuser/GuildBetUserManager.d.mts +20 -0
- package/dist/managers/betuser/GuildBetUserManager.d.ts +20 -0
- package/dist/managers/betuser/GuildBetUserManager.js +506 -78
- package/dist/managers/betuser/GuildBetUserManager.mjs +489 -0
- package/dist/managers/buffer/BufferManager.d.mts +20 -0
- package/dist/managers/buffer/BufferManager.d.ts +20 -0
- package/dist/managers/buffer/BufferManager.js +247 -37
- package/dist/managers/buffer/BufferManager.mjs +223 -0
- package/dist/managers/guild/GuildManager.d.mts +20 -0
- package/dist/managers/guild/GuildManager.d.ts +20 -0
- package/dist/managers/guild/GuildManager.js +3598 -87
- package/dist/managers/guild/GuildManager.mjs +3600 -0
- package/dist/managers/index.d.mts +20 -0
- package/dist/managers/index.d.ts +20 -0
- package/dist/managers/index.js +3766 -29
- package/dist/managers/index.mjs +3745 -0
- package/dist/managers/logs/LogManager.d.mts +20 -0
- package/dist/managers/logs/LogManager.d.ts +20 -0
- package/dist/managers/logs/LogManager.js +721 -55
- package/dist/managers/logs/LogManager.mjs +726 -0
- package/dist/managers/match/GuildMatchManager.d.mts +20 -0
- package/dist/managers/match/GuildMatchManager.d.ts +20 -0
- package/dist/managers/match/GuildMatchManager.js +1285 -95
- package/dist/managers/match/GuildMatchManager.mjs +1289 -0
- package/dist/managers/mediator/GuildMediatorManager.d.mts +20 -0
- package/dist/managers/mediator/GuildMediatorManager.d.ts +20 -0
- package/dist/managers/mediator/GuildMediatorManager.js +434 -86
- package/dist/managers/mediator/GuildMediatorManager.mjs +417 -0
- package/dist/managers/message/MessagesManager.d.mts +20 -0
- package/dist/managers/message/MessagesManager.d.ts +20 -0
- package/dist/managers/message/MessagesManager.js +158 -55
- package/dist/managers/message/MessagesManager.mjs +134 -0
- package/dist/managers/minesgame/MinesGameManager.d.mts +20 -0
- package/dist/managers/minesgame/MinesGameManager.d.ts +20 -0
- package/dist/managers/minesgame/MinesGameManager.js +714 -61
- package/dist/managers/minesgame/MinesGameManager.mjs +712 -0
- package/dist/managers/permission/GuildPermissionManager.d.mts +20 -0
- package/dist/managers/permission/GuildPermissionManager.d.ts +20 -0
- package/dist/managers/permission/GuildPermissionManager.js +277 -55
- package/dist/managers/permission/GuildPermissionManager.mjs +253 -0
- package/dist/managers/player/PlayerManager.d.mts +20 -0
- package/dist/managers/player/PlayerManager.d.ts +20 -0
- package/dist/managers/player/PlayerManager.js +174 -71
- package/dist/managers/player/PlayerManager.mjs +155 -0
- package/dist/managers/ticket/TicketManager.d.mts +20 -0
- package/dist/managers/ticket/TicketManager.d.ts +20 -0
- package/dist/managers/ticket/TicketManager.js +812 -116
- package/dist/managers/ticket/TicketManager.mjs +813 -0
- package/dist/managers/user/GuildUserManager.d.mts +20 -0
- package/dist/managers/user/GuildUserManager.d.ts +20 -0
- package/dist/managers/user/GuildUserManager.js +574 -90
- package/dist/managers/user/GuildUserManager.mjs +554 -0
- package/dist/managers/vipmember/VipMemberManager.d.mts +20 -0
- package/dist/managers/vipmember/VipMemberManager.d.ts +20 -0
- package/dist/managers/vipmember/VipMemberManager.js +525 -114
- package/dist/managers/vipmember/VipMemberManager.mjs +510 -0
- package/dist/rest/APIEndpoints.d.mts +12 -0
- package/{types → dist}/rest/APIEndpoints.d.ts +4 -3
- package/dist/rest/APIEndpoints.js +40 -10
- package/dist/rest/APIEndpoints.mjs +19 -0
- package/dist/rest/REST.d.mts +20 -0
- package/dist/rest/REST.d.ts +20 -0
- package/dist/rest/REST.js +3828 -112
- package/dist/rest/REST.mjs +3832 -0
- package/dist/rest/Routes.d.mts +104 -0
- package/{types → dist}/rest/Routes.d.ts +7 -3
- package/dist/rest/Routes.js +124 -98
- package/dist/rest/Routes.mjs +104 -0
- package/dist/rest/index.d.mts +22 -0
- package/dist/rest/index.d.ts +22 -0
- package/dist/rest/index.js +3856 -18
- package/dist/rest/index.mjs +3847 -0
- package/dist/structures/Collection.d.mts +19 -0
- package/{types → dist}/structures/Collection.d.ts +3 -1
- package/dist/structures/Collection.js +102 -81
- package/dist/structures/Collection.mjs +87 -0
- package/dist/structures/automaticmessage/AutomaticMessage.d.mts +20 -0
- package/dist/structures/automaticmessage/AutomaticMessage.d.ts +20 -0
- package/dist/structures/automaticmessage/AutomaticMessage.js +613 -0
- package/dist/structures/automaticmessage/AutomaticMessage.mjs +605 -0
- package/dist/structures/bet/GuildBet.d.mts +20 -0
- package/dist/structures/bet/GuildBet.d.ts +20 -0
- package/dist/structures/bet/GuildBet.js +861 -169
- package/dist/structures/bet/GuildBet.mjs +872 -0
- package/dist/structures/betuser/GuildBetUser.d.mts +20 -0
- package/dist/structures/betuser/GuildBetUser.d.ts +20 -0
- package/dist/structures/betuser/GuildBetUser.js +323 -201
- package/dist/structures/betuser/GuildBetUser.mjs +316 -0
- package/dist/structures/guild/Guild.d.mts +20 -0
- package/dist/structures/guild/Guild.d.ts +20 -0
- package/dist/structures/guild/Guild.js +3499 -452
- package/dist/structures/guild/Guild.mjs +3513 -0
- package/dist/structures/index.d.mts +20 -0
- package/dist/structures/index.d.ts +20 -0
- package/dist/structures/index.js +3610 -26
- package/dist/structures/index.mjs +3593 -0
- package/dist/structures/logentry/LogEntry.d.mts +20 -0
- package/dist/structures/logentry/LogEntry.d.ts +20 -0
- package/dist/structures/logentry/LogEntry.js +568 -62
- package/dist/structures/logentry/LogEntry.mjs +566 -0
- package/dist/structures/match/GuildMatch.d.mts +20 -0
- package/dist/structures/match/GuildMatch.d.ts +20 -0
- package/dist/structures/match/GuildMatch.js +1165 -250
- package/dist/structures/match/GuildMatch.mjs +1178 -0
- package/dist/structures/mediator/GuildMediator.d.mts +20 -0
- package/dist/structures/mediator/GuildMediator.d.ts +20 -0
- package/dist/structures/mediator/GuildMediator.js +252 -124
- package/dist/structures/mediator/GuildMediator.mjs +236 -0
- package/dist/structures/minesgame/MinesGame.d.mts +20 -0
- package/dist/structures/minesgame/MinesGame.d.ts +20 -0
- package/dist/structures/minesgame/MinesGame.js +574 -68
- package/dist/structures/minesgame/MinesGame.mjs +570 -0
- package/dist/structures/ticket/Ticket.d.mts +20 -0
- package/dist/structures/ticket/Ticket.d.ts +20 -0
- package/dist/structures/ticket/Ticket.js +621 -115
- package/dist/structures/ticket/Ticket.mjs +617 -0
- package/dist/structures/user/GuildUser.d.mts +20 -0
- package/dist/structures/user/GuildUser.d.ts +20 -0
- package/dist/structures/user/GuildUser.js +374 -257
- package/dist/structures/user/GuildUser.mjs +372 -0
- package/dist/structures/vipmember/VipMember.d.mts +20 -0
- package/dist/structures/vipmember/VipMember.d.ts +20 -0
- package/dist/structures/vipmember/VipMember.js +261 -123
- package/dist/structures/vipmember/VipMember.mjs +250 -0
- package/dist/types/RestTypes.d.mts +20 -0
- package/dist/types/RestTypes.d.ts +20 -0
- package/dist/types/RestTypes.js +17 -1
- package/dist/types/RestTypes.mjs +0 -0
- package/dist/types/api/APIAdvert.d.mts +13 -0
- package/{types → dist}/types/api/APIAdvert.d.ts +3 -1
- package/dist/types/api/APIAdvert.js +17 -1
- package/dist/types/api/APIAdvert.mjs +0 -0
- package/dist/types/api/APIAutomaticMessage.d.mts +20 -0
- package/dist/types/api/APIAutomaticMessage.d.ts +20 -0
- package/dist/types/api/APIAutomaticMessage.js +18 -0
- package/dist/types/api/APIAutomaticMessage.mjs +0 -0
- package/dist/types/api/APIBaseChannel.d.mts +12 -0
- package/{types → dist}/types/api/APIBaseChannel.d.ts +3 -1
- package/dist/types/api/APIBaseChannel.js +17 -1
- package/dist/types/api/APIBaseChannel.mjs +0 -0
- package/{types/types/api/APIGuildEmoji.d.ts → dist/types/api/APIBetChannel.d.mts} +6 -6
- package/{types → dist}/types/api/APIBetChannel.d.ts +3 -1
- package/dist/types/api/APIBetChannel.js +17 -1
- package/dist/types/api/APIBetChannel.mjs +0 -0
- package/dist/types/api/APICode.d.mts +12 -0
- package/{types → dist}/types/api/APICode.d.ts +3 -1
- package/dist/types/api/APICode.js +17 -1
- package/dist/types/api/APICode.mjs +0 -0
- package/dist/types/api/APIGiveaway.d.mts +29 -0
- package/{types → dist}/types/api/APIGiveaway.d.ts +5 -3
- package/dist/types/api/APIGiveaway.js +17 -1
- package/dist/types/api/APIGiveaway.mjs +0 -0
- package/dist/types/api/APIGuild.d.mts +20 -0
- package/dist/types/api/APIGuild.d.ts +20 -0
- package/dist/types/api/APIGuild.js +72 -41
- package/dist/types/api/APIGuild.mjs +46 -0
- package/dist/types/api/APIGuildAdvert.d.mts +10 -0
- package/{types → dist}/types/api/APIGuildAdvert.d.ts +3 -1
- package/dist/types/api/APIGuildAdvert.js +17 -1
- package/dist/types/api/APIGuildAdvert.mjs +0 -0
- package/dist/types/api/APIGuildBet.d.mts +20 -0
- package/dist/types/api/APIGuildBet.d.ts +20 -0
- package/dist/types/api/APIGuildBet.js +32 -6
- package/dist/types/api/APIGuildBet.mjs +8 -0
- package/dist/types/api/APIGuildBetUser.d.mts +20 -0
- package/dist/types/api/APIGuildBetUser.d.ts +20 -0
- package/dist/types/api/APIGuildBetUser.js +17 -1
- package/dist/types/api/APIGuildBetUser.mjs +0 -0
- package/{types/types/api/APIGuildMessage.d.ts → dist/types/api/APIGuildChannel.d.mts} +5 -3
- package/{types → dist}/types/api/APIGuildChannel.d.ts +3 -1
- package/dist/types/api/APIGuildChannel.js +17 -1
- package/dist/types/api/APIGuildChannel.mjs +0 -0
- package/dist/types/api/APIGuildGroupedChannel.d.mts +20 -0
- package/dist/types/api/APIGuildGroupedChannel.d.ts +20 -0
- package/dist/types/api/APIGuildGroupedChannel.js +17 -1
- package/dist/types/api/APIGuildGroupedChannel.mjs +0 -0
- package/dist/types/api/APIGuildMatch.d.mts +20 -0
- package/dist/types/api/APIGuildMatch.d.ts +20 -0
- package/dist/types/api/APIGuildMatch.js +39 -11
- package/dist/types/api/APIGuildMatch.mjs +14 -0
- package/dist/types/api/APIGuildMediator.d.mts +16 -0
- package/{types → dist}/types/api/APIGuildMediator.d.ts +3 -1
- package/dist/types/api/APIGuildMediator.js +17 -1
- package/dist/types/api/APIGuildMediator.mjs +0 -0
- package/dist/types/api/APIGuildPermissions.d.mts +15 -0
- package/{types → dist}/types/api/APIGuildPermissions.d.ts +5 -3
- package/dist/types/api/APIGuildPermissions.js +37 -11
- package/dist/types/api/APIGuildPermissions.mjs +13 -0
- package/dist/types/api/APIGuildShop.d.mts +15 -0
- package/{types → dist}/types/api/APIGuildShop.d.ts +6 -2
- package/dist/types/api/APIGuildShop.js +17 -1
- package/dist/types/api/APIGuildShop.mjs +0 -0
- package/dist/types/api/APIGuildTicket.d.mts +19 -0
- package/{types → dist}/types/api/APIGuildTicket.d.ts +5 -2
- package/dist/types/api/APIGuildTicket.js +17 -1
- package/dist/types/api/APIGuildTicket.mjs +0 -0
- package/dist/types/api/APIGuildUser.d.mts +20 -0
- package/dist/types/api/APIGuildUser.d.ts +20 -0
- package/dist/types/api/APIGuildUser.js +17 -1
- package/dist/types/api/APIGuildUser.mjs +0 -0
- package/dist/types/api/APILogEntry.d.mts +32 -0
- package/{types → dist}/types/api/APILogEntry.d.ts +4 -2
- package/dist/types/api/APILogEntry.js +44 -18
- package/dist/types/api/APILogEntry.mjs +20 -0
- package/dist/types/api/APIMessage.d.mts +13 -0
- package/{types → dist}/types/api/APIMessage.d.ts +3 -1
- package/dist/types/api/APIMessage.js +17 -1
- package/dist/types/api/APIMessage.mjs +0 -0
- package/dist/types/api/APIMinesGame.d.mts +15 -0
- package/{types → dist}/types/api/APIMinesGame.d.ts +3 -1
- package/dist/types/api/APIMinesGame.js +17 -1
- package/dist/types/api/APIMinesGame.mjs +0 -0
- package/dist/types/api/APIPlayer.d.mts +10 -0
- package/{types → dist}/types/api/APIPlayer.d.ts +3 -1
- package/dist/types/api/APIPlayer.js +17 -1
- package/dist/types/api/APIPlayer.mjs +0 -0
- package/dist/types/api/APIProduct.d.mts +22 -0
- package/{types → dist}/types/api/APIProduct.d.ts +5 -2
- package/dist/types/api/APIProduct.js +17 -2
- package/dist/types/api/APIProduct.mjs +0 -0
- package/dist/types/api/APIVipMember.d.mts +22 -0
- package/{types → dist}/types/api/APIVipMember.d.ts +3 -1
- package/dist/types/api/APIVipMember.js +17 -1
- package/dist/types/api/APIVipMember.mjs +0 -0
- package/dist/types/api/index.d.mts +20 -0
- package/dist/types/api/index.d.ts +20 -0
- package/dist/types/api/index.js +171 -70
- package/dist/types/api/index.mjs +135 -0
- package/dist/types/index.d.mts +20 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/index.js +171 -16
- package/dist/types/index.mjs +135 -0
- package/dist/utils/Assertion.d.mts +34 -0
- package/{types → dist}/utils/Assertion.d.ts +3 -1
- package/dist/utils/Assertion.js +76 -59
- package/dist/utils/Assertion.mjs +52 -0
- package/dist/utils/getRandomNumber.d.mts +3 -0
- package/dist/utils/getRandomNumber.d.ts +3 -0
- package/dist/utils/getRandomNumber.js +29 -3
- package/dist/utils/getRandomNumber.mjs +7 -0
- package/dist/utils/randomKeyGenerator.d.mts +3 -0
- package/dist/utils/randomKeyGenerator.d.ts +3 -0
- package/dist/utils/randomKeyGenerator.js +33 -0
- package/dist/utils/randomKeyGenerator.mjs +8 -0
- package/package.json +12 -6
- package/dist/types/api/APIBetMessage.js +0 -2
- package/dist/types/api/APIGuildEmoji.js +0 -2
- package/dist/types/api/APIGuildRole.js +0 -2
- package/dist/types/api/APILogMessage.js +0 -2
- package/types/index.d.ts +0 -4
- package/types/managers/base.d.ts +0 -14
- package/types/managers/bet/GuildBetManager.d.ts +0 -15
- package/types/managers/betuser/GuildBetUserManager.d.ts +0 -18
- package/types/managers/buffer/BufferManager.d.ts +0 -19
- package/types/managers/guild/GuildManager.d.ts +0 -32
- package/types/managers/index.d.ts +0 -14
- package/types/managers/logs/LogManager.d.ts +0 -10
- package/types/managers/match/GuildMatchManager.d.ts +0 -29
- package/types/managers/mediator/GuildMediatorManager.d.ts +0 -19
- package/types/managers/message/MessagesManager.d.ts +0 -20
- package/types/managers/minesgame/MinesGameManager.d.ts +0 -17
- package/types/managers/permission/GuildPermissionManager.d.ts +0 -8
- package/types/managers/player/PlayerManager.d.ts +0 -28
- package/types/managers/ticket/TicketManager.d.ts +0 -24
- package/types/managers/user/GuildUserManager.d.ts +0 -18
- package/types/managers/vipmember/VipMemberManager.d.ts +0 -32
- package/types/rest/REST.d.ts +0 -56
- package/types/rest/index.d.ts +0 -3
- package/types/structures/bet/GuildBet.d.ts +0 -54
- package/types/structures/betuser/GuildBetUser.d.ts +0 -71
- package/types/structures/guild/Guild.d.ts +0 -85
- package/types/structures/index.d.ts +0 -11
- package/types/structures/logentry/LogEntry.d.ts +0 -28
- package/types/structures/match/GuildMatch.d.ts +0 -76
- package/types/structures/mediator/GuildMediator.d.ts +0 -50
- package/types/structures/minesgame/MinesGame.d.ts +0 -23
- package/types/structures/ticket/Ticket.d.ts +0 -30
- package/types/structures/user/GuildUser.d.ts +0 -75
- package/types/structures/vipmember/VipMember.d.ts +0 -54
- package/types/types/RestTypes.d.ts +0 -47
- package/types/types/api/APIBetMessage.d.ts +0 -10
- package/types/types/api/APIGuild.d.ts +0 -132
- package/types/types/api/APIGuildBet.d.ts +0 -51
- package/types/types/api/APIGuildBetUser.d.ts +0 -27
- package/types/types/api/APIGuildGroupedChannel.d.ts +0 -7
- package/types/types/api/APIGuildMatch.d.ts +0 -58
- package/types/types/api/APIGuildRole.d.ts +0 -10
- package/types/types/api/APIGuildUser.d.ts +0 -41
- package/types/types/api/APILogMessage.d.ts +0 -7
- package/types/types/api/index.d.ts +0 -161
- package/types/types/index.d.ts +0 -2
- package/types/utils/getRandomNumber.d.ts +0 -1
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
export interface APITicketCategory {
|
|
2
|
-
/** Category's type */
|
|
3
|
-
type: string;
|
|
4
|
-
/** Category's emoji */
|
|
5
|
-
emoji: string;
|
|
6
|
-
/** Category's description */
|
|
7
|
-
description: string;
|
|
8
|
-
/** Category's alias */
|
|
9
|
-
alias: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LogMessage {
|
|
12
|
-
/** The message's content */
|
|
13
|
-
content: string | Buffer<any>;
|
|
14
|
-
/** The message's sender */
|
|
15
|
-
userId: string;
|
|
16
|
-
/** The message's type */
|
|
17
|
-
type: string;
|
|
18
|
-
/** Creation Date */
|
|
19
|
-
createdAt: Date;
|
|
20
|
-
/** Updated Date */
|
|
21
|
-
updatedAt: Date;
|
|
22
|
-
}
|
|
23
|
-
/** Base match modes */
|
|
24
|
-
export type BaseMatchModes = "1v1" | "2v2" | "3v3" | "4v4" | "5v5" | "6v6";
|
|
25
|
-
/** Base match status */
|
|
26
|
-
export type BaseMatchStatus = "on" | "created" | "off" | "shutted";
|
|
27
|
-
/** The logs of the structure */
|
|
28
|
-
export interface Logs {
|
|
29
|
-
/** The messages of the structure */
|
|
30
|
-
messages: LogMessage[];
|
|
31
|
-
}
|
|
32
|
-
/** Original Channel */
|
|
33
|
-
export type OriginalChannel = {
|
|
34
|
-
/** Channel id */
|
|
35
|
-
channelId: string;
|
|
36
|
-
/** Match id */
|
|
37
|
-
matchId: string;
|
|
38
|
-
};
|
|
39
|
-
/** Original Channels */
|
|
40
|
-
export type OriginalChannels = OriginalChannel[];
|
|
41
|
-
/** Accessories */
|
|
42
|
-
export type Accessory = {
|
|
43
|
-
/** Accessory type */
|
|
44
|
-
type: "point_protect" | "immunity" | "double_points";
|
|
45
|
-
/** Accessory longevity */
|
|
46
|
-
longevity: string;
|
|
47
|
-
/** Accessory adder */
|
|
48
|
-
addedBy: string;
|
|
49
|
-
/** When accessory added */
|
|
50
|
-
when: Date;
|
|
51
|
-
createdAt: Date;
|
|
52
|
-
updatedAt: Date;
|
|
53
|
-
/** If accessory has expired */
|
|
54
|
-
expired: boolean;
|
|
55
|
-
};
|
|
56
|
-
/** Daily information */
|
|
57
|
-
export type Daily = {
|
|
58
|
-
/** Wins */
|
|
59
|
-
wins: number;
|
|
60
|
-
/** Coins */
|
|
61
|
-
coins: number;
|
|
62
|
-
/** Points */
|
|
63
|
-
points: number;
|
|
64
|
-
/** Credit */
|
|
65
|
-
credit: number;
|
|
66
|
-
/** Losses */
|
|
67
|
-
losses: number;
|
|
68
|
-
/** Mvps */
|
|
69
|
-
mvps: number;
|
|
70
|
-
/** Date of the daily */
|
|
71
|
-
date: Date;
|
|
72
|
-
};
|
|
73
|
-
export interface Banner {
|
|
74
|
-
/** Equipped banner */
|
|
75
|
-
equipped: number;
|
|
76
|
-
/** Bought banners */
|
|
77
|
-
allowed: number[];
|
|
78
|
-
}
|
|
79
|
-
export interface ProfileCard {
|
|
80
|
-
/** Profile's description */
|
|
81
|
-
description: string;
|
|
82
|
-
/** Profile's banner */
|
|
83
|
-
banner: Banner;
|
|
84
|
-
}
|
|
85
|
-
export interface Confirm {
|
|
86
|
-
/** Confirm's type */
|
|
87
|
-
type: string;
|
|
88
|
-
/** Confirm's id */
|
|
89
|
-
ids: string[];
|
|
90
|
-
/** Confirm's counts */
|
|
91
|
-
count: number;
|
|
92
|
-
}
|
|
93
|
-
export type Optional<T> = {
|
|
94
|
-
[K in keyof T]?: T[K];
|
|
95
|
-
};
|
|
96
|
-
export declare enum MATCHTYPES {
|
|
97
|
-
OneVOne = "1v1",
|
|
98
|
-
TwoVTwo = "2v2",
|
|
99
|
-
ThreeVThree = "3v3",
|
|
100
|
-
FourVFour = "4v4",
|
|
101
|
-
FiveVFive = "5v5",
|
|
102
|
-
SixVSix = "6v6"
|
|
103
|
-
}
|
|
104
|
-
export declare enum MATCHSTATUS {
|
|
105
|
-
ON = "on",
|
|
106
|
-
OFF = "off",
|
|
107
|
-
CREATED = "created",
|
|
108
|
-
SHUTTED = "shutted"
|
|
109
|
-
}
|
|
110
|
-
export declare enum BETSTATUS {
|
|
111
|
-
ON = "on",
|
|
112
|
-
OFF = "off",
|
|
113
|
-
CREATED = "created",
|
|
114
|
-
SHUTTED = "shutted",
|
|
115
|
-
WAITING = "waiting"
|
|
116
|
-
}
|
|
117
|
-
export declare enum STATES {
|
|
118
|
-
ON = "on",
|
|
119
|
-
OFF = "off",
|
|
120
|
-
CREATED = "created",
|
|
121
|
-
SHUTTED = "shutted",
|
|
122
|
-
WAITING = "waiting"
|
|
123
|
-
}
|
|
124
|
-
export interface StatusResponse {
|
|
125
|
-
status: "ok" | "error";
|
|
126
|
-
services: {
|
|
127
|
-
fastify: boolean;
|
|
128
|
-
mongo: {
|
|
129
|
-
ok: boolean;
|
|
130
|
-
latency: number;
|
|
131
|
-
};
|
|
132
|
-
redis: {
|
|
133
|
-
ok: boolean;
|
|
134
|
-
latency: number;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
timestamp: string;
|
|
138
|
-
}
|
|
139
|
-
export * from "./APIAdvert";
|
|
140
|
-
export * from "./APIBaseChannel";
|
|
141
|
-
export * from "./APIBetChannel";
|
|
142
|
-
export * from "./APICode";
|
|
143
|
-
export * from "./APIGiveaway";
|
|
144
|
-
export * from "./APIGuild";
|
|
145
|
-
export * from "./APIGuildAdvert";
|
|
146
|
-
export * from "./APIGuildBet";
|
|
147
|
-
export * from "./APIGuildBetUser";
|
|
148
|
-
export * from "./APIGuildChannel";
|
|
149
|
-
export * from "./APIGuildGroupedChannel";
|
|
150
|
-
export * from "./APIGuildMatch";
|
|
151
|
-
export * from "./APIGuildMediator";
|
|
152
|
-
export * from "./APIGuildPermissions";
|
|
153
|
-
export * from "./APIGuildShop";
|
|
154
|
-
export * from "./APIGuildTicket";
|
|
155
|
-
export * from "./APIGuildUser";
|
|
156
|
-
export * from "./APILogEntry";
|
|
157
|
-
export * from "./APIMessage";
|
|
158
|
-
export * from "./APIMinesGame";
|
|
159
|
-
export * from "./APIPlayer";
|
|
160
|
-
export * from "./APIProduct";
|
|
161
|
-
export * from "./APIVipMember";
|
package/types/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getRandomNumber(min: number, max: number): number;
|