game_client_logic_deb 1.8.96 → 1.8.104

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.
Files changed (34) hide show
  1. package/Kosi-Kaverit-kaverit.js +98 -99
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +803 -804
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -202
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-core.js +1918 -2300
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +16480 -20499
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.d.ts +92 -127
  12. package/Logic_Debertz-game_client.js +5078 -5649
  13. package/Logic_Debertz-game_client.js.map +1 -1
  14. package/kotlin-kotlin-stdlib.js +8597 -7800
  15. package/kotlin-kotlin-stdlib.js.map +1 -1
  16. package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
  17. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
  18. package/kotlinx-atomicfu.js +54 -39
  19. package/kotlinx-atomicfu.js.map +1 -1
  20. package/kotlinx-coroutines-core.js +2899 -2964
  21. package/kotlinx-coroutines-core.js.map +1 -1
  22. package/kotlinx-io-kotlinx-io-bytestring.js +1 -1
  23. package/kotlinx-io-kotlinx-io-core.js +326 -358
  24. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  25. package/kotlinx-serialization-kotlinx-serialization-core.js +2416 -2452
  26. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  27. package/kotlinx-serialization-kotlinx-serialization-json.js +1699 -1842
  28. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  29. package/package.json +1 -1
  30. package/raspberry-cardgame-lib-core.js +281 -290
  31. package/raspberry-cardgame-lib-core.js.map +1 -1
  32. package/secure-random-secure-random.js +1 -1
  33. package/uuid.js +44 -59
  34. package/uuid.js.map +1 -1
@@ -1,4 +1,24 @@
1
1
  type Nullable<T> = T | null | undefined
