@dchighs/dc-config 0.1.162 → 0.1.163

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: Action[];
967
+ actions: ActionElement[];
968
968
  hints: Hint[];
969
969
  parameters: FogIslandParameter[];
970
970
  }
971
- export interface Action {
971
+ export interface ActionElement {
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: Action[];
1144
+ actions: ActionElement[];
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: Action[];
1630
+ actions: ActionElement[];
1631
1631
  clouds: Cloud[];
1632
1632
  currencies: Currency[];
1633
1633
  parameters: FogIslandParameter[];
@@ -1718,27 +1718,57 @@ export interface News {
1718
1718
  "3": The3;
1719
1719
  "4": The4;
1720
1720
  "5": The5;
1721
- "6": The0;
1722
- "7": The5;
1723
- "8": The0;
1721
+ "6": The6;
1722
+ "7": The1;
1723
+ "8": The6;
1724
+ "9": The1;
1724
1725
  canvas: Canva[];
1725
1726
  }
1726
1727
  export interface The0 {
1727
1728
  active_platforms: ValueClass;
1728
1729
  allow_island_tutorial: number;
1729
1730
  assets_name: string;
1730
- direct_to_shop: number;
1731
1731
  end_ts: string;
1732
+ hud_button: The0_HudButton;
1732
1733
  id: number;
1733
1734
  min_level: number;
1734
- popup_frequency: string;
1735
1735
  popup_type: string;
1736
1736
  show_on_startup: number;
1737
1737
  slides: The0_Slide[];
1738
1738
  start_ts: string;
1739
1739
  }
1740
+ export interface The0_HudButton {
1741
+ file: string;
1742
+ title: string;
1743
+ }
1740
1744
  export interface The0_Slide {
1741
- content_localized_key?: string;
1745
+ content_localized_key: string;
1746
+ custom_title_localized_key: string;
1747
+ header_localized_key: string;
1748
+ image_url: string;
1749
+ link: string;
1750
+ link_button_key: string;
1751
+ slide_type: string;
1752
+ slide_type_2: string;
1753
+ timer: string;
1754
+ times_to_show: number;
1755
+ }
1756
+ export interface The1 {
1757
+ active_platforms: ValueClass;
1758
+ allow_island_tutorial: number;
1759
+ assets_name: string;
1760
+ direct_to_shop: number;
1761
+ end_ts: string;
1762
+ id: number;
1763
+ min_level: number;
1764
+ popup_frequency: string;
1765
+ popup_type: string;
1766
+ show_on_startup: number;
1767
+ slides: The1_Slide[];
1768
+ start_ts: string;
1769
+ }
1770
+ export interface The1_Slide {
1771
+ content_localized_key: string;
1742
1772
  custom_title_localized_key: string;
1743
1773
  header_localized_key: string;
1744
1774
  image_url: string;
@@ -1773,14 +1803,14 @@ export interface SizeClass {
1773
1803
  export type SpineAsset = "pointer_animation_v2";
1774
1804
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1775
1805
  export type SlideType = "FullImage";
1776
- export interface The1 {
1806
+ export interface The2 {
1777
1807
  active_platforms: ValueClass;
1778
1808
  allow_island_tutorial: number;
1779
1809
  assets_name: string;
1780
1810
  direct_to_shop: number;
1781
1811
  end_ts: string;
1782
1812
  filter_category: null;
1783
- hud_button: HudButton;
1813
+ hud_button: The2_HudButton;
1784
1814
  id: number;
1785
1815
  label_text_tid: null;
1786
1816
  label_title_tid: null;
@@ -1790,22 +1820,22 @@ export interface The1 {
1790
1820
  popup_type: string;
1791
1821
  priority: null;
1792
1822
  show_on_startup: number;
1793
- slides: The0_Slide[];
1823
+ slides: The1_Slide[];
1794
1824
  start_ts: string;
1795
1825
  }
1796
- export interface HudButton {
1826
+ export interface The2_HudButton {
1797
1827
  file: string;
1798
1828
  title: string;
1799
1829
  viral_icon_tier: number;
1800
1830
  }
1801
- export interface The2 {
1831
+ export interface The3 {
1802
1832
  active_platforms: ValueClass;
1803
1833
  allow_island_tutorial: number;
1804
1834
  assets_name: string;
1805
1835
  direct_to_shop: number;
1806
1836
  end_ts: string;
1807
1837
  filter_category: null;
1808
- hud_button: HudButton;
1838
+ hud_button: The2_HudButton;
1809
1839
  id: number;
1810
1840
  label_text_tid: null;
1811
1841
  label_title_tid: null;
@@ -1814,17 +1844,17 @@ export interface The2 {
1814
1844
  popup_type: string;
1815
1845
  priority: null;
1816
1846
  show_on_startup: number;
1817
- slides: The0_Slide[];
1847
+ slides: The1_Slide[];
1818
1848
  start_ts: string;
1819
1849
  }
1820
- export interface The3 {
1850
+ export interface The4 {
1821
1851
  active_platforms: ValueClass;
1822
1852
  allow_island_tutorial: number;
1823
1853
  assets_name: string;
1824
1854
  direct_to_shop: number;
1825
1855
  end_ts: string;
1826
1856
  filter_category: null;
1827
- hud_button: HudButton;
1857
+ hud_button: The2_HudButton;
1828
1858
  id: number;
1829
1859
  label_text_tid: null;
1830
1860
  label_title_tid: null;
@@ -1832,10 +1862,10 @@ export interface The3 {
1832
1862
  popup_type: string;
1833
1863
  priority: null;
1834
1864
  show_on_startup: number;
1835
- slides: The0_Slide[];
1865
+ slides: The1_Slide[];
1836
1866
  start_ts: string;
1837
1867
  }
1838
- export interface The4 {
1868
+ export interface The5 {
1839
1869
  active_platforms: ValueClass;
1840
1870
  allow_island_tutorial: number;
1841
1871
  assets_name: string;
@@ -1849,10 +1879,10 @@ export interface The4 {
1849
1879
  popup_type: string;
1850
1880
  priority: number;
1851
1881
  show_on_startup: number;
1852
- slides: The4_Slide[];
1882
+ slides: The5_Slide[];
1853
1883
  start_ts: string;
1854
1884
  }
1855
- export interface The4_Slide {
1885
+ export interface The5_Slide {
1856
1886
  content_localized_key: string;
1857
1887
  custom_title_localized_key: string;
1858
1888
  header_localized_key: string;
@@ -1861,7 +1891,7 @@ export interface The4_Slide {
1861
1891
  times_to_show: number;
1862
1892
  type: SlideType;
1863
1893
  }
1864
- export interface The5 {
1894
+ export interface The6 {
1865
1895
  active_platforms: ValueClass;
1866
1896
  allow_island_tutorial: number;
1867
1897
  assets_name: string;
@@ -1875,17 +1905,52 @@ export interface The5 {
1875
1905
  popup_type: string;
1876
1906
  priority: number | null;
1877
1907
  show_on_startup: number;
1878
- slides: The0_Slide[];
1908
+ slides: The1_Slide[];
1879
1909
  start_ts: string;
1880
1910
  }
1881
1911
  export interface Canva {
1882
1912
  id: number;
1883
1913
  assets_name: string;
1884
- start_ts: number;
1885
- end_ts: number;
1886
- min_level: number;
1887
- slides: The0_Slide[];
1888
- show_on_startup: number;
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;
1889
1954
  }
1890
1955
  export interface Perks {
1891
1956
  abilities: Ability[];
@@ -2483,7 +2548,7 @@ export interface TowerIsland {
2483
2548
  happy_hours: HappyHour[];
2484
2549
  parameters: FogIslandParameter[];
2485
2550
  currencies: Currency[];
2486
- actions: Action[];
2551
+ actions: ActionElement[];
2487
2552
  }
2488
2553
  export interface Floor {
2489
2554
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.162",
3
+ "version": "0.1.163",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",