@mtgame/core 0.1.115 → 0.1.117

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.
@@ -2361,6 +2361,7 @@
2361
2361
  timeout_time: 'timeoutTime',
2362
2362
  game_time_type: 'gameTimeType',
2363
2363
  substitute_manage_enabled: 'substituteManageEnabled',
2364
+ shot_clock_enabled: 'shotClockEnabled',
2364
2365
  },
2365
2366
  relation: {
2366
2367
  overtimeType: enumField(exports.OvertimeTypes),
@@ -6378,13 +6379,36 @@
6378
6379
  penalty_minutes: 'penaltyMinutes',
6379
6380
  game_time: 'gameTime',
6380
6381
  plus_minus: 'plusMinus',
6381
- free_kicks: 'freeKicks',
6382
6382
  yellow_cards: 'yellowCards',
6383
6383
  red_cards: 'redCards',
6384
6384
  fouls: 'fouls',
6385
6385
  losses: 'losses',
6386
6386
  steals: 'steals',
6387
6387
  drawn_fouls: 'drawnFouls',
6388
+ pp_free_kick_goals: 'ppFreeKickGoals',
6389
+ pp_free_kick_on_goals: 'ppFreeKickOnGoals',
6390
+ pp_free_kick_misses: 'ppFreeKickMisses',
6391
+ sh_free_kick_goals: 'shFreeKickGoals',
6392
+ sh_free_kick_on_goals: 'shFreeKickOnGoals',
6393
+ sh_free_kick_misses: 'shFreeKickMisses',
6394
+ ev_free_kick_goals: 'evFreeKickGoals',
6395
+ ev_free_kick_on_goals: 'evFreeKickOnGoals',
6396
+ ev_free_kick_misses: 'evFreeKickMisses',
6397
+ free_kick_passes: 'freeKickPasses',
6398
+ free_kick_selfs: 'freeKickSelfs',
6399
+ pp_corner_goals: 'ppCornerGoals',
6400
+ pp_corner_on_goals: 'ppCornerOnGoals',
6401
+ pp_corner_misses: 'ppCornerMisses',
6402
+ sh_corner_goals: 'shCornerGoals',
6403
+ sh_corner_on_goals: 'shCornerOnGoals',
6404
+ sh_corner_misses: 'shCornerMisses',
6405
+ ev_corner_goals: 'evCornerGoals',
6406
+ ev_corner_on_goals: 'evCornerOnGoals',
6407
+ ev_corner_misses: 'evCornerMisses',
6408
+ corner_passes: 'cornerPasses',
6409
+ corner_selfs: 'cornerSelfs',
6410
+ total_corners: 'totalCorners',
6411
+ total_free_kicks: 'totalFreeKicks',
6388
6412
  newbie: 'newbie',
6389
6413
  rank: 'rank',
6390
6414
  },
@@ -10326,7 +10350,7 @@
10326
10350
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["shootout_goal"] = 8] = "shootout_goal";
10327
10351
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["assist"] = 9] = "assist";
10328
10352
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["block_shot"] = 10] = "block_shot";
10329
- WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick"] = 11] = "free_kick";
10353
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_on_goal"] = 11] = "free_kick_on_goal";
10330
10354
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["minor_penalty"] = 12] = "minor_penalty";
10331
10355
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["major_penalty"] = 13] = "major_penalty";
10332
10356
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["match_penalty"] = 14] = "match_penalty";
@@ -10346,6 +10370,15 @@
10346
10370
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["shootout_save"] = 28] = "shootout_save";
10347
10371
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["loss"] = 29] = "loss";
10348
10372
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["steal"] = 30] = "steal";
10373
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_miss"] = 31] = "free_kick_miss";
10374
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_goal"] = 32] = "free_kick_goal";
10375
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_pass"] = 33] = "free_kick_pass";
10376
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_self"] = 34] = "free_kick_self";
10377
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_on_goal"] = 35] = "corner_on_goal";
10378
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_miss"] = 36] = "corner_miss";
10379
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_goal"] = 37] = "corner_goal";
10380
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_pass"] = 38] = "corner_pass";
10381
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_self"] = 39] = "corner_self";
10349
10382
  })(exports.WaterpoloGameLogTypes || (exports.WaterpoloGameLogTypes = {}));
10350
10383
  exports.WaterpoloAdvantageTypes = void 0;
10351
10384
  (function (WaterpoloAdvantageTypes) {
@@ -10392,7 +10425,8 @@
10392
10425
  configurable: true
10393
10426
  });
