@dchighs/dc-config 0.1.124 → 0.1.126

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 {
@@ -1618,7 +1618,7 @@ export interface MazeIsland {
1618
1618
  encounters: Encounter[];
1619
1619
  enemies: EnemyElement[];
1620
1620
  happy_hours: unknown[];
1621
- actions: Action[];
1621
+ actions: ActionElement[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1703,7 +1703,7 @@ export interface News {
1703
1703
  "0": The0;
1704
1704
  "1": The1;
1705
1705
  "2": The2;
1706
- "3": The3;
1706
+ "3": The2;
1707
1707
  "4": The4;
1708
1708
  "5": The5;
1709
1709
  "6": The5;
@@ -1716,7 +1716,7 @@ export interface The0 {
1716
1716
  direct_to_shop: number;
1717
1717
  end_ts: string;
1718
1718
  filter_category: null;
1719
- hud_button: HudButton;
1719
+ hud_button: The0_HudButton;
1720
1720
  id: number;
1721
1721
  label_text_tid: null;
1722
1722
  label_title_tid: null;
@@ -1729,7 +1729,7 @@ export interface The0 {
1729
1729
  slides: The0_Slide[];
1730
1730
  start_ts: string;
1731
1731
  }
1732
- export interface HudButton {
1732
+ export interface The0_HudButton {
1733
1733
  file: string;
1734
1734
  title: string;
1735
1735
  viral_icon_tier: number;
@@ -1771,9 +1771,8 @@ export interface The1 {
1771
1771
  active_platforms: ValueClass;
1772
1772
  allow_island_tutorial: number;
1773
1773
  assets_name: string;
1774
- direct_to_shop: number;
1775
1774
  end_ts: string;
1776
- hud_button: HudButton;
1775
+ hud_button: The1_HudButton;
1777
1776
  id: number;
1778
1777
  min_level: number;
1779
1778
  popup_type: string;
@@ -1781,17 +1780,19 @@ export interface The1 {
1781
1780
  slides: The1_Slide[];
1782
1781
  start_ts: string;
1783
1782
  }
1783
+ export interface The1_HudButton {
1784
+ file: string;
1785
+ title: string;
1786
+ }
1784
1787
  export interface The1_Slide {
1785
- content_localized_key: string;
1786
1788
  custom_title_localized_key: string;
1787
- header_localized_key: string;
1788
1789
  image_url: string;
1789
1790
  link: string;
1790
1791
  link_button_key: string;
1791
1792
  slide_type: string;
1792
1793
  slide_type_2: string;
1793
- timer?: string;
1794
- link_item_id?: number;
1794
+ timer: string;
1795
+ times_to_show: number;
1795
1796
  }
1796
1797
  export interface The2 {
1797
1798
  active_platforms: ValueClass;
@@ -1807,24 +1808,6 @@ export interface The2 {
1807
1808
  slides: The0_Slide[];
1808
1809
  start_ts: string;
1809
1810
  }
1810
- export interface The3 {
1811
- active_platforms: ValueClass;
1812
- allow_island_tutorial: number;
1813
- assets_name: string;
1814
- direct_to_shop: number;
1815
- end_ts: string;
1816
- filter_category: null;
1817
- hud_button: HudButton;
1818
- id: number;
1819
- label_text_tid: null;
1820
- label_title_tid: null;
1821
- min_level: number;
1822
- popup_type: string;
1823
- priority: null;
1824
- show_on_startup: number;
1825
- slides: The0_Slide[];
1826
- start_ts: string;
1827
- }
1828
1811
  export interface The4 {
1829
1812
  active_platforms: ValueClass;
1830
1813
  allow_island_tutorial: number;
@@ -1832,16 +1815,15 @@ export interface The4 {
1832
1815
  direct_to_shop: number;
1833
1816
  end_ts: string;
1834
1817
  filter_category: null;
1835
- hud_button: HudButton;
1818
+ hud_button: The0_HudButton;
1836
1819
  id: number;
1837
1820
  label_text_tid: null;
1838
1821
  label_title_tid: null;
1839
1822
  min_level: number;
1840
- popup_frequency: string;
1841
1823
  popup_type: string;
1842
1824
  priority: null;
1843
1825
  show_on_startup: number;
1844
- slides: The1_Slide[];
1826
+ slides: The0_Slide[];
1845
1827
  start_ts: string;
1846
1828
  }
1847
1829
  export interface The5 {
@@ -1866,10 +1848,9 @@ export interface Canva {
1866
1848
  assets_name: string;
1867
1849
  start_ts: number | string;
1868
1850
  end_ts: number | string;
1869
- min_level: number;
1851
+ min_level?: number;
1870
1852
  slides: CanvaSlide[];
1871
- show_on_startup: number;
1872
- priority?: string;
1853
+ show_on_startup?: number;
1873
1854
  }
1874
1855
  export interface CanvaSlide {
1875
1856
  custom_title_localized_key?: string;
@@ -1887,18 +1868,21 @@ export interface CanvaSlide {
1887
1868
  viral_icon_timer?: string;
1888
1869
  }
1889
1870
  export interface Content {
1871
+ action: ContentAction;
1890
1872
  height: number;
1891
1873
  rotation: number;
1892
- stroke: string;
1893
- text_color: string;
1874
+ style: string;
1894
1875
  text_key: string;
1895
- text_size: number;
1896
- timer: number;
1897
1876
  type: string;
1898
1877
  width: number;
1899
1878
  x: number;
1900
1879
  y: number;
1901
1880
  }
1881
+ export interface ContentAction {
1882
+ itemId: string;
1883
+ storeCategory: number;
1884
+ type: string;
1885
+ }
1902
1886
  export interface Perks {
1903
1887
  abilities: Ability[];
1904
1888
  parameters: PerksParameter[];
@@ -2487,7 +2471,7 @@ export interface TowerIsland {
2487
2471
  happy_hours: HappyHour[];
2488
2472
  parameters: FogIslandParameter[];
2489
2473
  currencies: Currency[];
2490
- actions: Action[];
2474
+ actions: ActionElement[];
2491
2475
  }
2492
2476
  export interface Floor {
2493
2477
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.124",
3
+ "version": "0.1.126",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",