@mtgame/core 0.0.60 → 0.0.61

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.
@@ -382,9 +382,11 @@ var File = /** @class */ (function () {
382
382
  mime_type: 'mimeType',
383
383
  size: 'size',
384
384
  engine: 'engine',
385
+ created_at: 'createdAt',
385
386
  },
386
387
  relation: {
387
- engine: enumField(FileEngine)
388
+ engine: enumField(FileEngine),
389
+ createdAt: DateTimeField,
388
390
  }
389
391
  })
390
392
  ], File);
@@ -880,7 +882,9 @@ var Organization = /** @class */ (function (_super) {
880
882
  var League = /** @class */ (function (_super) {
881
883
  __extends(League, _super);
882
884
  function League() {
883
- return _super !== null && _super.apply(this, arguments) || this;
885
+ var _this = _super !== null && _super.apply(this, arguments) || this;
886
+ _this.regulationFiles = [];
887
+ return _this;
884
888
  }
885
889
  League.toFront = function (data) { };
886
890
  League.toBack = function (data) { };
@@ -929,12 +933,14 @@ var League = /** @class */ (function (_super) {
929
933
  closest_game_datetime: 'closestGameDatetime',
930
934
  cover: 'cover',
931
935
  about: 'about',
936
+ regulation_files: 'regulationFiles',
932
937
  },
933
938
  relation: {
934
939
  organization: Organization,
935
940
  logo: File,
936
941
  cover: File,
937
- sport: Sport
942
+ sport: Sport,
943
+ regulationFiles: listField(File),
938
944
  }
939
945
  })
940
946
  ], League);