@dchighs/dc-config 0.1.135 → 0.1.137

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.
@@ -960,11 +960,11 @@ export interface FogIsland {
960
960
  squares: FogIslandSquare[];
961
961
  currencies: Currency[];
962
962
  rewards: FogIslandReward[];
963
- actions: Action[];
963
+ actions: ActionElement[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface Action {
967
+ export interface ActionElement {
968
968
  id: number;
969
969
  type: string;
970
970
  tid_name: string;
@@ -1134,7 +1134,7 @@ export interface GridIsland {
1134
1134
  encounters: Encounter[];
1135
1135
  enemies: EnemyElement[];
1136
1136
  currencies: Currency[];
1137
- actions: Action[];
1137
+ actions: ActionElement[];
1138
1138
  parameters: FogIslandParameter[];
1139
1139
  }
1140
1140
  export interface Decoration {
@@ -1153,7 +1153,7 @@ export interface Encounter {
1153
1153
  fight_background?: string;
1154
1154
  fight_background_id: FightBackgroundID;
1155
1155
  }
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_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries";
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_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
1157
1157
  export interface EnemyElement {
1158
1158
  id: number;
1159
1159
  dragon_ids: number[];
@@ -1558,7 +1558,7 @@ export interface Challenge {
1558
1558
  availability: IapEliteDiscountUidAvailability[];
1559
1559
  goals: number[];
1560
1560
  title_tid: string;
1561
- hud_icon_tid: string;
1561
+ hud_icon_tid: HudIconTid;
1562
1562
  background: ChallengeBackground;
1563
1563
  weight: number;
1564
1564
  displayed_reward: number;
@@ -1569,6 +1569,7 @@ export interface Challenge {
1569
1569
  user_min_level: number;
1570
1570
  }
1571
1571
  export type ChallengeBackground = "bg-lo-challenges-test";
1572
+ export type HudIconTid = "tid_LO_challenges_reefcoraldragon_icon" | "tid_LO_challenges_icon_journeynorth" | "tid_LO_challenges_title_DTVcoins" | "tid_LO_challenges_title_apexofdaycollection";
1572
1573
  export interface LiveopsChallengesCollectible {
1573
1574
  id: number;
1574
1575
  collectible_type: CollectibleType;
@@ -1618,7 +1619,7 @@ export interface MazeIsland {
1618
1619
  encounters: Encounter[];
1619
1620
  enemies: EnemyElement[];
1620
1621
  happy_hours: unknown[];
1621
- actions: Action[];
1622
+ actions: ActionElement[];
1622
1623
  clouds: Cloud[];
1623
1624
  currencies: Currency[];
1624
1625
  parameters: FogIslandParameter[];
@@ -1706,11 +1707,12 @@ export interface News {
1706
1707
  "2": The2;
1707
1708
  "3": The3;
1708
1709
  "4": The4;
1709
- "5": The5;
1710
- "6": The4;
1711
- "7": The5;
1712
- "8": The5;
1713
- "9": The5;
1710
+ "5": The10;
1711
+ "6": The10;
1712
+ "7": The10;
1713
+ "8": The10;
1714
+ "9": The9;
1715
+ "10": The10;
1714
1716
  canvas: Canva[];
1715
1717
  }
1716
1718
  export interface The0 {
@@ -1719,16 +1721,10 @@ export interface The0 {
1719
1721
  assets_name: string;
1720
1722
  direct_to_shop: number;
1721
1723
  end_ts: string;
1722
- filter_category: null;
1723
1724
  hud_button: The0_HudButton;
1724
1725
  id: number;
1725
- label_text_tid: null;
1726
- label_title_tid: null;
1727
1726
  min_level: number;
1728
- popup_frequency: string;
1729
- popup_is_critical: number;
1730
1727
  popup_type: string;
1731
- priority: null;
1732
1728
  show_on_startup: number;
1733
1729
  slides: The0_Slide[];
1734
1730
  start_ts: string;
@@ -1739,14 +1735,58 @@ export interface The0_HudButton {
1739
1735
  viral_icon_tier: number;
1740
1736
  }
1741
1737
  export interface The0_Slide {
1742
- content_localized_key?: string;
1738
+ content_localized_key: string;
1739
+ custom_title_localized_key: string;
1740
+ header_localized_key: string;
1741
+ image_url: string;
1742
+ link: string;
1743
+ link_button_key: string;
1744
+ slide_type: string;
1745
+ slide_type_2: string;
1746
+ timer?: string;
1747
+ times_to_show?: number;
1748
+ link_item_id?: number;
1749
+ }
1750
+ export interface The1 {
1751
+ active_platforms: ValueClass;
1752
+ allow_island_tutorial: number;
1753
+ assets_name: string;
1754
+ end_ts: string;
1755
+ hud_button: The1_HudButton;
1756
+ id: number;
1757
+ min_level: number;
1758
+ popup_type: string;
1759
+ show_on_startup: number;
1760
+ slides: The0_Slide[];
1761
+ start_ts: string;
1762
+ }
1763
+ export interface The1_HudButton {
1764
+ file: string;
1765
+ title: string;
1766
+ }
1767
+ export interface The10 {
1768
+ active_platforms: ValueClass;
1769
+ allow_island_tutorial: number;
1770
+ assets_name: string;
1771
+ direct_to_shop: number;
1772
+ end_ts: string;
1773
+ id: number;
1774
+ min_level: number;
1775
+ popup_frequency: string;
1776
+ popup_type: string;
1777
+ show_on_startup: number;
1778
+ slides: The10_Slide[];
1779
+ start_ts: string;
1780
+ }
1781
+ export interface The10_Slide {
1782
+ content_localized_key: string;
1743
1783
  custom_title_localized_key: string;
1744
- forceClose?: boolean;
1745
1784
  header_localized_key: string;
1746
1785
  image_url: string;
1747
1786
  multiple_buttons: MultipleButton[];
1748
1787
  times_to_show: number;
1749
- type: SlideType;
1788
+ type: string;
1789
+ forceClose?: boolean;
1750
1790
  }
1751
1791
  export interface MultipleButton {
1752
1792
  animation: AnimationNameEnum;
@@ -1755,14 +1795,14 @@ export interface MultipleButton {
1755
1795
  glint: boolean;
1756
1796
  key: Key;
1757
1797
  link: string;
1798
+ linkItemId?: number;
1758
1799
  normalizedPosition: NormalizedPosition;
1759
1800
  size: SizeClass;
1760
- style: Style;
1761
- linkItemId?: number;
1762
1801
  spineAsset?: SpineAsset;
1802
+ style: Style;
1763
1803
  }
1764
1804
  export type AnimationPlace = "Foreground";
1765
- export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
1805
+ export type Key = "" | "tid_news_viptiers_button" | "tid_helpshift_faq_title";
1766
1806
  export interface NormalizedPosition {
1767
1807
  x: number;
1768
1808
  y: number;
@@ -1772,51 +1812,25 @@ export interface SizeClass {
1772
1812
  w: number;
1773
1813
  }
1774
1814
  export type SpineAsset = "pointer_animation_v2";
1775
- export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1776
- export type SlideType = "FullImage";
1777
- export interface The1 {
1815
+ export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1816
+ export interface The2 {
1778
1817
  active_platforms: ValueClass;
1779
1818
  allow_island_tutorial: number;
1780
1819
  assets_name: string;
1781
1820
  direct_to_shop: number;
1782
1821
  end_ts: string;
1822
+ filter_category: null;
1783
1823
  hud_button: The0_HudButton;
1784
1824
  id: number;
1825
+ label_text_tid: null;
1826
+ label_title_tid: null;
1785
1827
  min_level: number;
1786
1828
  popup_type: string;
1829
+ priority: null;
1787
1830
  show_on_startup: number;
1788
- slides: The1_Slide[];
1789
- start_ts: string;
1790
- }
1791
- export interface The1_Slide {
1792
- content_localized_key: string;
1793
- custom_title_localized_key: string;
1794
- header_localized_key: string;
1795
- image_url: string;
1796
- link: string;
1797
- link_button_key: string;
1798
- slide_type: string;
1799
- slide_type_2: string;
1800
- timer: string;
1801
- times_to_show?: number;
1802
- }
1803
- export interface The2 {
1804
- active_platforms: ValueClass;
1805
- allow_island_tutorial: number;
1806
- assets_name: string;
1807
- end_ts: string;
1808
- hud_button: The2_HudButton;
1809
- id: number;
1810
- min_level: number;
1811
- popup_type: string;
1812
- show_on_startup: number;
1813
- slides: The1_Slide[];
1831
+ slides: The10_Slide[];
1814
1832
  start_ts: string;
1815
1833
  }
1816
- export interface The2_HudButton {
1817
- file: string;
1818
- title: string;
1819
- }
1820
1834
  export interface The3 {
1821
1835
  active_platforms: ValueClass;
1822
1836
  allow_island_tutorial: number;
@@ -1829,6 +1843,7 @@ export interface The3 {
1829
1843
  label_text_tid: null;
1830
1844
  label_title_tid: null;
1831
1845
  min_level: number;
1846
+ popup_frequency: string;
1832
1847
  popup_type: string;
1833
1848
  priority: null;
1834
1849
  show_on_startup: number;
@@ -1847,33 +1862,75 @@ export interface The4 {
1847
1862
  label_title_tid: null;
1848
1863
  min_level: number;
1849
1864
  popup_type: string;
1850
- priority: number | null;
1865
+ priority: number;
1851
1866
  show_on_startup: number;
1852
- slides: The0_Slide[];
1867
+ slides: The10_Slide[];
1853
1868
  start_ts: string;
1854
1869
  }
1855
- export interface The5 {
1870
+ export interface The9 {
1856
1871
  active_platforms: ValueClass;
1857
1872
  allow_island_tutorial: number;
1858
1873
  assets_name: string;
1859
1874
  direct_to_shop: number;
1860
1875
  end_ts: string;
1876
+ filter_category: null;
1877
+ hud_button: The0_HudButton;
1861
1878
  id: number;
1879
+ label_text_tid: null;
1880
+ label_title_tid: null;
1862
1881
  min_level: number;
1863
1882
  popup_frequency: string;
1883
+ popup_is_critical: number;
1864
1884
  popup_type: string;
1885
+ priority: null;
1865
1886
  show_on_startup: number;
1866
- slides: The0_Slide[];
1887
+ slides: The10_Slide[];
1867
1888
  start_ts: string;
1868
1889
  }
1869
1890
  export interface Canva {
1870
1891
  id: number;
1871
1892
  assets_name: string;
1872
- start_ts: number;
1873
- end_ts: number;
1874
- min_level: number;
1875
- slides: The0_Slide[];
1876
- show_on_startup: number;
1893
+ start_ts: number | string;
1894
+ end_ts: number | string;
1895
+ min_level?: number;
1896
+ slides: CanvaSlide[];
1897
+ show_on_startup?: number;
1898
+ priority?: string;
1899
+ }
1900
+ export interface CanvaSlide {
1901
+ custom_title_localized_key?: string;
1902
+ header_localized_key?: string;
1903
+ image_url?: string;
1904
+ times_to_show?: number;
1905
+ type?: string;
1906
+ multiple_buttons?: MultipleButton[];
1907
+ bg?: string;
1908
+ content?: Content[];
1909
+ edit_mode?: number;
1910
+ id?: number;
1911
+ title_key?: string;
1912
+ viral_icon_key?: string;
1913
+ viral_icon_timer?: string;
1914
+ }
1915
+ export interface Content {
1916
+ height: number;
1917
+ rotation: number;
1918
+ stroke?: string;
1919
+ text_color?: string;
1920
+ text_key: string;
1921
+ text_size?: number;
1922
+ timer?: number;
1923
+ type: string;
1924
+ width: number;
1925
+ x: number;
1926
+ y: number;
1927
+ action?: ContentAction;
1928
+ style?: string;
1929
+ }
1930
+ export interface ContentAction {
1931
+ itemId: string;
1932
+ storeCategory: number;
1933
+ type: string;
1877
1934
  }
1878
1935
  export interface Perks {
1879
1936
  abilities: Ability[];
@@ -2056,7 +2113,7 @@ export interface RunnerIslandIsland {
2056
2113
  dragon_offset: number[];
2057
2114
  dragon_scale: number;
2058
2115
  runner_dragon_asset?: string;
2059
- zip_file: PurpleZipFile;
2116
+ zip_file: ZipFile;
2060
2117
  help_id: number;
2061
2118
  run_cost: number;
2062
2119
  sound_tag: FluffySoundTag;
@@ -2067,7 +2124,7 @@ export interface RunnerIslandIsland {
2067
2124
  milestone_rewards: number[];
2068
2125
  }
2069
2126
  export type FluffySoundTag = "AQUATIC";
2070
- export type PurpleZipFile = "/mobile/ui/runner_islands/runner-island-mrbeast.zip" | "/mobile/ui/runner_islands/runner-island-test_d.zip" | "/mobile/ui/runner_islands/sea-runner-island_c.zip" | "/mobile/ui/runner_islands/ocean-runner-island_b.zip" | "/mobile/ui/runner_islands/ocean-runner-island.zip";
2127
+ export type ZipFile = "/mobile/ui/runner_islands/runner-island-mrbeast.zip" | "/mobile/ui/runner_islands/runner-island-test_d.zip" | "/mobile/ui/runner_islands/sea-runner-island_c.zip" | "/mobile/ui/runner_islands/ocean-runner-island_b.zip" | "/mobile/ui/runner_islands/ocean-runner-island.zip";
2071
2128
  export interface RunnerIslandLevelChunk {
2072
2129
  id: number;
2073
2130
  lane_1: Lane[] | string;
@@ -2463,7 +2520,7 @@ export interface TowerIsland {
2463
2520
  happy_hours: HappyHour[];
2464
2521
  parameters: FogIslandParameter[];
2465
2522
  currencies: Currency[];
2466
- actions: Action[];
2523
+ actions: ActionElement[];
2467
2524
  }
2468
2525
  export interface Floor {
2469
2526
  id: number;
@@ -2498,7 +2555,7 @@ export interface TowerIslandIsland {
2498
2555
  building_id: number;
2499
2556
  building_position: number[];
2500
2557
  tower_size: number[];
2501
- zip_file: FluffyZipFile;
2558
+ zip_file: string;
2502
2559
  sound_tag: TentacledSoundTag;
2503
2560
  canvas_assets_url: AnalyticsID;
2504
2561
  mobile_first_floor_position: number[];
@@ -2513,7 +2570,6 @@ export interface TowerIslandIsland {
2513
2570
  }
2514
2571
  export type TentacledSoundTag = "RUINED_TOWER";
2515
2572
  export type TidName = "tid_ti_generic_name";
2516
- export type FluffyZipFile = "/mobile/ui/tower_islands/ti_norsegods_b.zip" | "/mobile/ui/tower_islands/ti_energysource_c.zip" | "/mobile/ui/tower_islands/ti_wooden_tower_c.zip";
2517
2573
  export interface TowerIslandReward {
2518
2574
  id: number;
2519
2575
  dragon_reward_id: number;
@@ -2639,8 +2695,8 @@ export interface MultiplierTime {
2639
2695
  multiplier_time: number;
2640
2696
  }
2641
2697
  export interface TreeOfLifePowerupRaritySeed {
2642
- max_rarity_seeds_per_grade: number[];
2643
2698
  rarity: Rarity;
2699
+ max_rarity_seeds_per_grade: number[];
2644
2700
  }
2645
2701
  export interface Visual {
2646
2702
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.135",
3
+ "version": "0.1.137",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",