@dchighs/dc-config 0.1.153 → 0.1.154

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.
@@ -962,11 +962,11 @@ export interface FogIsland {
962
962
  squares: FogIslandSquare[];
963
963
  currencies: Currency[];
964
964
  rewards: FogIslandReward[];
965
- actions: ActionElement[];
965
+ actions: Action[];
966
966
  hints: Hint[];
967
967
  parameters: FogIslandParameter[];
968
968
  }
969
- export interface ActionElement {
969
+ export interface Action {
970
970
  id: number;
971
971
  type: string;
972
972
  tid_name: ActionTidName;
@@ -1138,7 +1138,7 @@ export interface GridIsland {
1138
1138
  encounters: Encounter[];
1139
1139
  enemies: EnemyElement[];
1140
1140
  currencies: Currency[];
1141
- actions: ActionElement[];
1141
+ actions: Action[];
1142
1142
  parameters: FogIslandParameter[];
1143
1143
  }
1144
1144
  export interface Decoration {
@@ -1625,7 +1625,7 @@ export interface MazeIsland {
1625
1625
  encounters: Encounter[];
1626
1626
  enemies: EnemyElement[];
1627
1627
  happy_hours: unknown[];
1628
- actions: ActionElement[];
1628
+ actions: Action[];
1629
1629
  clouds: Cloud[];
1630
1630
  currencies: Currency[];
1631
1631
  parameters: FogIslandParameter[];
@@ -1710,17 +1710,19 @@ export interface MazeIslandReward {
1710
1710
  export interface News {
1711
1711
  "0": The0;
1712
1712
  "1": The1;
1713
- "2": The11;
1714
- "3": The11;
1715
- "4": The11;
1716
- "5": The11;
1717
- "6": The6;
1718
- "7": The7;
1719
- "8": The11;
1720
- "9": The11;
1713
+ "2": The2;
1714
+ "3": The3;
1715
+ "4": The10;
1716
+ "5": The10;
1717
+ "6": The10;
1718
+ "7": The10;
1719
+ "8": The8;
1720
+ "9": The9;
1721
1721
  "10": The10;
1722
- "11": The11;
1723
- "12": The11;
1722
+ "11": The10;
1723
+ "12": The12;
1724
+ "13": The10;
1725
+ "14": The10;
1724
1726
  canvas: Canva[];
1725
1727
  }
1726
1728
  export interface The0 {
@@ -1749,8 +1751,9 @@ export interface The0_Slide {
1749
1751
  link_button_key: string;
1750
1752
  slide_type: string;
1751
1753
  slide_type_2: string;
1752
- timer: string;
1753
- times_to_show: number;
1754
+ timer?: string;
1755
+ times_to_show?: number;
1756
+ link_item_id?: number;
1754
1757
  }
1755
1758
  export interface The1 {
1756
1759
  active_platforms: ValueClass;
@@ -1758,16 +1761,12 @@ export interface The1 {
1758
1761
  assets_name: string;
1759
1762
  direct_to_shop: number;
1760
1763
  end_ts: string;
1761
- filter_category: null;
1762
1764
  hud_button: The1_HudButton;
1763
1765
  id: number;
1764
- label_text_tid: null;
1765
- label_title_tid: null;
1766
1766
  min_level: number;
1767
1767
  popup_type: string;
1768
- priority: null;
1769
1768
  show_on_startup: number;
1770
- slides: The1_Slide[];
1769
+ slides: The0_Slide[];
1771
1770
  start_ts: string;
1772
1771
  }
1773
1772
  export interface The1_HudButton {
@@ -1775,7 +1774,21 @@ export interface The1_HudButton {
1775
1774
  title: string;
1776
1775
  viral_icon_tier: number;
1777
1776
  }
1778
- export interface The1_Slide {
1777
+ export interface The10 {
1778
+ active_platforms: ValueClass;
1779
+ allow_island_tutorial: number;
1780
+ assets_name: string;
1781
+ direct_to_shop: number;
1782
+ end_ts: string;
1783
+ id: number;
1784
+ min_level: number;
1785
+ popup_frequency: string;
1786
+ popup_type: string;
1787
+ show_on_startup: number;
1788
+ slides: The10_Slide[];
1789
+ start_ts: string;
1790
+ }
1791
+ export interface The10_Slide {
1779
1792
  content_localized_key: string;
1780
1793
  custom_title_localized_key: string;
1781
1794
  forceClose?: boolean;
@@ -1811,7 +1824,7 @@ export interface SizeClass {
1811
1824
  export type SpineAsset = "pointer_animation_v2";
1812
1825
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1813
1826
  export type SlideType = "FullImage";
1814
- export interface The10 {
1827
+ export interface The12 {
1815
1828
  active_platforms: ValueClass;
1816
1829
  allow_island_tutorial: number;
1817
1830
  assets_name: string;
@@ -1825,24 +1838,47 @@ export interface The10 {
1825
1838
  popup_type: string;
1826
1839
  priority: number;
1827
1840
  show_on_startup: number;
1828
- slides: The1_Slide[];
1841
+ slides: The10_Slide[];
1842
+ start_ts: string;
1843
+ }
1844
+ export interface The2 {
1845
+ active_platforms: ValueClass;
1846
+ allow_island_tutorial: number;
1847
+ assets_name: string;
1848
+ direct_to_shop: number;
1849
+ end_ts: string;
1850
+ filter_category: null;
1851
+ hud_button: The1_HudButton;
1852
+ id: number;
1853
+ label_text_tid: null;
1854
+ label_title_tid: null;
1855
+ min_level: number;
1856
+ popup_type: string;
1857
+ priority: null;
1858
+ show_on_startup: number;
1859
+ slides: The10_Slide[];
1829
1860
  start_ts: string;
1830
1861
  }
1831
- export interface The11 {
1862
+ export interface The3 {
1832
1863
  active_platforms: ValueClass;
1833
1864
  allow_island_tutorial: number;
1834
1865
  assets_name: string;
1835
1866
  direct_to_shop: number;
1836
1867
  end_ts: string;
1868
+ filter_category: null;
1869
+ hud_button: The1_HudButton;
1837
1870
  id: number;
1871
+ label_text_tid: null;
1872
+ label_title_tid: null;
1838
1873
  min_level: number;
1839
1874
  popup_frequency: string;
1840
1875
  popup_type: string;
1876
+ priority: null;
1841
1877
  show_on_startup: number;
1842
- slides: The1_Slide[];
1878
+ slides: The0_Slide[];
1843
1879
  start_ts: string;
1844
1880
  }
1845
- export interface The6 {
1881
+ export interface The8 {
1846
1882
  active_platforms: ValueClass;
1847
1883
  allow_island_tutorial: number;
1848
1884
  assets_name: string;
@@ -1859,10 +1895,10 @@ export interface The6 {
1859
1895
  popup_type: string;
1860
1896
  priority: null;
1861
1897
  show_on_startup: number;
1862
- slides: The1_Slide[];
1898
+ slides: The10_Slide[];
1863
1899
  start_ts: string;
1864
1900
  }
1865
- export interface The7 {
1901
+ export interface The9 {
1866
1902
  active_platforms: ValueClass;
1867
1903
  allow_island_tutorial: number;
1868
1904
  assets_name: string;
@@ -1878,7 +1914,7 @@ export interface The7 {
1878
1914
  popup_type: string;
1879
1915
  priority: null;
1880
1916
  show_on_startup: number;
1881
- slides: The1_Slide[];
1917
+ slides: The10_Slide[];
1882
1918
  start_ts: string;
1883
1919
  }
1884
1920
  export interface Canva {
@@ -1886,9 +1922,10 @@ export interface Canva {
1886
1922
  assets_name: string;
1887
1923
  start_ts: number | string;
1888
1924
  end_ts: number | string;
1889
- min_level?: number;
1925
+ min_level: number;
1890
1926
  slides: CanvaSlide[];
1891
- show_on_startup?: number;
1927
+ show_on_startup: number;
1928
+ priority?: string;
1892
1929
  }
1893
1930
  export interface CanvaSlide {
1894
1931
  custom_title_localized_key?: string;
@@ -1908,22 +1945,15 @@ export interface CanvaSlide {
1908
1945
  export interface Content {
1909
1946
  height: number;
1910
1947
  rotation: number;
1911
- stroke?: string;
1912
- text_color?: string;
1948
+ stroke: string;
1949
+ text_color: string;
1913
1950
  text_key: string;
1914
- text_size?: number;
1915
- timer?: number;
1951
+ text_size: number;
1952
+ timer: number;
1916
1953
  type: string;
1917
1954
  width: number;
1918
1955
  x: number;
1919
1956
  y: number;
1920
- action?: ContentAction;
1921
- style?: string;
1922
- }
1923
- export interface ContentAction {
1924
- itemId: string;
1925
- storeCategory: number;
1926
- type: string;
1927
1957
  }
1928
1958
  export interface Perks {
1929
1959
  abilities: Ability[];
@@ -2518,7 +2548,7 @@ export interface TowerIsland {
2518
2548
  happy_hours: HappyHour[];
2519
2549
  parameters: FogIslandParameter[];
2520
2550
  currencies: Currency[];
2521
- actions: ActionElement[];
2551
+ actions: Action[];
2522
2552
  }
2523
2553
  export interface Floor {
2524
2554
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.153",
3
+ "version": "0.1.154",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",