front-back-poker-types 5.0.226 → 5.0.227

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.
@@ -144,6 +144,10 @@ export type TournamentData = {
144
144
  * Первые 3 места игроков по стеку в турнире, сидящие в этой комнате
145
145
  */
146
146
  topUsers: Nullable<Record<UserId, number>>;
147
+ /**
148
+ * Сколько времени осталось до кика из-за ситаута
149
+ */
150
+ sitOutKickCountdown: Nullable<number>;
147
151
  };
148
152
  type Showdown = Record<UserId, Cards>;
149
153
  export type ActionMessageContentToFront = {
@@ -352,9 +356,9 @@ export type SitOutWSMessageToFront = {
352
356
  type: WSMessageTypeToFront.SitOut;
353
357
  content: {
354
358
  /**
355
- * Максимальное время ситаут во время турнира, в мс
359
+ * Сколько времени осталось до кика из-за ситаута, в турнире
356
360
  */
357
- maxSitOutDuration: number;
361
+ sitOutKickCountdown: Nullable<number>;
358
362
  };
359
363
  };
360
364
  export type SitDownWSMessageToFront = {
@@ -144,6 +144,10 @@ export type TournamentData = {
144
144
  * Первые 3 места игроков по стеку в турнире, сидящие в этой комнате
145
145
  */
146
146
  topUsers: Nullable<Record<UserId, number>>;
147
+ /**
148
+ * Сколько времени осталось до кика из-за ситаута
149
+ */
150
+ sitOutKickCountdown: Nullable<number>;
147
151
  };
148
152
  type Showdown = Record<UserId, Cards>;
149
153
  export type ActionMessageContentToFront = {
@@ -352,9 +356,9 @@ export type SitOutWSMessageToFront = {
352
356
  type: WSMessageTypeToFront.SitOut;
353
357
  content: {
354
358
  /**
355
- * Максимальное время ситаут во время турнира, в мс
359
+ * Сколько времени осталось до кика из-за ситаута, в турнире
356
360
  */
357
- maxSitOutDuration: number;
361
+ sitOutKickCountdown: Nullable<number>;
358
362
  };
359
363
  };
360
364
  export type SitDownWSMessageToFront = {
package/dist/index.d.ts CHANGED
@@ -747,6 +747,10 @@ type TournamentData = {
747
747
  * Первые 3 места игроков по стеку в турнире, сидящие в этой комнате
748
748
  */
749
749
  topUsers: Nullable<Record<UserId, number>>;
750
+ /**
751
+ * Сколько времени осталось до кика из-за ситаута
752
+ */
753
+ sitOutKickCountdown: Nullable<number>;
750
754
  };
751
755
  type Showdown = Record<UserId, Cards>;
752
756
  type ActionMessageContentToFront = {
@@ -955,9 +959,9 @@ type SitOutWSMessageToFront = {
955
959
  type: WSMessageTypeToFront.SitOut;
956
960
  content: {
957
961
  /**
958
- * Максимальное время ситаут во время турнира, в мс
962
+ * Сколько времени осталось до кика из-за ситаута, в турнире
959
963
  */
960
- maxSitOutDuration: number;
964
+ sitOutKickCountdown: Nullable<number>;
961
965
  };
962
966
  };
963
967
  type SitDownWSMessageToFront = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "front-back-poker-types",
3
- "version": "5.0.226",
3
+ "version": "5.0.227",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "files": [