10394
10427
  WaterpoloGameLog.prototype.isScoreType = function () {
10395
- return [exports.WaterpoloGameLogTypes.goal, exports.WaterpoloGameLogTypes.shootout_goal, exports.WaterpoloGameLogTypes.after_game_shootout_goal].indexOf(this.logType) > -1;
10428
+ return [exports.WaterpoloGameLogTypes.goal, exports.WaterpoloGameLogTypes.shootout_goal, exports.WaterpoloGameLogTypes.after_game_shootout_goal,
10429
+ exports.WaterpoloGameLogTypes.free_kick_goal, exports.WaterpoloGameLogTypes.corner_goal].indexOf(this.logType) > -1;
10396
10430
  };
10397
10431
  WaterpoloGameLog.prototype.isPenaltyType = function () {
10398
10432
  return [
@@ -10461,7 +10495,9 @@
10461
10495
  });
10462
10496
  Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsOnGoal", {
10463
10497
  get: function () {
10464
- return (this.evShotsOnGoal || 0) + (this.ppShotsOnGoal || 0) + (this.shShotsOnGoal || 0);
10498
+ return (this.evShotsOnGoal || 0) + (this.ppShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
10499
+ (this.evCornerOnGoals || 0) + (this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) +
10500
+ (this.evFreeKickOnGoals || 0) + (this.ppFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
10465
10501
  },
10466
10502
  enumerable: false,
10467
10503
  configurable: true
@@ -10475,28 +10511,37 @@
10475
10511
  });
10476
10512
  Object.defineProperty(WaterpoloGameStatistic.prototype, "shotMisses", {
10477
10513
  get: function () {
10478
- return (this.evShotMisses || 0) + (this.ppShotMisses || 0) + (this.shShotMisses || 0);
10514
+ return (this.evShotMisses || 0) + (this.ppShotMisses || 0) + (this.shShotMisses || 0) +
10515
+ (this.evCornerMisses || 0) + (this.ppCornerMisses || 0) + (this.shCornerMisses || 0) +
10516
+ (this.evFreeKickMisses || 0) + (this.ppFreeKickMisses || 0) + (this.shFreeKickMisses || 0);
10479
10517
  },
10480
10518
  enumerable: false,
10481
10519
  configurable: true
10482
10520
  });
10483
10521
  Object.defineProperty(WaterpoloGameStatistic.prototype, "ppShots", {
10484
10522
  get: function () {
10485
- return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0);
10523
+ return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
10524
+ (this.ppCornerMisses || 0) + (this.ppCornerOnGoals || 0) +
10525
+ (this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0);
10486
10526
  },
10487
10527
  enumerable: false,
10488
10528
  configurable: true
10489
10529
  });
10490
10530
  Object.defineProperty(WaterpoloGameStatistic.prototype, "evShots", {
10491
10531
  get: function () {
10492
- return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0);
10532
+ return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0) +
10533
+ (this.evCornerMisses || 0) + (this.evCornerOnGoals || 0) +
10534
+ (this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0);
10493
10535
  },
10494
10536
  enumerable: false,
10495
10537
  configurable: true
10496
10538
  });
10497
10539
  Object.defineProperty(WaterpoloGameStatistic.prototype, "shShots", {
10498
10540
  get: function () {
10499
- return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0);
10541
+ return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0) +
10542
+ (this.shCornerMisses || 0) + (this.shCornerOnGoals || 0) +
10543
+ (this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0);
10544
+ ;
10500
10545
  },
10501
10546
  enumerable: false,
10502
10547
  configurable: true
@@ -10517,7 +10562,9 @@
10517
10562
  });
10518
10563
  Object.defineProperty(WaterpoloGameStatistic.prototype, "goals", {
10519
10564
  get: function () {
10520
- return (this.ppGoals || 0) + (this.shGoals || 0) + (this.evGoals || 0);
10565
+ return (this.ppGoals || 0) + (this.shGoals || 0) + (this.evGoals || 0) +
10566
+ (this.ppFreeKickGoals || 0) + (this.shFreeKickGoals || 0) + (this.evFreeKickGoals || 0) +
10567
+ (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);
10521
10568
  },
10522
10569
  enumerable: false,
10523
10570
  configurable: true
@@ -10639,6 +10686,26 @@
10639
10686
  enumerable: false,
10640
10687
  configurable: true
10641
10688
  });
