front-back-poker-types 5.0.198 → 5.0.200
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/cjs/index.js +1 -0
- package/dist/cjs/types/ws/room/to-back.d.ts +2 -1
- package/dist/cjs/types/ws/room/to-front.d.ts +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/types/ws/room/to-back.d.ts +2 -1
- package/dist/esm/types/ws/room/to-front.d.ts +1 -1
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -135,6 +135,7 @@ exports.WSMessageTypeToBack = void 0;
|
|
|
135
135
|
WSMessageTypeToBack["SitOut"] = "SitOut";
|
|
136
136
|
WSMessageTypeToBack["Chat"] = "Chat";
|
|
137
137
|
WSMessageTypeToBack["ShowCards"] = "ShowCards";
|
|
138
|
+
WSMessageTypeToBack["TableData"] = "TableData";
|
|
138
139
|
})(exports.WSMessageTypeToBack || (exports.WSMessageTypeToBack = {}));
|
|
139
140
|
exports.ShowCardsType = void 0;
|
|
140
141
|
(function (ShowCardsType) {
|
|
@@ -10,7 +10,8 @@ export declare enum WSMessageTypeToBack {
|
|
|
10
10
|
ExtendTime = "ExtendTime",
|
|
11
11
|
SitOut = "SitOut",
|
|
12
12
|
Chat = "Chat",
|
|
13
|
-
ShowCards = "ShowCards"
|
|
13
|
+
ShowCards = "ShowCards",
|
|
14
|
+
TableData = "TableData"
|
|
14
15
|
}
|
|
15
16
|
export type AmountWSMessageContent = {
|
|
16
17
|
amount: number;
|
package/dist/esm/index.js
CHANGED
|
@@ -133,6 +133,7 @@ var WSMessageTypeToBack;
|
|
|
133
133
|
WSMessageTypeToBack["SitOut"] = "SitOut";
|
|
134
134
|
WSMessageTypeToBack["Chat"] = "Chat";
|
|
135
135
|
WSMessageTypeToBack["ShowCards"] = "ShowCards";
|
|
136
|
+
WSMessageTypeToBack["TableData"] = "TableData";
|
|
136
137
|
})(WSMessageTypeToBack || (WSMessageTypeToBack = {}));
|
|
137
138
|
var ShowCardsType;
|
|
138
139
|
(function (ShowCardsType) {
|
|
@@ -10,7 +10,8 @@ export declare enum WSMessageTypeToBack {
|
|
|
10
10
|
ExtendTime = "ExtendTime",
|
|
11
11
|
SitOut = "SitOut",
|
|
12
12
|
Chat = "Chat",
|
|
13
|
-
ShowCards = "ShowCards"
|
|
13
|
+
ShowCards = "ShowCards",
|
|
14
|
+
TableData = "TableData"
|
|
14
15
|
}
|
|
15
16
|
export type AmountWSMessageContent = {
|
|
16
17
|
amount: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -429,7 +429,8 @@ declare enum WSMessageTypeToBack {
|
|
|
429
429
|
ExtendTime = "ExtendTime",
|
|
430
430
|
SitOut = "SitOut",
|
|
431
431
|
Chat = "Chat",
|
|
432
|
-
ShowCards = "ShowCards"
|
|
432
|
+
ShowCards = "ShowCards",
|
|
433
|
+
TableData = "TableData"
|
|
433
434
|
}
|
|
434
435
|
type AmountWSMessageContent = {
|
|
435
436
|
amount: number;
|
|
@@ -551,7 +552,7 @@ type GameStartUser = {
|
|
|
551
552
|
/**
|
|
552
553
|
* в игре ли юзер
|
|
553
554
|
*/
|
|
554
|
-
|
|
555
|
+
withoutCards: true | undefined;
|
|
555
556
|
};
|
|
556
557
|
type User = {
|
|
557
558
|
avatarId: number;
|