@dchighs/dc-config 0.1.135 → 0.1.136

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[];
@@ -1705,48 +1706,73 @@ export interface News {
1705
1706
  "1": The1;
1706
1707
  "2": The2;
1707
1708
  "3": The3;
1708
- "4": The4;
1709
- "5": The5;
1710
- "6": The4;
1711
- "7": The5;
1712
- "8": The5;
1713
- "9": The5;
1709
+ "4": The3;
1710
+ "5": The3;
1711
+ "6": The3;
1712
+ "7": The7;
1714
1713
  canvas: Canva[];
1715
1714
  }
1716
1715
  export interface The0 {
1716
+ active_platforms: ValueClass;
1717
+ allow_island_tutorial: number;
1718
+ assets_name: string;
1719
+ end_ts: string;
1720
+ hud_button: The0_HudButton;
1721
+ id: number;
1722
+ min_level: number;
1723
+ popup_type: string;
1724
+ show_on_startup: number;
1725
+ slides: The0_Slide[];
1726
+ start_ts: string;
1727
+ }
1728
+ export interface The0_HudButton {
1729
+ file: string;
1730
+ title: string;
1731
+ }
1732
+ export interface The0_Slide {
1733
+ content_localized_key: string;
1734
+ custom_title_localized_key: string;
1735
+ header_localized_key: string;
1736
+ image_url: string;
1737
+ link: string;
1738
+ link_button_key: string;
1739
+ slide_type: string;
1740
+ slide_type_2: string;
1741
+ timer: string;
1742
+ times_to_show: number;
1743
+ }
1744
+ export interface The1 {
1717
1745
  active_platforms: ValueClass;
1718
1746
  allow_island_tutorial: number;
1719
1747
  assets_name: string;
1720
1748
  direct_to_shop: number;
1721
1749
  end_ts: string;
1722
1750
  filter_category: null;
1723
- hud_button: The0_HudButton;
1751
+ hud_button: The1_HudButton;
1724
1752
  id: number;
1725
1753
  label_text_tid: null;
1726
1754
  label_title_tid: null;
1727
1755
  min_level: number;
1728
- popup_frequency: string;
1729
- popup_is_critical: number;
1730
1756
  popup_type: string;
1731
1757
  priority: null;
1732
1758
  show_on_startup: number;
1733
- slides: The0_Slide[];
1759
+ slides: The1_Slide[];
1734
1760
  start_ts: string;
1735
1761
  }
