@dchighs/dc-config 0.1.158 → 0.1.160

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.
@@ -827,6 +827,7 @@ export interface MatchReward {
827
827
  gacha_event_tickets?: number;
828
828
  i_token?: number;
829
829
  el_token?: number;
830
+ "permanent_gacha.legendary"?: number;
830
831
  }
831
832
  export interface DragonTournamentsReward {
832
833
  id: number;
@@ -873,6 +874,7 @@ export interface IndigoReward {
873
874
  gacha_event_tickets?: number;
874
875
  i_token?: number;
875
876
  el_token?: number;
877
+ "permanent_gacha.legendary"?: number;
876
878
  }
877
879
  export interface Tournament {
878
880
  id: number;
@@ -1157,7 +1159,7 @@ export interface Encounter {
1157
1159
  fight_background?: string;
1158
1160
  fight_background_id: FightBackgroundID;
1159
1161
  }
1160
- 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_mi_norsegods";
1162
+ 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_mi_norsegods" | "bg_battle_background_mi_halloween25";
1161
1163
  export interface EnemyElement {
1162
1164
  id: number;
1163
1165
  dragon_ids: number[];
@@ -1688,6 +1690,8 @@ export interface NodeReward {
1688
1690
  "album_pack_aces.generic"?: number;
1689
1691
  "album_pack_aces.2"?: number;
1690
1692
  "album_pack_aces.4"?: number;
1693
+ "album_pack.xl"?: number;
1694
+ "permanent_gacha.heroic"?: number;
1691
1695
  }
1692
1696
  export interface Path {
1693
1697
  id: number;
@@ -1710,17 +1714,13 @@ export interface News {
1710
1714
  "0": The0;
1711
1715
  "1": The1;
1712
1716
  "2": The2;
1713
- "3": The10;
1714
- "4": The10;
1715
- "5": The10;
1717
+ "3": The3;
1718
+ "4": The4;
1719
+ "5": The5;
1716
1720
  "6": The6;
1717
1721
  "7": The7;
1718
- "8": The10;
1719
- "9": The10;
1720
- "10": The10;
1721
- "11": The10;
1722
- "12": The12;
1723
- "13": The13;
1722
+ "8": The6;
1723
+ "9": The9;
1724
1724
  canvas: Canva[];
1725
1725
  }
1726
1726
  export interface The0 {
@@ -1729,7 +1729,7 @@ export interface The0 {
1729
1729
  assets_name: string;
1730
1730
  direct_to_shop: number;
1731
1731
  end_ts: string;
1732
- hud_button: The0_HudButton;
1732
+ hud_button: HudButton;
1733
1733
  id: number;
1734
1734
  min_level: number;
1735
1735
  popup_type: string;
@@ -1737,7 +1737,7 @@ export interface The0 {
1737
1737
  slides: The0_Slide[];
1738
1738
  start_ts: string;
1739
1739
  }
1740
- export interface The0_HudButton {
1740
+ export interface HudButton {
1741
1741
  file: string;
1742
1742
  title: string;
1743
1743
  viral_icon_tier: number;
@@ -1752,64 +1752,52 @@ export interface The0_Slide {
1752
1752
  slide_type: string;
1753
1753
  slide_type_2: string;
1754
1754
  timer?: string;
1755
- times_to_show?: number;
1755
+ link_item_id?: number;
1756
1756
  }
1757
1757
  export interface The1 {
1758
- active_platforms: ValueClass;
1759
- allow_island_tutorial: number;
1760
- assets_name: string;
1761
- end_ts: string;
1762
- hud_button: The1_HudButton;
1763
- id: number;
1764
- min_level: number;
1765
- popup_type: string;
1766
- show_on_startup: number;
1767
- slides: The0_Slide[];
1768
- start_ts: string;
1769
- }
1770
- export interface The1_HudButton {
1771
- file: string;
1772
- title: string;
1773
- }
1774
- export interface The10 {
1775
1758
  active_platforms: ValueClass;
1776
1759
  allow_island_tutorial: number;
1777
1760
  assets_name: string;
1778
1761
  direct_to_shop: number;
1779
1762
  end_ts: string;
1763
+ filter_category: null;
1764
+ hud_button: HudButton;
1780
1765
  id: number;
1766
+ label_text_tid: null;
1767
+ label_title_tid: null;
1781
1768
  min_level: number;
1782
1769
  popup_frequency: string;
1770
+ popup_is_critical: number;
1783
1771
  popup_type: string;
1772
+ priority: null;
1784
1773
  show_on_startup: number;
1785
- slides: The10_Slide[];
1774
+ slides: The1_Slide[];
1786
1775
  start_ts: string;
1787
1776
  }
1788
- export interface The10_Slide {
1789
- content_localized_key?: string;
1777
+ export interface The1_Slide {
1778
+ content_localized_key: string;
1790
1779
  custom_title_localized_key: string;
1791
1780
  forceClose?: boolean;
1792
1781
  header_localized_key: string;
1793
1782
  image_url: string;
1794
1783
  multiple_buttons: MultipleButton[];
1795
1784
  times_to_show: number;
1796
- type: SlideType;
1785
+ type: string;
1797
1786
  }
1798
1787
  export interface MultipleButton {
1799
1788
  animation: AnimationNameEnum;
1800
1789
  animationPlace: AnimationPlace;
1801
1790
  forceClose: boolean;
1802
1791
  glint: boolean;
1803
- key: Key;
1792
+ key: string;
1804
1793
  link: string;
1805
- linkItemId?: number;
1806
1794
  normalizedPosition: NormalizedPosition;
1807
1795
  size: SizeClass;
1808
- spineAsset?: SpineAsset;
1809
1796
  style: Style;
1797
+ spineAsset?: SpineAsset;
1798
+ linkItemId?: number | string;
1810
1799
  }
1811
1800
  export type AnimationPlace = "Foreground";
1812
- export type Key = "" | "tid_news_titan_collection_teaser_button" | "tid_news_viptiers_button" | "tid_helpshift_faq_title";
1813
1801
  export interface NormalizedPosition {
1814
1802
  x: number;
1815
1803
  y: number;
@@ -1819,106 +1807,176 @@ export interface SizeClass {
1819
1807
  w: number;
1820
1808
  }
1821
1809
  export type SpineAsset = "pointer_animation_v2" | "";
1822
- export type Style = "Transparent" | "BlueLarge" | "YellowLarge";
1823
- export type SlideType = "FullImage";
1824
- export interface The12 {
1810
+ export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1811
+ export interface The2 {
1825
1812
  active_platforms: ValueClass;
1826
1813
  allow_island_tutorial: number;
1827
1814
  assets_name: string;
1828
1815
  direct_to_shop: number;
1829
1816
  end_ts: string;
1817
+ filter_category: null;
1818
+ hud_button: HudButton;
1830
1819
  id: number;
1820
+ label_text_tid: null;
1821
+ label_title_tid: null;
1831
1822
  min_level: number;
1832
1823
  popup_frequency: string;
1833
1824
  popup_type: string;
1825
+ priority: null;
1834
1826
  show_on_startup: number;
1835
- slides: The0_Slide[];
1827
+ slides: The1_Slide[];
1836
1828
  start_ts: string;
1837
1829
  }
1838
- export interface The13 {
1839
- active_platforms: The13_ActivePlatforms;
1830
+ export interface The3 {
1831
+ active_platforms: ValueClass;
1840
1832
  allow_island_tutorial: number;
1841
1833
  assets_name: string;
1842
1834
  direct_to_shop: number;
1843
1835
  end_ts: string;
1836
+ filter_category: null;
1837
+ hud_button: HudButton;
1844
1838
  id: number;
1839
+ label_text_tid: null;
1840
+ label_title_tid: null;
1845
1841
  min_level: number;
1846
- popup_frequency: string;
1847
- popup_is_critical: boolean;
1848
1842
  popup_type: string;
1843
+ priority: null;
1849
1844
  show_on_startup: number;
1850
- slides: The10_Slide[];
1845
+ slides: The1_Slide[];
1851
1846
  start_ts: string;
1852
1847
  }
1853
- export interface The13_ActivePlatforms {
1854
- android: number[];
1855
- ios: number[];
1856
- }
1857
- export interface The2 {
1848
+ export interface The4 {
1858
1849
  active_platforms: ValueClass;
1859
1850
  allow_island_tutorial: number;
1860
1851
  assets_name: string;
1861
1852
  direct_to_shop: number;
1862
1853
  end_ts: string;
1863
1854
  filter_category: null;
1864
- hud_button: The0_HudButton;
1855
+ hud_button: HudButton;
1865
1856
  id: number;
1866
1857
  label_text_tid: null;
1867
1858
  label_title_tid: null;
1868
1859
  min_level: number;
1860
+ popup_frequency: string;
1869
1861
  popup_type: string;
1870
1862
  priority: null;
1871
1863
  show_on_startup: number;
1872
- slides: The10_Slide[];
1864
+ slides: The0_Slide[];
1873
1865
  start_ts: string;
1874
1866
  }
1875
- export interface The6 {
1867
+ export interface The5 {
1876
1868
  active_platforms: ValueClass;
1877
1869
  allow_island_tutorial: number;
1878
1870
  assets_name: string;
1879
1871
  direct_to_shop: number;
1880
1872
  end_ts: string;
1881
1873
  filter_category: null;
1882
- hud_button: The0_HudButton;
1883
1874
  id: number;
1884
1875
  label_text_tid: null;
1885
1876
  label_title_tid: null;
1886
1877
  min_level: number;
1887
- popup_frequency: string;
1888
- popup_is_critical: number;
1889
1878
  popup_type: string;
1890
- priority: null;
1879
+ priority: number;
1891
1880
  show_on_startup: number;
1892
- slides: The10_Slide[];
1881
+ slides: The5_Slide[];
1893
1882
  start_ts: string;
1894
1883
  }
1895
- export interface The7 {
1884
+ export interface The5_Slide {
1885
+ content_localized_key: string;
1886
+ custom_title_localized_key: string;
1887
+ header_localized_key: string;
1888
+ image_url: string;
1889
+ multiple_buttons: MultipleButton[];
1890
+ times_to_show: number;
1891
+ type: string;
1892
+ }
1893
+ export interface The6 {
1896
1894
  active_platforms: ValueClass;
1897
1895
  allow_island_tutorial: number;
1898
1896
  assets_name: string;
1899
1897
  direct_to_shop: number;
1900
1898
  end_ts: string;
1901
1899
  filter_category: null;
1902
- hud_button: The0_HudButton;
1903
1900
  id: number;
1904
1901
  label_text_tid: null;
1905
1902
  label_title_tid: null;
1906
1903
  min_level: number;
1904
+ popup_type: string;
1905
+ priority: number | null;
1906
+ show_on_startup: number;
1907
+ slides: The1_Slide[];
1908
+ start_ts: string;
1909
+ }
1910
+ export interface The7 {
1911
+ active_platforms: ValueClass;
1912
+ allow_island_tutorial: number;
1913
+ assets_name: string;
1914
+ direct_to_shop: number;
1915
+ end_ts: string;
1916
+ id: number;
1917
+ min_level: number;
1907
1918
  popup_frequency: string;
1908
1919
  popup_type: string;
1909
- priority: null;
1910
1920
  show_on_startup: number;
1911
- slides: The10_Slide[];
1921
+ slides: The1_Slide[];
1912
1922
  start_ts: string;
1913
1923
  }
1924
+ export interface The9 {
1925
+ active_platforms: The9_ActivePlatforms;
1926
+ allow_island_tutorial: number;
1927
+ assets_name: string;
1928
+ direct_to_shop: number;
1929
+ end_ts: string;
1930
+ id: number;
1931
+ min_level: number;
1932
+ popup_frequency: string;
1933
+ popup_is_critical: boolean;
1934
+ popup_type: string;
1935
+ show_on_startup: number;
1936
+ slides: The1_Slide[];
1937
+ start_ts: string;
1938
+ }
1939
+ export interface The9_ActivePlatforms {
1940
+ android: number[];
1941
+ ios: number[];
1942
+ }
1914
1943
  export interface Canva {
1915
1944
  id: number;
1916
1945
  assets_name: string;
1917
- start_ts: number;
1918
- end_ts: number;
1946
+ start_ts: number | string;
1947
+ end_ts: number | string;
1919
1948
  min_level: number;
1920
- slides: The10_Slide[];
1949
+ slides: CanvaSlide[];
1921
1950
  show_on_startup: number;
1951
+ priority?: string;
1952
+ }
1953
+ export interface CanvaSlide {
1954
+ custom_title_localized_key?: string;
1955
+ header_localized_key?: string;
1956
+ image_url?: string;
1957
+ times_to_show?: number;
1958
+ type?: string;
1959
+ multiple_buttons?: MultipleButton[];
1960
+ bg?: string;
1961
+ content?: Content[];
1962
+ edit_mode?: number;
1963
+ id?: number;
1964
+ title_key?: string;
1965
+ viral_icon_key?: string;
1966
+ viral_icon_timer?: string;
1967
+ }
1968
+ export interface Content {
1969
+ height: number;
1970
+ rotation: number;
1971
+ stroke: string;
1972
+ text_color: string;
1973
+ text_key: string;
1974
+ text_size: number;
1975
+ timer: number;
1976
+ type: string;
1977
+ width: number;
1978
+ x: number;
1979
+ y: number;
1922
1980
  }
1923
1981
  export interface Perks {
1924
1982
  abilities: Ability[];
@@ -2691,8 +2749,8 @@ export interface MultiplierTime {
2691
2749
  multiplier_time: number;
2692
2750
  }
2693
2751
  export interface TreeOfLifePowerupRaritySeed {
2694
- max_rarity_seeds_per_grade: number[];
2695
2752
  rarity: Rarity;
2753
+ max_rarity_seeds_per_grade: number[];
2696
2754
  }
2697
2755
  export interface Visual {
2698
2756
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.158",
3
+ "version": "0.1.160",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",