@mtgame/core 0.0.39 → 0.0.41

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.
@@ -2298,6 +2298,15 @@ var FeedbackApi = /** @class */ (function () {
2298
2298
  });
2299
2299
  });
2300
2300
  };
2301
+ FeedbackApi.prototype.sendLeagueFeedback = function (leagueId, data) {
2302
+ return __awaiter(this, void 0, void 0, function () {
2303
+ return __generator(this, function (_a) {
2304
+ return [2 /*return*/, this.httpClient.post(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/feedback/", Feedback.toBack(data))
2305
+ .pipe(map(function (response) { return Feedback.toFront(response); }))
2306
+ .toPromise()];
2307
+ });
2308
+ });
2309
+ };
2301
2310
  FeedbackApi.ctorParameters = function () { return [
2302
2311
  { type: HttpClient },
2303
2312
  { type: ConfigService }
@@ -2869,6 +2878,7 @@ var LeagueNews = /** @class */ (function (_super) {
2869
2878
  detail_text: 'detailText',
2870
2879
  picture: 'picture',
2871
2880
  cover: 'cover',
2881
+ mobile_picture: 'mobilePicture',
2872
2882
  is_main: 'isMain',
2873
2883
  tournaments: 'tournaments',
2874
2884
  },
@@ -2876,6 +2886,7 @@ var LeagueNews = /** @class */ (function (_super) {
2876
2886
  datetime: DateTimeField,
2877
2887
  picture: File,
2878
2888
  cover: File,
2889
+ mobilePicture: File,
2879
2890
  tournaments: listField(Tournament)
2880
2891
  }
2881
2892
  })