@mtgame/core 0.0.60 → 0.0.62

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.
@@ -595,9 +595,11 @@
595
595
  mime_type: 'mimeType',
596
596
  size: 'size',
597
597
  engine: 'engine',
598
+ created_at: 'createdAt',
598
599
  },
599
600
  relation: {
600
- engine: enumField(exports.FileEngine)
601
+ engine: enumField(exports.FileEngine),
602
+ createdAt: DateTimeField,
601
603
  }
602
604
  })
603
605
  ], File);
@@ -1093,7 +1095,9 @@
1093
1095
  var League = /** @class */ (function (_super) {
1094
1096
  __extends(League, _super);
1095
1097
  function League() {
1096
- return _super !== null && _super.apply(this, arguments) || this;
1098
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1099
+ _this.regulationFiles = [];
1100
+ return _this;
1097
1101
  }
1098
1102
  League.toFront = function (data) { };
1099
1103
  League.toBack = function (data) { };
@@ -1142,12 +1146,14 @@
1142
1146
  closest_game_datetime: 'closestGameDatetime',
1143
1147
  cover: 'cover',
1144
1148
  about: 'about',
1149
+ regulation_files: 'regulationFiles',
1145
1150
  },
1146
1151
  relation: {
1147
1152
  organization: Organization,
1148
1153
  logo: File,
1149
1154
  cover: File,
1150
- sport: Sport
1155
+ sport: Sport,
1156
+ regulationFiles: listField(File),
1151
1157
  }
1152
1158
  })
1153
1159
  ], League);
@@ -2229,6 +2235,13 @@
2229
2235
  enumerable: true,
2230
2236
  configurable: true
2231
2237
  });
2238
+ Object.defineProperty(BasketballStatistic.prototype, "gameMinutes", {
2239
+ get: function () {
2240
+ return Math.floor(this.gameTime / 60);
2241
+ },
2242
+ enumerable: true,
2243
+ configurable: true
2244
+ });
2232
2245
  BasketballStatistic.toFront = function (data) { };
2233
2246
  BasketballStatistic.toBack = function (data) { };
2234
2247
  __decorate([
@@ -2272,6 +2285,7 @@
2272
2285
  personal_fouls: 'personalFouls',
2273
2286
  technical_fouls: 'technicalFouls',
2274
2287
  unsportsmanlike_fouls: 'unsportsmanlikeFouls',
2288
+ game_time: 'gameTime',
2275
2289
  newbie: 'newbie',
2276
2290
  },
2277
2291
  relation: {