1736
- export interface The0_HudButton {
1762
+ export interface The1_HudButton {
1737
1763
  file: string;
1738
1764
  title: string;
1739
1765
  viral_icon_tier: number;
1740
1766
  }
1741
- export interface The0_Slide {
1742
- content_localized_key?: string;
1767
+ export interface The1_Slide {
1768
+ content_localized_key: string;
1743
1769
  custom_title_localized_key: string;
1744
1770
  forceClose?: boolean;
1745
1771
  header_localized_key: string;
1746
1772
  image_url: string;
1747
1773
  multiple_buttons: MultipleButton[];
1748
1774
  times_to_show: number;
1749
- type: SlideType;
1775
+ type: string;
1750
1776
  }
1751
1777
  export interface MultipleButton {
1752
1778
  animation: AnimationNameEnum;
@@ -1755,14 +1781,14 @@ export interface MultipleButton {
1755
1781
  glint: boolean;
1756
1782
  key: Key;
1757
1783
  link: string;
1784
+ linkItemId?: number;
1758
1785
  normalizedPosition: NormalizedPosition;
1759
1786
  size: SizeClass;
1760
- style: Style;
1761
- linkItemId?: number;
1762
1787
  spineAsset?: SpineAsset;
1788
+ style: Style;
1763
1789
  }
1764
1790
  export type AnimationPlace = "Foreground";
1765
- export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
1791
+ export type Key = "" | "tid_news_viptiers_button" | "tid_helpshift_faq_title";
1766
1792
  export interface NormalizedPosition {
1767
1793
  x: number;
1768
1794
  y: number;
@@ -1772,108 +1798,101 @@ export interface SizeClass {
1772
1798
  w: number;
1773
1799
  }
1774
1800
  export type SpineAsset = "pointer_animation_v2";
1775
- export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1776
- export type SlideType = "FullImage";
1777
- export interface The1 {
1778
- active_platforms: ValueClass;
1779
- allow_island_tutorial: number;
1780
- assets_name: string;
1781
- direct_to_shop: number;
1782
- end_ts: string;
1783
- hud_button: The0_HudButton;
1784
- id: number;
1785
- min_level: number;
1786
- popup_type: string;
1787
- 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
- }
1801
+ export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1803
1802
  export interface The2 {
1804
1803
  active_platforms: ValueClass;
1805
1804
  allow_island_tutorial: number;
1806
1805
  assets_name: string;
1806
+ direct_to_shop: number;
1807
1807
  end_ts: string;
1808
- hud_button: The2_HudButton;
1808
+ filter_category: null;
1809
1809
  id: number;
1810
+ label_text_tid: null;
1811
+ label_title_tid: null;
1810
1812
  min_level: number;
1811
1813
  popup_type: string;
1814
+ priority: number;
1812
1815
  show_on_startup: number;
1813
1816
  slides: The1_Slide[];
1814
1817
  start_ts: string;
1815
1818
  }
1816
- export interface The2_HudButton {
1817
- file: string;
1818
- title: string;
1819
- }
1820
1819
  export interface The3 {
1821
1820
  active_platforms: ValueClass;
1822
1821
  allow_island_tutorial: number;
1823
1822
  assets_name: string;
1824
1823
  direct_to_shop: number;
1825
1824
  end_ts: string;
1826
- filter_category: null;
1827
- hud_button: The0_HudButton;
1828
1825
  id: number;
1829
- label_text_tid: null;
1830
- label_title_tid: null;
1831
1826
  min_level: number;
1827
+ popup_frequency: string;
1832
1828
  popup_type: string;
1833
- priority: null;
1834
1829
  show_on_startup: number;
1835
- slides: The0_Slide[];
1830
+ slides: The1_Slide[];
1836
1831
  start_ts: string;
1837
1832
  }
1838
- export interface The4 {
1833
+ export interface The7 {
1839
1834
  active_platforms: ValueClass;
1840
1835
  allow_island_tutorial: number;
1841
1836
  assets_name: string;
1842
1837
  direct_to_shop: number;
1843
1838
  end_ts: string;
1844
1839
  filter_category: null;
1840
+ hud_button: The1_HudButton;
1845
1841
  id: number;
1846
1842
  label_text_tid: null;
1847
1843
  label_title_tid: null;
1848
1844
  min_level: number;
1849
- popup_type: string;
1850
- priority: number | null;
1851
- show_on_startup: number;
1852
- slides: The0_Slide[];
1853
- start_ts: string;
1854
- }
1855
- export interface The5 {
1856
- active_platforms: ValueClass;
1857
- allow_island_tutorial: number;
1858
- assets_name: string;
1859
- direct_to_shop: number;
1860
- end_ts: string;
1861
- id: number;
1862
- min_level: number;
1863
1845
  popup_frequency: string;
1846
+ popup_is_critical: number;
1864
1847
  popup_type: string;
1848
+ priority: null;
1865
1849
  show_on_startup: number;
1866
- slides: The0_Slide[];
1850
+ slides: The1_Slide[];
1867
1851
  start_ts: string;
1868
1852
  }
1869
1853
  export interface Canva {
1870
1854
  id: number;
1871
1855
  assets_name: string;
1872
- start_ts: number;
1873
- end_ts: number;
1874
- min_level: number;
1875
- slides: The0_Slide[];
1876
- show_on_startup: number;
1856
+ start_ts: number | string;
1857
+ end_ts: number | string;
1858
+ min_level?: number;
1859
+ slides: CanvaSlide[];
1860
+ show_on_startup?: number;
1861
+ }
1862
+ export interface CanvaSlide {
1863
+ custom_title_localized_key?: string;
1864
+ header_localized_key?: string;
1865
+ image_url?: string;
1866
+ times_to_show?: number;
1867
+ type?: string;
1868
+ multiple_buttons?: MultipleButton[];
1869
+ bg?: string;
1870
+ content?: Content[];
1871
+ edit_mode?: number;
1872
+ id?: number;
1873
+ title_key?: string;
1874
+ viral_icon_key?: string;
1875
+ viral_icon_timer?: string;
1876
+ }
1877
+ export interface Content {
1878
+ height: number;
1879
+ rotation: number;
1880
+ stroke?: string;
1881
+ text_color?: string;
1882
+ text_key: string;
1883
+ text_size?: number;
1884
+ timer?: number;
1885
+ type: string;
1886
+ width: number;
1887
+ x: number;
1888
+ y: number;
1889
+ action?: ContentAction;
1890
+ style?: string;
1891
+ }
1892
+ export interface ContentAction {
1893
+ itemId: string;
1894
+ storeCategory: number;
1895
+ type: string;
1877
1896
  }
1878
1897
  export interface Perks {
1879
1898
  abilities: Ability[];
@@ -2056,7 +2075,7 @@ export interface RunnerIslandIsland {
2056
2075
  dragon_offset: number[];
2057
2076
  dragon_scale: number;
2058
2077
  runner_dragon_asset?: string;
2059
- zip_file: PurpleZipFile;
2078
+ zip_file: ZipFile;
2060
2079
  help_id: number;
2061
2080
  run_cost: number;
2062
2081
  sound_tag: FluffySoundTag;
@@ -2067,7 +2086,7 @@ export interface RunnerIslandIsland {
2067
2086
  milestone_rewards: number[];
2068
2087
  }
2069
2088
  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";
2089
+ 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
2090
  export interface RunnerIslandLevelChunk {
2072
2091
  id: number;
2073
2092
  lane_1: Lane[] | string;
@@ -2463,7 +2482,7 @@ export interface TowerIsland {
2463
2482
  happy_hours: HappyHour[];
2464
2483
  parameters: FogIslandParameter[];
2465
2484
  currencies: Currency[];
2466
- actions: Action[];
2485
+ actions: ActionElement[];
2467
2486
  }
2468
2487
  export interface Floor {
2469
2488
  id: number;
@@ -2498,7 +2517,7 @@ export interface TowerIslandIsland {
2498
2517
  building_id: number;
2499
2518
  building_position: number[];
2500
2519
  tower_size: number[];
2501
- zip_file: FluffyZipFile;
2520
+ zip_file: string;
2502
2521
  sound_tag: TentacledSoundTag;
2503
2522
  canvas_assets_url: AnalyticsID;
2504
2523
  mobile_first_floor_position: number[];
@@ -2513,7 +2532,6 @@ export interface TowerIslandIsland {
2513
2532
  }
2514
2533
  export type TentacledSoundTag = "RUINED_TOWER";
2515
2534
  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
2535
  export interface TowerIslandReward {
2518
2536
  id: number;
2519
2537
  dragon_reward_id: number;
@@ -2639,8 +2657,8 @@ export interface MultiplierTime {
2639
2657
  multiplier_time: number;
2640
2658
  }
2641
2659
  export interface TreeOfLifePowerupRaritySeed {
2642
- max_rarity_seeds_per_grade: number[];
2643
2660
  rarity: Rarity;
2661
+ max_rarity_seeds_per_grade: number[];
2644
2662
  }
2645
2663
  export interface Visual {
2646
2664
  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.136",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",