@dchighs/dc-config 0.1.163 → 0.1.164

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.
@@ -964,11 +964,11 @@ export interface FogIsland {
964
964
  squares: FogIslandSquare[];
965
965
  currencies: Currency[];
966
966
  rewards: FogIslandReward[];
967
- actions: ActionElement[];
967
+ actions: Action[];
968
968
  hints: Hint[];
969
969
  parameters: FogIslandParameter[];
970
970
  }
971
- export interface ActionElement {
971
+ export interface Action {
972
972
  id: number;
973
973
  type: ActionType;
974
974
  tid_name: ActionTidName;
@@ -1141,7 +1141,7 @@ export interface GridIsland {
1141
1141
  encounters: Encounter[];
1142
1142
  enemies: EnemyElement[];
1143
1143
  currencies: Currency[];
1144
- actions: ActionElement[];
1144
+ actions: Action[];
1145
1145
  parameters: FogIslandParameter[];
1146
1146
  }
1147
1147
  export interface Decoration {
@@ -1627,7 +1627,7 @@ export interface MazeIsland {
1627
1627
  encounters: Encounter[];
1628
1628
  enemies: EnemyElement[];
1629
1629
  happy_hours: unknown[];
1630
- actions: ActionElement[];
1630
+ actions: Action[];
1631
1631
  clouds: Cloud[];
1632
1632
  currencies: Currency[];
1633
1633
  parameters: FogIslandParameter[];
@@ -1719,9 +1719,9 @@ export interface News {
1719
1719
  "4": The4;
1720
1720
  "5": The5;
1721
1721
  "6": The6;
1722
- "7": The1;
1722
+ "7": The5;
1723
1723
  "8": The6;
1724
- "9": The1;
1724
+ "9": The9;
1725
1725
  canvas: Canva[];
1726
1726
  }
1727
1727
  export interface The0 {
@@ -1751,7 +1751,7 @@ export interface The0_Slide {
1751
1751
  slide_type: string;
1752
1752
  slide_type_2: string;
1753
1753
  timer: string;
1754
- times_to_show: number;
1754
+ times_to_show?: number;
1755
1755
  }
1756
1756
  export interface The1 {
1757
1757
  active_platforms: ValueClass;
@@ -1759,23 +1759,34 @@ export interface The1 {
1759
1759
  assets_name: string;
1760
1760
  direct_to_shop: number;
1761
1761
  end_ts: string;
1762
+ filter_category: null;
1763
+ hud_button: The1_HudButton;
1762
1764
  id: number;
1765
+ label_text_tid: null;
1766
+ label_title_tid: null;
1763
1767
  min_level: number;
1764
1768
  popup_frequency: string;
1769
+ popup_is_critical: number;
1765
1770
  popup_type: string;
1771
+ priority: null;
1766
1772
  show_on_startup: number;
1767
1773
  slides: The1_Slide[];
1768
1774
  start_ts: string;
1769
1775
  }
1776
+ export interface The1_HudButton {
1777
+ file: string;
1778
+ title: string;
1779
+ viral_icon_tier: number;
1780
+ }
1770
1781
  export interface The1_Slide {
1771
- content_localized_key: string;
1782
+ content_localized_key?: string;
1772
1783
  custom_title_localized_key: string;
1784
+ forceClose?: boolean;
1773
1785
  header_localized_key: string;
1774
1786
  image_url: string;
1775
1787
  multiple_buttons: MultipleButton[];
1776
1788
  times_to_show: number;
1777
1789
  type: SlideType;
1778
- forceClose?: boolean;
1779
1790
  }
1780
1791
  export interface MultipleButton {
1781
1792
  animation: AnimationNameEnum;
@@ -1784,14 +1795,14 @@ export interface MultipleButton {
1784
1795
  glint: boolean;
1785
1796
  key: Key;
1786
1797
  link: string;
1787
- linkItemId?: number | string;
1788
1798
  normalizedPosition: NormalizedPosition;
1789
1799
  size: SizeClass;
1790
- spineAsset?: SpineAsset;
1791
1800
  style: Style;
1801
+ spineAsset?: SpineAsset;
1802
+ linkItemId?: number | string;
1792
1803
  }
1793
1804
  export type AnimationPlace = "Foreground";
1794
- export type Key = "" | "tid_news_viptiers_button" | "tid_helpshift_faq_title";
1805
+ export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
1795
1806
  export interface NormalizedPosition {
1796
1807
  x: number;
1797
1808
  y: number;
@@ -1801,7 +1812,7 @@ export interface SizeClass {
1801
1812
  w: number;
1802
1813
  }
1803
1814
  export type SpineAsset = "pointer_animation_v2";
1804
- export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1815
+ export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1805
1816
  export type SlideType = "FullImage";
1806
1817
  export interface The2 {
1807
1818
  active_platforms: ValueClass;
@@ -1810,24 +1821,18 @@ export interface The2 {
1810
1821
  direct_to_shop: number;
1811
1822
  end_ts: string;
1812
1823
  filter_category: null;
1813
- hud_button: The2_HudButton;
1824
+ hud_button: The1_HudButton;
1814
1825
  id: number;
1815
1826
  label_text_tid: null;
1816
1827
  label_title_tid: null;
1817
1828
  min_level: number;
1818
1829
  popup_frequency: string;
1819
- popup_is_critical: number;
1820
1830
  popup_type: string;
1821
1831
  priority: null;
1822
1832
  show_on_startup: number;
1823
1833
  slides: The1_Slide[];
1824
1834
  start_ts: string;
1825
1835
  }
1826
- export interface The2_HudButton {
1827
- file: string;
1828
- title: string;
1829
- viral_icon_tier: number;
1830
- }
1831
1836
  export interface The3 {
1832
1837
  active_platforms: ValueClass;
1833
1838
  allow_island_tutorial: number;
@@ -1835,12 +1840,11 @@ export interface The3 {
1835
1840
  direct_to_shop: number;
1836
1841
  end_ts: string;
1837
1842
  filter_category: null;
1838
- hud_button: The2_HudButton;
1843
+ hud_button: The1_HudButton;
1839
1844
  id: number;
1840
1845
  label_text_tid: null;
1841
1846
  label_title_tid: null;
1842
1847
  min_level: number;
1843
- popup_frequency: string;
1844
1848
  popup_type: string;
1845
1849
  priority: null;
1846
1850
  show_on_startup: number;
@@ -1854,17 +1858,25 @@ export interface The4 {
1854
1858
  direct_to_shop: number;
1855
1859
  end_ts: string;
1856
1860
  filter_category: null;
1857
- hud_button: The2_HudButton;
1858
1861
  id: number;
1859
1862
  label_text_tid: null;
1860
1863
  label_title_tid: null;
1861
1864
  min_level: number;
1862
1865
  popup_type: string;
1863
- priority: null;
1866
+ priority: number;
1864
1867
  show_on_startup: number;
1865
- slides: The1_Slide[];
1868
+ slides: The4_Slide[];
1866
1869
  start_ts: string;
1867
1870
  }
1871
+ export interface The4_Slide {
1872
+ content_localized_key: string;
1873
+ custom_title_localized_key: string;
1874
+ header_localized_key: string;
1875
+ image_url: string;
1876
+ multiple_buttons: MultipleButton[];
1877
+ times_to_show: number;
1878
+ type: SlideType;
1879
+ }
1868
1880
  export interface The5 {
1869
1881
  active_platforms: ValueClass;
1870
1882
  allow_island_tutorial: number;
@@ -1877,80 +1889,47 @@ export interface The5 {
1877
1889
  label_title_tid: null;
1878
1890
  min_level: number;
1879
1891
  popup_type: string;
1880
- priority: number;
1892
+ priority: number | null;
1881
1893
  show_on_startup: number;
1882
- slides: The5_Slide[];
1894
+ slides: The1_Slide[];
1883
1895
  start_ts: string;
1884
1896
  }
1885
- export interface The5_Slide {
1886
- content_localized_key: string;
1887
- custom_title_localized_key: string;
1888
- header_localized_key: string;
1889
- image_url: string;
1890
- multiple_buttons: MultipleButton[];
1891
- times_to_show: number;
1892
- type: SlideType;
1893
- }
1894
1897
  export interface The6 {
1895
1898
  active_platforms: ValueClass;
1896
1899
  allow_island_tutorial: number;
1897
1900
  assets_name: string;
1898
1901
  direct_to_shop: number;
1899
1902
  end_ts: string;
1900
- filter_category: null;
1901
1903
  id: number;
1902
- label_text_tid: null;
1903
- label_title_tid: null;
1904
1904
  min_level: number;
1905
+ popup_frequency: string;
1905
1906
  popup_type: string;
1906
- priority: number | null;
1907
1907
  show_on_startup: number;
1908
1908
  slides: The1_Slide[];
1909
1909
  start_ts: string;
1910
1910
  }
1911
+ export interface The9 {
1912
+ active_platforms: ValueClass;
1913
+ allow_island_tutorial: number;
1914
+ assets_name: string;
1915
+ direct_to_shop: number;
1916
+ end_ts: string;
1917
+ hud_button: The1_HudButton;
1918
+ id: number;
1919
+ min_level: number;
1920
+ popup_type: string;
1921
+ show_on_startup: number;
1922
+ slides: The0_Slide[];
1923
+ start_ts: string;
1924
+ }
1911
1925
  export interface Canva {
1912
1926
  id: number;
1913
1927
  assets_name: string;
1914
- start_ts: number | string;
1915
- end_ts: number | string;
1916
- min_level?: number;
1917
- slides: CanvaSlide[];
1918
- show_on_startup?: number;
1919
- }
1920
- export interface CanvaSlide {
1921
- custom_title_localized_key?: string;
1922
- header_localized_key?: string;
1923
- image_url?: string;
1924
- times_to_show?: number;
1925
- type?: SlideType;
1926
- multiple_buttons?: MultipleButton[];
1927
- bg?: string;
1928
- content?: Content[];
1929
- edit_mode?: number;
1930
- id?: number;
1931
- title_key?: string;
1932
- viral_icon_key?: string;
1933
- viral_icon_timer?: string;
1934
- }
1935
- export interface Content {
1936
- height: number;
1937
- rotation: number;
1938
- stroke?: string;
1939
- text_color?: string;
1940
- text_key: string;
1941
- text_size?: number;
1942
- timer?: number;
1943
- type: string;
1944
- width: number;
1945
- x: number;
1946
- y: number;
1947
- action?: ContentAction;
1948
- style?: string;
1949
- }
1950
- export interface ContentAction {
1951
- itemId: string;
1952
- storeCategory: number;
1953
- type: string;
1928
+ start_ts: number;
1929
+ end_ts: number;
1930
+ min_level: number;
1931
+ slides: The1_Slide[];
1932
+ show_on_startup: number;
1954
1933
  }
1955
1934
  export interface Perks {
1956
1935
  abilities: Ability[];
@@ -2548,7 +2527,7 @@ export interface TowerIsland {
2548
2527
  happy_hours: HappyHour[];
2549
2528
  parameters: FogIslandParameter[];
2550
2529
  currencies: Currency[];
2551
- actions: ActionElement[];
2530
+ actions: Action[];
2552
2531
  }
2553
2532
  export interface Floor {
2554
2533
  id: number;
@@ -2660,6 +2639,7 @@ export interface NonSummonableDragon {
2660
2639
  dragon_id: number;
2661
2640
  unlock_system_id?: UnlockSystemID;
2662
2641
  unlock_system_id_b?: UnlockSystemID;
2642
+ unlock_system_id_c?: UnlockSystemID;
2663
2643
  }
2664
2644
  export type UnlockSystemID = "ngu_lmh_no_summon";
2665
2645
  export interface TreeOfLifeParameter {
@@ -2723,8 +2703,8 @@ export interface MultiplierTime {
2723
2703
  multiplier_time: number;
2724
2704
  }
2725
2705
  export interface TreeOfLifePowerupRaritySeed {
2726
- rarity: Rarity;
2727
2706
  max_rarity_seeds_per_grade: number[];
2707
+ rarity: Rarity;
2728
2708
  }
2729
2709
  export interface Visual {
2730
2710
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.163",
3
+ "version": "0.1.164",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",