10689
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFreeKicks", {
10690
+ get: function () {
10691
+ return (this.freeKickPasses || 0) + (this.freeKickSelfs || 0) +
10692
+ (this.ppFreeKickGoals || 0) + (this.ppFreeKickOnGoals || 0) + (this.ppFreeKickMisses || 0) +
10693
+ (this.evFreeKickGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.evFreeKickMisses || 0) +
10694
+ (this.shFreeKickGoals || 0) + (this.shFreeKickOnGoals || 0) + (this.shFreeKickMisses || 0);
10695
+ },
10696
+ enumerable: false,
10697
+ configurable: true
10698
+ });
10699
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCorners", {
10700
+ get: function () {
10701
+ return (this.cornerPasses || 0) + (this.cornerSelfs || 0) +
10702
+ (this.ppCornerGoals || 0) + (this.ppCornerOnGoals || 0) + (this.ppCornerMisses || 0) +
10703
+ (this.evCornerGoals || 0) + (this.evCornerOnGoals || 0) + (this.evCornerMisses || 0) +
10704
+ (this.shCornerGoals || 0) + (this.shCornerOnGoals || 0) + (this.shCornerMisses || 0);
10705
+ },
10706
+ enumerable: false,
10707
+ configurable: true
10708
+ });
10642
10709
  WaterpoloGameStatistic.toFront = function (data) { };
10643
10710
  WaterpoloGameStatistic.toBack = function (data) { };
10644
10711
  return WaterpoloGameStatistic;
@@ -10687,13 +10754,34 @@
10687
10754
  penalty_minutes: 'penaltyMinutes',
10688
10755
  game_time: 'gameTime',
10689
10756
  plus_minus: 'plusMinus',
10690
- free_kicks: 'freeKicks',
10691
10757
  yellow_cards: 'yellowCards',
10692
10758
  red_cards: 'redCards',
10693
10759
  fouls: 'fouls',
10694
10760
  losses: 'losses',
10695
10761
  steals: 'steals',
10696
10762
  drawn_fouls: 'drawnFouls',
10763
+ pp_free_kick_goals: 'ppFreeKickGoals',
10764
+ pp_free_kick_on_goals: 'ppFreeKickOnGoals',
10765
+ pp_free_kick_misses: 'ppFreeKickMisses',
10766
+ sh_free_kick_goals: 'shFreeKickGoals',
10767
+ sh_free_kick_on_goals: 'shFreeKickOnGoals',
10768
+ sh_free_kick_misses: 'shFreeKickMisses',
10769
+ ev_free_kick_goals: 'evFreeKickGoals',
10770
+ ev_free_kick_on_goals: 'evFreeKickOnGoals',
10771
+ ev_free_kick_misses: 'evFreeKickMisses',
10772
+ free_kick_passes: 'freeKickPasses',
10773
+ free_kick_selfs: 'freeKickSelfs',
10774
+ pp_corner_goals: 'ppCornerGoals',
10775
+ pp_corner_on_goals: 'ppCornerOnGoals',
10776
+ pp_corner_misses: 'ppCornerMisses',
10777
+ sh_corner_goals: 'shCornerGoals',
10778
+ sh_corner_on_goals: 'shCornerOnGoals',
10779
+ sh_corner_misses: 'shCornerMisses',
10780
+ ev_corner_goals: 'evCornerGoals',
10781
+ ev_corner_on_goals: 'evCornerOnGoals',
10782
+ ev_corner_misses: 'evCornerMisses',
10783
+ corner_passes: 'cornerPasses',
10784
+ corner_selfs: 'cornerSelfs'
10697
10785
  },
10698
10786
  relation: {
10699
10787
  updatedAt: DateTimeField,
@@ -11023,7 +11111,6 @@
11023
11111
  _a$9[exports.WaterpoloGameLogTypes.penalty_end] = 'Конец штрафного времени',
11024
11112
  _a$9[exports.WaterpoloGameLogTypes.yellow_card] = 'Желтая карточка',
11025
11113
  _a$9[exports.WaterpoloGameLogTypes.red_card] = 'Красная карточка',
11026
- _a$9[exports.WaterpoloGameLogTypes.free_kick] = 'Свободный удар',
11027
11114
  _a$9[exports.WaterpoloGameLogTypes.loss] = 'Потеря',
11028
11115
  _a$9[exports.WaterpoloGameLogTypes.steal] = 'Перехват',
11029
11116
  _a$9);