@dchighs/dc-config 0.1.142 → 0.1.144

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.
@@ -967,8 +967,8 @@ export interface FogIsland {
967
967
  export interface Action {
968
968
  id: number;
969
969
  type: string;
970
- tid_name: string;
971
- image: string;
970
+ tid_name: ActionTidName;
971
+ image: Image;
972
972
  pool_percent: number;
973
973
  max_points: number;
974
974
  extra_parameters?: ExtraParameters;
@@ -980,6 +980,8 @@ export interface ExtraParameters {
980
980
  max_level?: number;
981
981
  max_time?: number;
982
982
  }
983
+ export type Image = "ic-info-action-collect-gold.png" | "ic-info-action-collect-food.png" | "ic-info-action-feed.png" | "ic-info-action-pvp.png" | "ic-info-action-breed.png" | "ic-info-action-hatch-2-el.png" | "ic-info-action-hatch-3-el.png" | "ic-info-action-hatch-legendary.png";
984
+ export type ActionTidName = "tid_grid_islands_collect_gold" | "tid_grid_islands_collect_farm_food" | "tid_grid_islands_feed_dragons" | "tid_grid_islands_pvp_battle" | "tid_grid_islands_breed_dragons" | "tid_grid_islands_hatching_2_el" | "tid_grid_islands_hatching_3_el" | "tid_grid_islands_hatching_legendary";
983
985
  export interface Currency {
984
986
  id: number;
985
987
  tid_name: string;
@@ -1153,7 +1155,7 @@ export interface Encounter {
1153
1155
  fight_background?: string;
1154
1156
  fight_background_id: FightBackgroundID;
1155
1157
  }
1156
- export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
1158
+ export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace" | "bg_battle_background_fi_brightest_mirror";
1157
1159
  export interface EnemyElement {
1158
1160
  id: number;
1159
1161
  dragon_ids: number[];
@@ -1707,9 +1709,10 @@ export interface News {
1707
1709
  "0": The0;
1708
1710
  "1": The1;
1709
1711
  "2": The2;
1710
- "3": The2;
1711
- "4": The2;
1712
- "5": The5;
1712
+ "3": The3;
1713
+ "4": The3;
1714
+ "5": The3;
1715
+ "6": The6;
1713
1716
  canvas: Canva[];
1714
1717
  }
1715
1718
  export interface The0 {
@@ -1738,8 +1741,9 @@ export interface The0_Slide {
1738
1741
  link_button_key: string;
1739
1742
  slide_type: string;
1740
1743
  slide_type_2: string;
1741
- timer: string;
1742
- times_to_show: number;
1744
+ timer?: string;
1745
+ times_to_show?: number;
1746
+ link_item_id?: number;
1743
1747
  }
1744
1748
  export interface The1 {
1745
1749
  active_platforms: ValueClass;
@@ -1801,6 +1805,25 @@ export type SpineAsset = "pointer_animation_v2";
1801
1805
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1802
1806
  export type SlideType = "FullImage";
1803
1807
  export interface The2 {
1808
+ active_platforms: ValueClass;
1809
+ allow_island_tutorial: number;
1810
+ assets_name: string;
1811
+ direct_to_shop: number;
1812
+ end_ts: string;
1813
+ filter_category: null;
1814
+ hud_button: The1_HudButton;
1815
+ id: number;
1816
+ label_text_tid: null;
1817
+ label_title_tid: null;
1818
+ min_level: number;
1819
+ popup_frequency: string;
1820
+ popup_type: string;
1821
+ priority: null;
1822
+ show_on_startup: number;
1823
+ slides: The0_Slide[];
1824
+ start_ts: string;
1825
+ }
1826
+ export interface The3 {
1804
1827
  active_platforms: ValueClass;
1805
1828
  allow_island_tutorial: number;
1806
1829
  assets_name: string;
@@ -1814,7 +1837,7 @@ export interface The2 {
1814
1837
  slides: The1_Slide[];
1815
1838
  start_ts: string;
1816
1839
  }
1817
- export interface The5 {
1840
+ export interface The6 {
1818
1841
  active_platforms: ValueClass;
1819
1842
  allow_island_tutorial: number;
1820
1843
  assets_name: string;
@@ -2453,7 +2476,7 @@ export interface HappyHour {
2453
2476
  export interface TowerIslandIsland {
2454
2477
  id: number;
2455
2478
  analytics_id: string;
2456
- tid_name: TidName;
2479
+ tid_name: IslandTidName;
2457
2480
  start_ts: number;
2458
2481
  end_ts: number;
2459
2482
  initial_square_id: number;
@@ -2481,7 +2504,7 @@ export interface TowerIslandIsland {
2481
2504
  active_platforms: ValueClass;
2482
2505
  }
2483
2506
  export type TentacledSoundTag = "RUINED_TOWER";
2484
- export type TidName = "tid_ti_generic_name";
2507
+ export type IslandTidName = "tid_ti_generic_name";
2485
2508
  export interface TowerIslandReward {
2486
2509
  id: number;
2487
2510
  dragon_reward_id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.142",
3
+ "version": "0.1.144",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",