2
+ export declare namespace kotlin.collections {
3
+ interface KtList<E> /* extends kotlin.collections.Collection<E> */ {
4
+ asJsReadonlyArrayView(): ReadonlyArray<E>;
5
+ readonly __doNotUseOrImplementIt: {
6
+ readonly "kotlin.collections.KtList": unique symbol;
7
+ };
8
+ }
9
+ interface KtSet<E> /* extends kotlin.collections.Collection<E> */ {
10
+ asJsReadonlySetView(): ReadonlySet<E>;
11
+ readonly __doNotUseOrImplementIt: {
12
+ readonly "kotlin.collections.KtSet": unique symbol;
13
+ };
14
+ }
15
+ interface KtMap<K, V> {
16
+ asJsReadonlyMapView(): ReadonlyMap<K, V>;
17
+ readonly __doNotUseOrImplementIt: {
18
+ readonly "kotlin.collections.KtMap": unique symbol;
19
+ };
20
+ }
21
+ }
2
22
  export declare namespace io.raspberryapps.cardgame.core {
3
23
  const CoreConfig: {
4
24
  get version(): string;
@@ -7,9 +27,6 @@ export declare namespace io.raspberryapps.cardgame.core {
7
27
  export declare namespace io.raspberryapps.card_game.core.utils.logger {
8
28
  interface LoggerEnabledTrigger extends io.raspberryapps.card_game.core.utils.logger.RaspberryLogger {
9
29
  enabled: boolean;
10
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
11
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
12
- w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
13
30
  readonly __doNotUseOrImplementIt: {
14
31
  readonly "io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger": unique symbol;
15
32
  } & io.raspberryapps.card_game.core.utils.logger.RaspberryLogger["__doNotUseOrImplementIt"];
@@ -24,9 +41,6 @@ export declare namespace io.raspberryapps.card_game.core.utils.logger {
24
41
  }
25
42
  export declare namespace io.raspberryapps.card_game.core.utils.logger {
26
43
  interface RaspberryLogger extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
27
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
28
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
29
- w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
30
44
  readonly __doNotUseOrImplementIt: {
31
45
  readonly "io.raspberryapps.card_game.core.utils.logger.RaspberryLogger": unique symbol;
32
46
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
@@ -71,6 +85,7 @@ export declare namespace com.logic.data.models {
71
85
  static get Companion(): {
72
86
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
73
87
  }
88
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
74
89
  class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
75
90
  constructor(playerId: string, tag: Nullable<string>);
76
91
  get tag(): Nullable<string>;
@@ -81,6 +96,7 @@ export declare namespace com.logic.data.models {
81
96
  static get Companion(): {
82
97
  };
83
98
  }
99
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
84
100
  class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
85
101
  constructor(playerId: string, tag: Nullable<string>);
86
102
  get tag(): Nullable<string>;
@@ -91,6 +107,7 @@ export declare namespace com.logic.data.models {
91
107
  static get Companion(): {
92
108
  };
93
109
  }
110
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
94
111
  class PlayerExitReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
95
112
  constructor(playerId: string);
96
113
  copy(playerId?: string): com.logic.data.models.PlayerExitReason;
@@ -100,6 +117,7 @@ export declare namespace com.logic.data.models {
100
117
  static get Companion(): {
101
118
  };
102
119
  }
120
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
103
121
  class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
104
122
  constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
105
123
  get reason(): com.logic.data.models.GameFinishedReason.Reason;
@@ -129,14 +147,15 @@ export declare namespace com.logic.data.models {
129
147
  get name(): "GAME_NOT_EXISTS";
130
148
  get ordinal(): 3;
131
149
  };
132
- static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
133
- static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
134
150
  get name(): "DEPLOY" | "PLAYER_DELETED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
135
151
  get ordinal(): 0 | 1 | 2 | 3;
152
+ static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
153
+ static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
136
154
  static get Companion(): {
137
155
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
138
156
  }
139
157
  }
158
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
140
159
  class GameErrorReason extends com.logic.data.models.TerminationGameReason {
141
160
  constructor(reason: string);
142
161
  get reason(): string;
@@ -149,9 +168,13 @@ export declare namespace com.logic.data.models {
149
168
  }
150
169
  const WaitingForConnectionReason: {
151
170
  toString(): string;
171
+ hashCode(): number;
172
+ equals(other: Nullable<any>): boolean;
152
173
  } & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
153
174
  const ProcessingReason: {
154
175
  toString(): string;
176
+ hashCode(): number;
177
+ equals(other: Nullable<any>): boolean;
155
178
  } & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
156
179
  }
157
180
  export declare namespace com.logic.data.models.player {
@@ -177,8 +200,8 @@ export declare namespace com.logic.data.models.player {
177
200
  readonly "com.logic.data.models.player.PlayerIdContract": unique symbol;
178
201
  };
179
202
  }
180
- function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, id: string): T;
181
- function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, playerId: string): number;
203
+ function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, id: string): T;
204
+ function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, playerId: string): number;
182
205
  }
183
206
  export declare namespace com.logic.data.models.player {
184
207
  abstract class PlayerConnectionState {
@@ -207,6 +230,8 @@ export declare namespace com.logic.data.models.player {
207
230
  get name(): "DELETED";
208
231
  get ordinal(): 5;
209
232
  };
233
+ get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
234
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
210
235
  get isLive(): boolean;
211
236
  get isTimeOut(): boolean;
212
237
  get isLostConnection(): boolean;
@@ -219,8 +244,6 @@ export declare namespace com.logic.data.models.player {
219
244
  get isServerDisconnectReason(): boolean;
220
245
  static values(): Array<com.logic.data.models.player.PlayerConnectionState>;
221
246
  static valueOf(value: string): com.logic.data.models.player.PlayerConnectionState;
222
- get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
223
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
224
247
  static get Companion(): {
225
248
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
226
249
  }
@@ -262,7 +285,6 @@ export declare namespace com.logic.data.models.rules {
262
285
  export declare namespace com.logic.data.models.rules {
263
286
  abstract class RulesSetType {
264
287
  private constructor();
265
- get value(): string;
266
288
  static get belot(): com.logic.data.models.rules.RulesSetType & {
267
289
  get name(): "belot";
268
290
  get ordinal(): 0;
@@ -287,12 +309,13 @@ export declare namespace com.logic.data.models.rules {
287
309
  get name(): "custom";
288
310
  get ordinal(): 5;
289
311
  };
312
+ get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
313
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
314
+ get value(): string;
290
315
  getRules(): com.logic.data.models.rules.Rules;
291
316
  get isCustom(): boolean;
292
317
  static values(): Array<com.logic.data.models.rules.RulesSetType>;
293
318
  static valueOf(value: string): com.logic.data.models.rules.RulesSetType;
294
- get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
295
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
296
319
  }
297
320
  }
298
321
  export declare namespace com.logic.data.models.serializable.rules {
@@ -325,19 +348,16 @@ export declare namespace com.logic.data.models.serializable.rules {
325
348
  }
326
349
  export declare namespace com.logic.redux.actions {
327
350
  interface BufferedAction extends com.logic.redux.store.definitions.Action {
328
- readonly actionTag: string;
329
351
  readonly __doNotUseOrImplementIt: {
330
352
  readonly "com.logic.redux.actions.BufferedAction": unique symbol;
331
353
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
332
354
  }
333
355
  interface IgnoreBufferForAction extends com.logic.redux.store.definitions.Action {
334
- readonly actionTag: string;
335
356
  readonly __doNotUseOrImplementIt: {
336
357
  readonly "com.logic.redux.actions.IgnoreBufferForAction": unique symbol;
337
358
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
338
359
  }
339
360
  interface ReleaseBufferTriggerAction extends com.logic.redux.store.definitions.Action {
340
- readonly actionTag: string;
341
361
  readonly __doNotUseOrImplementIt: {
342
362
  readonly "com.logic.redux.actions.ReleaseBufferTriggerAction": unique symbol;
343
363
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -394,10 +414,10 @@ export declare namespace com.logic.utils.logger.outputs {
394
414
  get name(): "WARN";
395
415
  get ordinal(): 2;
396
416
  };
397
- static values(): Array<com.logic.utils.logger.outputs.LogType>;
398
- static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
399
417
  get name(): "DEBUG" | "ERROR" | "WARN";
400
418
  get ordinal(): 0 | 1 | 2;
419
+ static values(): Array<com.logic.utils.logger.outputs.LogType>;
420
+ static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
401
421
  static get Companion(): {
402
422
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
403
423
  }
@@ -405,10 +425,6 @@ export declare namespace com.logic.utils.logger.outputs {
405
425
  export declare namespace com.logic.utils.logger.outputs {
406
426
  interface ObservableLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput, io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger {
407
427
  observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
408
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
409
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
410
- w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
411
- enabled: boolean;
412
428
  readonly __doNotUseOrImplementIt: {
413
429
  readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
414
430
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"] & io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
@@ -502,23 +518,23 @@ export declare namespace com.debertz.logic.data.models {
502
518
  get name(): "FINISHED";
503
519
  get ordinal(): 3;
504
520
  };
505
- static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
506
- static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
507
521
  get name(): "CREATED" | "CREATING" | "FINISHING" | "FINISHED";
508
522
  get ordinal(): 0 | 1 | 2 | 3;
523
+ static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
524
+ static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
509
525
  static get Companion(): {
510
526
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
511
527
  }
512
528
  }
513
529
  export declare namespace com.debertz.logic.data.models {
514
530
  class GameSessionAnalytics {
515
- constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */);
531
+ constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>);
516
532
  get duration(): any/* kotlin.time.Duration */;
517
533
  get gamesCount(): number;
518
534
  get roundsCountTotal(): number;
519
- get playerAnalytics(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */;
520
- get allCombinationCounts(): any/* kotlin.collections.Map<com.debertz.logic.data.models.table.combinations.CombinationType, number> */;
521
- copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */): com.debertz.logic.data.models.GameSessionAnalytics;
535
+ get playerAnalytics(): kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>;
536
+ get allCombinationCounts(): kotlin.collections.KtMap<com.debertz.logic.data.models.table.combinations.CombinationType, number>;
537
+ copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>): com.debertz.logic.data.models.GameSessionAnalytics;
522
538
  toString(): string;
523
539
  hashCode(): number;
524
540
  equals(other: Nullable<any>): boolean;
@@ -539,14 +555,14 @@ export declare namespace com.debertz.logic.data.models.player.hand {
539
555
  }
540
556
  export declare namespace com.debertz.logic.data.models.player.hand {
541
557
  class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
542
- constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */);
558
+ constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>);
543
559
  get playerId(): string;
544
560
  get factor(): number;
545
561
  get wasLiveDuringGame(): boolean;
546
562
  get liveDurationPercentage(): Nullable<number>;
547
- get combinationRecords(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */;
548
- get combinationCounts(): any/* kotlin.collections.Map<com.debertz.logic.data.models.table.combinations.CombinationType, number> */;
549
- copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */): com.debertz.logic.data.models.player.hand.PlayerAnalytics;
563
+ get combinationRecords(): kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>;
564
+ get combinationCounts(): kotlin.collections.KtMap<com.debertz.logic.data.models.table.combinations.CombinationType, number>;
565
+ copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.CombinationRecord>): com.debertz.logic.data.models.player.hand.PlayerAnalytics;
550
566
  toString(): string;
551
567
  hashCode(): number;
552
568
  equals(other: Nullable<any>): boolean;
@@ -568,13 +584,13 @@ export declare namespace com.debertz.logic.data.models.player.state {
568
584
  get name(): "CONTROVERSIAL";
569
585
  get ordinal(): 2;
570
586
  };
587
+ get name(): "FAILED" | "FULFILLED" | "CONTROVERSIAL";
588
+ get ordinal(): 0 | 1 | 2;
571
589
  get isFailed(): boolean;
572
590
  get isFulfilled(): boolean;
573
591
  get isControversial(): boolean;
574
592
  static values(): Array<com.debertz.logic.data.models.player.state.RoundContractState>;
575
593
  static valueOf(value: string): com.debertz.logic.data.models.player.state.RoundContractState;
576
- get name(): "FAILED" | "FULFILLED" | "CONTROVERSIAL";
577
- get ordinal(): 0 | 1 | 2;
578
594
  static get Companion(): {
579
595
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
580
596
  }
@@ -597,33 +613,33 @@ export declare namespace com.debertz.logic.data.models.scenes {
597
613
  }
598
614
  export declare namespace com.debertz.logic.data.models.table {
599
615
  class DebertzTable {
600
- constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
616
+ constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: com.debertz.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>, sceneInfo: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
601
617
  get id(): string;
602
618
  get version(): string;
603
619
  get createdAt(): any/* kotlinx.datetime.Instant */;
604
620
  get config(): com.debertz.logic.data.models.table.config.Config;
605
- get players(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */;
621
+ get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>;
606
622
  get sceneInfo(): any/* com.debertz.logic.data.models.table.scene.SceneInfo */;
607
- get cardsOnTable(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */;
608
- get bribes(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */;
623
+ get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>;
624
+ get bribes(): kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>;
609
625
  get cardDeck(): Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */;
610
626
  get gameInfo(): any/* com.debertz.logic.data.models.table.GameInfo */;
611
627
  get gameHistory(): com.debertz.logic.data.models.table.history.GameHistory;
612
628
  get gameId(): string;
613
629
  get gameDuration(): any/* kotlin.time.Duration */;
614
630
  get gameCreatedAt(): any/* kotlinx.datetime.Instant */;
615
- get playersConnections(): any/* kotlin.collections.List<kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState>> */;
631
+ get playersConnections(): kotlin.collections.KtList<any/* kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState> */>;
616
632
  get users(): Array<com.logic.data.models.player.GameUserInfo>;
617
633
  get isCardDeckExist(): boolean;
618
634
  get requireCardDeck(): any/* com.debertz.logic.data.models.table.cards.CardDeck */;
619
635
  get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
620
636
  get isGameFinished(): boolean;
621
637
  toString(): string;
622
- copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.data.models.table.DebertzTable;
638
+ copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* com.debertz.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.data.models.table.DebertzTable;
623
639
  hashCode(): number;
624
640
  equals(other: Nullable<any>): boolean;
625
641
  static get Companion(): {
626
- initial(tableId: string, gameId: string, version: string, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */): com.debertz.logic.data.models.table.DebertzTable;
642
+ initial(tableId: string, gameId: string, version: string, config: com.debertz.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* com.debertz.logic.data.models.player.DebertzPlayer */>): com.debertz.logic.data.models.table.DebertzTable;
627
643
  };
628
644
  }
629
645
  }
@@ -652,8 +668,8 @@ export declare namespace com.debertz.logic.data.models.table {
652
668
  }
653
669
  export declare namespace com.debertz.logic.data.models.table.combinations {
654
670
  class Combination /* implements com.debertz.logic.data.models.table.combinations.CombinationContract */ {
655
- constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, cards: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */);
656
- copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, cards?: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */): com.debertz.logic.data.models.table.combinations.Combination;
671
+ constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, cards: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>);
672
+ copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, cards?: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>): com.debertz.logic.data.models.table.combinations.Combination;
657
673
  toString(): string;
658
674
  hashCode(): number;
659
675
  equals(other: Nullable<any>): boolean;
@@ -686,10 +702,10 @@ export declare namespace com.debertz.logic.data.models.table.combinations {
686
702
  get name(): "CANCELED";
687
703
  get ordinal(): 5;
688
704
  };
689
- static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationState>;
690
- static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationState;
691
705
  get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
692
706
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
707
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationState>;
708
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationState;
693
709
  static get Companion(): {
694
710
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
695
711
  }
@@ -741,12 +757,12 @@ export declare namespace com.debertz.logic.data.models.table.combinations {
741
757
  get name(): "BONUS_CONTROVERSIAL_CONTRACT";
742
758
  get ordinal(): 10;
743
759
  };
744
- static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationType>;
745
- static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationType;
746
760
  get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_SEVENS" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
747
761
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
762
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationType>;
763
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationType;
748
764
  static get Companion(): {
749
- getSupportedInRowCardsCombinations(): any/* kotlin.collections.Set<number> */;
765
+ getSupportedInRowCardsCombinations(): kotlin.collections.KtSet<number>;
750
766
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
751
767
  }
752
768
  }
@@ -785,10 +801,10 @@ export declare namespace com.debertz.logic.data.models.table.config {
785
801
  get name(): "SUPER_EASY";
786
802
  get ordinal(): 4;
787
803
  };
788
- static values(): Array<com.debertz.logic.data.models.table.config.BotIntelligenceLevel>;
789
- static valueOf(value: string): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
790
804
  get name(): "SUPER_HARD" | "HARD" | "MEDIUM" | "EASY" | "SUPER_EASY";
791
805
  get ordinal(): 0 | 1 | 2 | 3 | 4;
806
+ static values(): Array<com.debertz.logic.data.models.table.config.BotIntelligenceLevel>;
807
+ static valueOf(value: string): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
792
808
  static get Companion(): {
793
809
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
794
810
  }
@@ -804,6 +820,7 @@ export declare namespace com.debertz.logic.data.models.table.config {
804
820
  get pointsMode(): com.debertz.logic.data.models.table.config.PointsMode;
805
821
  get timeoutTimeMillis(): number;
806
822
  get isPrivate(): boolean;
823
+ get playerHandCardsSize(): number;
807
824
  copy(rules?: com.logic.data.models.rules.Rules, rulesSetType?: com.logic.data.models.rules.RulesSetType, options?: com.debertz.logic.data.models.table.config.Options, playersMode?: com.debertz.logic.data.models.table.config.PlayersMode, pointsMode?: com.debertz.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean): com.debertz.logic.data.models.table.config.Config;
808
825
  toString(): string;
809
826
  hashCode(): number;
@@ -843,7 +860,6 @@ export declare namespace com.debertz.logic.data.models.table.config {
843
860
  export declare namespace com.debertz.logic.data.models.table.config {
844
861
  abstract class PlayersMode {
845
862
  private constructor();
846
- get value(): number;
847
863
  static get TWO_PLAYERS(): com.debertz.logic.data.models.table.config.PlayersMode & {
848
864
  get name(): "TWO_PLAYERS";
849
865
  get ordinal(): 0;
@@ -860,12 +876,13 @@ export declare namespace com.debertz.logic.data.models.table.config {
860
876
  get name(): "FOUR_PLAYERS_BY_TEAM";
861
877
  get ordinal(): 3;
862
878
  };
879
+ get name(): "TWO_PLAYERS" | "THREE_PLAYERS" | "FOUR_PLAYERS" | "FOUR_PLAYERS_BY_TEAM";
880
+ get ordinal(): 0 | 1 | 2 | 3;
881
+ get value(): number;
863
882
  get isTeamGame(): boolean;
864
883
  get count(): number;
865
884
  static values(): Array<com.debertz.logic.data.models.table.config.PlayersMode>;
866
885
  static valueOf(value: string): com.debertz.logic.data.models.table.config.PlayersMode;
867
- get name(): "TWO_PLAYERS" | "THREE_PLAYERS" | "FOUR_PLAYERS" | "FOUR_PLAYERS_BY_TEAM";
868
- get ordinal(): 0 | 1 | 2 | 3;
869
886
  static get Companion(): {
870
887
  create(points: number): com.debertz.logic.data.models.table.config.PlayersMode;
871
888
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
@@ -874,7 +891,6 @@ export declare namespace com.debertz.logic.data.models.table.config {
874
891
  export declare namespace com.debertz.logic.data.models.table.config {
875
892
  abstract class PointsMode {
876
893
  private constructor();
877
- get value(): number;
878
894
  static get SMALL(): com.debertz.logic.data.models.table.config.PointsMode & {
879
895
  get name(): "SMALL";
880
896
  get ordinal(): 0;
@@ -891,10 +907,11 @@ export declare namespace com.debertz.logic.data.models.table.config {
891
907
  get name(): "TEST";
892
908
  get ordinal(): 3;
893
909
  };
894
- static values(): Array<com.debertz.logic.data.models.table.config.PointsMode>;
895
- static valueOf(value: string): com.debertz.logic.data.models.table.config.PointsMode;
896
910
  get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
897
911
  get ordinal(): 0 | 1 | 2 | 3;
912
+ get value(): number;
913
+ static values(): Array<com.debertz.logic.data.models.table.config.PointsMode>;
914
+ static valueOf(value: string): com.debertz.logic.data.models.table.config.PointsMode;
898
915
  static get Companion(): {
899
916
  create(points: number): com.debertz.logic.data.models.table.config.PointsMode;
900
917
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
@@ -964,16 +981,18 @@ export declare namespace com.debertz.logic.domain.interactors.dealer {
964
981
  get name(): "RANDOM";
965
982
  get ordinal(): 4;
966
983
  };
984
+ get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
985
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
967
986
  shouldEqualiseHand(): boolean;
968
987
  static values(): Array<com.debertz.logic.domain.interactors.dealer.DealerStrategy>;
969
988
  static valueOf(value: string): com.debertz.logic.domain.interactors.dealer.DealerStrategy;
970
- get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
971
- get ordinal(): 0 | 1 | 2 | 3 | 4;
972
989
  }
973
990
  }
974
991
  export declare namespace com.debertz.logic.redux.actions {
975
992
  const ClearAction: {
976
993
  toString(): string;
994
+ hashCode(): number;
995
+ equals(other: Nullable<any>): boolean;
977
996
  get actionTag(): string;
978
997
  notValidateWhenFinishing(): boolean;
979
998
  notValidateWhenFinished(): boolean;
@@ -1003,6 +1022,7 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
1003
1022
  toString(): string;
1004
1023
  copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
1005
1024
  static get Companion(): {
1025
+ userFromTable(table: com.debertz.logic.data.models.table.DebertzTable, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
1006
1026
  user(tableId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
1007
1027
  };
1008
1028
  }
@@ -1020,10 +1040,10 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
1020
1040
  get name(): "USER";
1021
1041
  get ordinal(): 2;
1022
1042
  };
1023
- static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
1024
- static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
1025
1043
  get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
1026
1044
  get ordinal(): 0 | 1 | 2;
1045
+ static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
1046
+ static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
1027
1047
  static get Companion(): {
1028
1048
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1029
1049
  }
@@ -1100,22 +1120,21 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1100
1120
  interface FirstMechanicAction extends com.logic.redux.store.definitions.Action, com.logic.redux.actions.IgnoreBufferForAction {
1101
1121
  readonly id: string;
1102
1122
  readonly version: string;
1103
- readonly users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
1123
+ readonly users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1104
1124
  readonly config: com.debertz.logic.data.models.table.config.Config;
1105
1125
  readonly gameCreatorPlayerId: string;
1106
- readonly actionTag: string;
1107
1126
  readonly __doNotUseOrImplementIt: {
1108
1127
  readonly "com.debertz.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
1109
1128
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
1110
1129
  }
1111
1130
  class StartGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.FirstMechanicAction {
1112
- constructor(config: com.debertz.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */);
1131
+ constructor(config: com.debertz.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
1113
1132
  get config(): com.debertz.logic.data.models.table.config.Config;
1114
1133
  get id(): string;
1115
1134
  get version(): string;
1116
1135
  get gameCreatorPlayerId(): string;
1117
- get users(): any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
1118
- copy(config?: com.debertz.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */): com.debertz.logic.redux.actions.mechanic.StartGameMechanicAction;
1136
+ get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1137
+ copy(config?: com.debertz.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): com.debertz.logic.redux.actions.mechanic.StartGameMechanicAction;
1119
1138
  toString(): string;
1120
1139
  hashCode(): number;
1121
1140
  equals(other: Nullable<any>): boolean;
@@ -1132,6 +1151,7 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1132
1151
  equals(other: Nullable<any>): boolean;
1133
1152
  get actionTag(): string;
1134
1153
  }
1154
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
1135
1155
  class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
1136
1156
  constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<com.debertz.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean);
1137
1157
  get reason(): com.logic.data.models.TerminationGameReason;
@@ -1162,7 +1182,6 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1162
1182
  readonly sceneId: string;
1163
1183
  readonly actId: Nullable<string>;
1164
1184
  readonly actData: Nullable<com.debertz.logic.data.models.scenes.ActData>;
1165
- readonly actionTag: string;
1166
1185
  readonly __doNotUseOrImplementIt: {
1167
1186
  readonly "com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
1168
1187
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -1184,7 +1203,6 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1184
1203
  }
1185
1204
  interface TerminatedAction extends com.logic.redux.store.definitions.Action {
1186
1205
  readonly reason: com.logic.data.models.TerminationGameReason;
1187
- readonly actionTag: string;
1188
1206
  readonly __doNotUseOrImplementIt: {
1189
1207
  readonly "com.debertz.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
1190
1208
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -1246,10 +1264,10 @@ export declare namespace com.debertz.logic.client.data.models.config {
1246
1264
  get name(): "TUTORIAL";
1247
1265
  get ordinal(): 4;
1248
1266
  };
1249
- static values(): Array<com.debertz.logic.client.data.models.config.GameType>;
1250
- static valueOf(value: string): com.debertz.logic.client.data.models.config.GameType;
1251
1267
  get name(): "SINGLE" | "SERVER" | "P2P_CLIENT" | "P2P_SERVER" | "TUTORIAL";
1252
1268
  get ordinal(): 0 | 1 | 2 | 3 | 4;
1269
+ static values(): Array<com.debertz.logic.client.data.models.config.GameType>;
1270
+ static valueOf(value: string): com.debertz.logic.client.data.models.config.GameType;
1253
1271
  static get Companion(): {
1254
1272
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1255
1273
  }
@@ -1308,14 +1326,14 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
1308
1326
  getConfig(): com.debertz.logic.data.models.table.config.Config;
1309
1327
  getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
1310
1328
  observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
1311
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
1329
+ observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>> */;
1312
1330
  observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
1313
1331
  observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
1314
1332
  observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
1315
1333
  observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
1316
1334
  observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
1317
1335
  observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
1318
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
1336
+ observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.table.error.ErrorState>> */;
1319
1337
  observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
1320
1338
  observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
1321
1339
  observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
@@ -1331,12 +1349,8 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
1331
1349
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1332
1350
  tutorialPassed(skipped: boolean): void;
1333
1351
  playerExit(): void;
1334
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
1352
+ error(error: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.error.ErrorState> */): void;
1335
1353
  observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
1336
- readonly id: string;
1337
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
1338
- readonly isTableExists: boolean;
1339
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
1340
1354
  readonly __doNotUseOrImplementIt: {
1341
1355
  readonly "com.debertz.logic.client.domain.mechanic.GameMechanic": unique symbol;
1342
1356
  } & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
@@ -1347,64 +1361,15 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
1347
1361
  readonly currentPlayerId: string;
1348
1362
  observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.redux.actions.client.from.FromClientAction> */;
1349
1363
  mechanicAction(action: com.debertz.logic.redux.actions.mechanic.MechanicAction): void;
1350
- onCreate(): void;
1351
- onDestroy(): void;
1352
- getConfig(): com.debertz.logic.data.models.table.config.Config;
1353
- getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
1354
- observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
1355
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
1356
- observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
1357
- observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
1358
- observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
1359
- observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
1360
- observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
1361
- observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
1362
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
1363
- observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
1364
- observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
1365
- observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1366
- observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.LastBribeViewModel>> */;
1367
- observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.GameInfoViewModel>> */;
1368
- observeSettingsOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1369
- switchLastBribe(open: boolean): void;
1370
- switchGameInfo(open: boolean): void;
1371
- switchSettings(open: boolean): void;
1372
- switchChat(open: boolean): void;
1373
- foreground(foreground: boolean): void;
1374
- updateConfig(updateConfig: any/* com.debertz.logic.client.data.models.config.UpdateConfigModel */): void;
1375
- observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1376
- tutorialPassed(skipped: boolean): void;
1377
- playerExit(): void;
1378
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
1379
- observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
1380
- readonly id: string;
1381
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
1382
- readonly isTableExists: boolean;
1383
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
1384
1364
  readonly __doNotUseOrImplementIt: {
1385
1365
  readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
1386
1366
  } & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
1387
1367
  }
1388
1368
  }
1389
- export declare namespace com.debertz.logic.client.redux.state {
1390
- class ErrorState {
1391
- constructor(message: Nullable<string> | undefined, userInfo: Nullable<com.logic.data.models.player.GameUserInfo> | undefined, reason: com.logic.data.models.TerminationGameReason);
1392
- get message(): Nullable<string>;
1393
- get userInfo(): Nullable<com.logic.data.models.player.GameUserInfo>;
1394
- get reason(): com.logic.data.models.TerminationGameReason;
1395
- copy(message?: Nullable<string>, userInfo?: Nullable<com.logic.data.models.player.GameUserInfo>, reason?: com.logic.data.models.TerminationGameReason): com.debertz.logic.client.redux.state.ErrorState;
1396
- toString(): string;
1397
- hashCode(): number;
1398
- equals(other: Nullable<any>): boolean;
1399
- }
1400
- }
1401
1369
  export declare namespace com.debertz.logic.client.utils {
1402
1370
  interface ShowErrorLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
1403
1371
  skipWarnings: boolean;
1404
1372
  gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
1405
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1406
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
1407
- w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
1408
1373
  readonly __doNotUseOrImplementIt: {
1409
1374
  readonly "com.debertz.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
1410
1375
  } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];