@smartico/public-api 0.0.377 → 0.0.378

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.
@@ -1045,6 +1045,7 @@ export interface TTournamentDetailed extends TTournament {
1045
1045
  name: string;
1046
1046
  description: string;
1047
1047
  image_url: string;
1048
+ prize_name?: string;
1048
1049
  } | null;
1049
1050
  tiers: {
1050
1051
  player_place_from: number;
@@ -6,6 +6,9 @@ export interface ClanLeaderboardEntry {
6
6
  totalScore: number;
7
7
  memberCount: number;
8
8
  }
9
+ export interface ClanPrizePublicMeta extends ClanPublicMeta {
10
+ prize_name?: string;
11
+ }
9
12
  export interface ClanPrizeTier {
10
13
  player_place_from: number;
11
14
  player_place_to: number;
@@ -23,6 +26,6 @@ export interface ClanPrizeStructureEntry {
23
26
  prize_pool_currency_code: string | null;
24
27
  activity_type_id: number | null;
25
28
  details_json: Record<string, any> | null;
26
- public_meta: ClanPublicMeta | null;
29
+ public_meta: ClanPrizePublicMeta | null;
27
30
  player_tiers: ClanPrizeTier[] | null;
28
31
  }
@@ -477,6 +477,7 @@ export interface TTournamentDetailed extends TTournament {
477
477
  name: string;
478
478
  description: string;
479
479
  image_url: string;
480
+ prize_name?: string;
480
481
  } | null;
481
482
  tiers: {
482
483
  player_place_from: number;
package/dist/index.js CHANGED
@@ -1973,7 +1973,8 @@ var tournamentInfoItemTransform = function tournamentInfoItemTransform(t) {
1973
1973
  public_meta: entry.public_meta ? {
1974
1974
  name: entry.public_meta.name,
1975
1975
  description: entry.public_meta.description,
1976
- image_url: entry.public_meta.image_url
1976
+ image_url: entry.public_meta.image_url,
1977
+ prize_name: entry.public_meta.prize_name
1977
1978
  } : null,
1978
1979
  tiers: (entry.player_tiers || []).map(function (tier) {
1979
1980
  return {