@dchighs/dc-config 0.1.130 → 0.1.132

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: ActionElement[];
963
+ actions: Action[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface ActionElement {
967
+ export interface Action {
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: ActionElement[];
1137
+ actions: Action[];
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: ActionElement[];
1621
+ actions: Action[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1707,10 +1707,10 @@ export interface News {
1707
1707
  "3": The3;
1708
1708
  "4": The4;
1709
1709
  "5": The5;
1710
- "6": The6;
1710
+ "6": The4;
1711
1711
  "7": The5;
1712
- "8": The6;
1713
- "9": The6;
1712
+ "8": The5;
1713
+ "9": The5;
1714
1714
  canvas: Canva[];
1715
1715
  }
1716
1716
  export interface The0 {
@@ -1739,14 +1739,14 @@ export interface The0_HudButton {
1739
1739
  viral_icon_tier: number;
1740
1740
  }
1741
1741
  export interface The0_Slide {
1742
- content_localized_key: string;
1742
+ content_localized_key?: string;
1743
1743
  custom_title_localized_key: string;
1744
1744
  forceClose?: boolean;
1745
1745
  header_localized_key: string;
1746
1746
  image_url: string;
1747
1747
  multiple_buttons: MultipleButton[];
1748
1748
  times_to_show: number;
1749
- type: string;
1749
+ type: SlideType;
1750
1750
  }
1751
1751
  export interface MultipleButton {
1752
1752
  animation: AnimationNameEnum;
@@ -1773,13 +1773,13 @@ export interface SizeClass {
1773
1773
  }
1774
1774
  export type SpineAsset = "pointer_animation_v2";
1775
1775
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1776
+ export type SlideType = "FullImage";
1776
1777
  export interface The1 {
1777
1778
  active_platforms: ValueClass;
1778
1779
  allow_island_tutorial: number;
1779
1780
  assets_name: string;
1780
- direct_to_shop: number;
1781
1781
  end_ts: string;
1782
- hud_button: The0_HudButton;
1782
+ hud_button: The1_HudButton;
1783
1783
  id: number;
1784
1784
  min_level: number;
1785
1785
  popup_type: string;
@@ -1787,10 +1787,14 @@ export interface The1 {
1787
1787
  slides: The1_Slide[];
1788
1788
  start_ts: string;
1789
1789
  }
1790
+ export interface The1_HudButton {
1791
+ file: string;
1792
+ title: string;
1793
+ }
1790
1794
  export interface The1_Slide {
1791
- content_localized_key?: string;
1795
+ content_localized_key: string;
1792
1796
  custom_title_localized_key: string;
1793
- header_localized_key?: string;
1797
+ header_localized_key: string;
1794
1798
  image_url: string;
1795
1799
  link: string;
1796
1800
  link_button_key: string;
@@ -1801,23 +1805,6 @@ export interface The1_Slide {
1801
1805
  link_item_id?: number;
1802
1806
  }
1803
1807
  export interface The2 {
1804
- active_platforms: ValueClass;
1805
- allow_island_tutorial: number;
1806
- assets_name: string;
1807
- end_ts: string;
1808
- hud_button: The2_HudButton;
1809
- id: number;
1810
- min_level: number;
1811
- popup_type: string;
1812
- show_on_startup: number;
1813
- slides: The1_Slide[];
1814
- start_ts: string;
1815
- }
1816
- export interface The2_HudButton {
1817
- file: string;
1818
- title: string;
1819
- }
1820
- export interface The3 {
1821
1808
  active_platforms: ValueClass;
1822
1809
  allow_island_tutorial: number;
1823
1810
  assets_name: string;
@@ -1835,7 +1822,7 @@ export interface The3 {
1835
1822
  slides: The0_Slide[];
1836
1823
  start_ts: string;
1837
1824
  }
1838
- export interface The4 {
1825
+ export interface The3 {
1839
1826
  active_platforms: ValueClass;
1840
1827
  allow_island_tutorial: number;
1841
1828
  assets_name: string;
@@ -1854,7 +1841,7 @@ export interface The4 {
1854
1841
  slides: The1_Slide[];
1855
1842
  start_ts: string;
1856
1843
  }
1857
- export interface The5 {
1844
+ export interface The4 {
1858
1845
  active_platforms: ValueClass;
1859
1846
  allow_island_tutorial: number;
1860
1847
  assets_name: string;
@@ -1871,7 +1858,7 @@ export interface The5 {
1871
1858
  slides: The0_Slide[];
1872
1859
  start_ts: string;
1873
1860
  }
1874
- export interface The6 {
1861
+ export interface The5 {
1875
1862
  active_platforms: ValueClass;
1876
1863
  allow_island_tutorial: number;
1877
1864
  assets_name: string;
@@ -1888,47 +1875,11 @@ export interface The6 {
1888
1875
  export interface Canva {
1889
1876
  id: number;
1890
1877
  assets_name: string;
1891
- start_ts: number | string;
1892
- end_ts: number | string;
1893
- min_level?: number;
1894
- slides: CanvaSlide[];
1895
- show_on_startup?: number;
1896
- priority?: string;
1897
- }
1898
- export interface CanvaSlide {
1899
- custom_title_localized_key?: string;
1900
- header_localized_key?: string;
1901
- image_url?: string;
1902
- times_to_show?: number;
1903
- type?: string;
1904
- multiple_buttons?: MultipleButton[];
1905
- bg?: string;
1906
- content?: Content[];
1907
- edit_mode?: number;
1908
- id?: number;
1909
- title_key?: string;
1910
- viral_icon_key?: string;
1911
- viral_icon_timer?: string;
1912
- }
1913
- export interface Content {
1914
- height: number;
1915
- rotation: number;
1916
- stroke?: string;
1917
- text_color?: string;
1918
- text_key: string;
1919
- text_size?: number;
1920
- timer?: number;
1921
- type: string;
1922
- width: number;
1923
- x: number;
1924
- y: number;
1925
- action?: ContentAction;
1926
- style?: string;
1927
- }
1928
- export interface ContentAction {
1929
- itemId: string;
1930
- storeCategory: number;
1931
- type: string;
1878
+ start_ts: number;
1879
+ end_ts: number;
1880
+ min_level: number;
1881
+ slides: The0_Slide[];
1882
+ show_on_startup: number;
1932
1883
  }
1933
1884
  export interface Perks {
1934
1885
  abilities: Ability[];
@@ -2518,7 +2469,7 @@ export interface TowerIsland {
2518
2469
  happy_hours: HappyHour[];
2519
2470
  parameters: FogIslandParameter[];
2520
2471
  currencies: Currency[];
2521
- actions: ActionElement[];
2472
+ actions: Action[];
2522
2473
  }
2523
2474
  export interface Floor {
2524
2475
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.130",
3
+ "version": "0.1.132",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",