@dchighs/dc-config 0.1.153 → 0.1.155

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,56 +1710,26 @@ 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;
1713
+ "2": The10;
1714
+ "3": The10;
1715
+ "4": The10;
1716
+ "5": The5;
1717
1717
  "6": The6;
1718
- "7": The7;
1719
- "8": The11;
1720
- "9": The11;
1718
+ "7": The10;
1719
+ "8": The10;
1720
+ "9": The9;
1721
1721
  "10": The10;
1722
- "11": The11;
1723
- "12": The11;
1722
+ "11": The10;
1724
1723
  canvas: Canva[];
1725
1724
  }
1726
1725
  export interface The0 {
1727
- active_platforms: ValueClass;
1728
- allow_island_tutorial: number;
1729
- assets_name: string;
1730
- end_ts: string;
1731
- hud_button: The0_HudButton;
1732
- id: number;
1733
- min_level: number;
1734
- popup_type: string;
1735
- show_on_startup: number;
1736
- slides: The0_Slide[];
1737
- start_ts: string;
1738
- }
1739
- export interface The0_HudButton {
1740
- file: string;
1741
- title: string;
1742
- }
1743
- export interface The0_Slide {
1744
- content_localized_key: string;
1745
- custom_title_localized_key: string;
1746
- header_localized_key: string;
1747
- image_url: string;
1748
- link: string;
1749
- link_button_key: string;
1750
- slide_type: string;
1751
- slide_type_2: string;
1752
- timer: string;
1753
- times_to_show: number;
1754
- }
1755
- export interface The1 {
1756
1726
  active_platforms: ValueClass;
1757
1727
  allow_island_tutorial: number;
1758
1728
  assets_name: string;
1759
1729
  direct_to_shop: number;
1760
1730
  end_ts: string;
1761
1731
  filter_category: null;
1762
- hud_button: The1_HudButton;
1732
+ hud_button: HudButton;
1763
1733
  id: number;
1764
1734
  label_text_tid: null;
1765
1735
  label_title_tid: null;
@@ -1767,16 +1737,16 @@ export interface The1 {
1767
1737
  popup_type: string;
1768
1738
  priority: null;
1769
1739
  show_on_startup: number;
1770
- slides: The1_Slide[];
1740
+ slides: The0_Slide[];
1771
1741
  start_ts: string;
1772
1742
  }
1773
- export interface The1_HudButton {
1743
+ export interface HudButton {
1774
1744
  file: string;
1775
1745
  title: string;
1776
1746
  viral_icon_tier: number;
1777
1747
  }
1778
- export interface The1_Slide {
1779
- content_localized_key: string;
1748
+ export interface The0_Slide {
1749
+ content_localized_key?: string;
1780
1750
  custom_title_localized_key: string;
1781
1751
  forceClose?: boolean;
1782
1752
  header_localized_key: string;
@@ -1811,24 +1781,37 @@ export interface SizeClass {
1811
1781
  export type SpineAsset = "pointer_animation_v2";
1812
1782
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1813
1783
  export type SlideType = "FullImage";
1814
- export interface The10 {
1784
+ export interface The1 {
1815
1785
  active_platforms: ValueClass;
1816
1786
  allow_island_tutorial: number;
1817
1787
  assets_name: string;
1818
1788
  direct_to_shop: number;
1819
1789
  end_ts: string;
1820
1790
  filter_category: null;
1791
+ hud_button: HudButton;
1821
1792
  id: number;
1822
1793
  label_text_tid: null;
1823
1794
  label_title_tid: null;
1824
1795
  min_level: number;
1796
+ popup_frequency: string;
1825
1797
  popup_type: string;
1826
- priority: number;
1798
+ priority: null;
1827
1799
  show_on_startup: number;
1828
1800
  slides: The1_Slide[];
1829
1801
  start_ts: string;
1830
1802
  }
1831
- export interface The11 {
1803
+ export interface The1_Slide {
1804
+ content_localized_key: string;
1805
+ custom_title_localized_key: string;
1806
+ header_localized_key: string;
1807
+ image_url: string;
1808
+ link: string;
1809
+ link_button_key: string;
1810
+ link_item_id: number;
1811
+ slide_type: string;
1812
+ slide_type_2: string;
1813
+ }
1814
+ export interface The10 {
1832
1815
  active_platforms: ValueClass;
1833
1816
  allow_island_tutorial: number;
1834
1817
  assets_name: string;
@@ -1839,17 +1822,17 @@ export interface The11 {
1839
1822
  popup_frequency: string;
1840
1823
  popup_type: string;
1841
1824
  show_on_startup: number;
1842
- slides: The1_Slide[];
1825
+ slides: The0_Slide[];
1843
1826
  start_ts: string;
1844
1827
  }
1845
- export interface The6 {
1828
+ export interface The5 {
1846
1829
  active_platforms: ValueClass;
1847
1830
  allow_island_tutorial: number;
1848
1831
  assets_name: string;
1849
1832
  direct_to_shop: number;
1850
1833
  end_ts: string;
1851
1834
  filter_category: null;
1852
- hud_button: The1_HudButton;
1835
+ hud_button: HudButton;
1853
1836
  id: number;
1854
1837
  label_text_tid: null;
1855
1838
  label_title_tid: null;
@@ -1859,17 +1842,17 @@ export interface The6 {
1859
1842
  popup_type: string;
1860
1843
  priority: null;
1861
1844
  show_on_startup: number;
1862
- slides: The1_Slide[];
1845
+ slides: The0_Slide[];
1863
1846
  start_ts: string;
1864
1847
  }
1865
- export interface The7 {
1848
+ export interface The6 {
1866
1849
  active_platforms: ValueClass;
1867
1850
  allow_island_tutorial: number;
1868
1851
  assets_name: string;
1869
1852
  direct_to_shop: number;
1870
1853
  end_ts: string;
1871
1854
  filter_category: null;
1872
- hud_button: The1_HudButton;
1855
+ hud_button: HudButton;
1873
1856
  id: number;
1874
1857
  label_text_tid: null;
1875
1858
  label_title_tid: null;
@@ -1878,52 +1861,34 @@ export interface The7 {
1878
1861
  popup_type: string;
1879
1862
  priority: null;
1880
1863
  show_on_startup: number;
1881
- slides: The1_Slide[];
1864
+ slides: The0_Slide[];
1865
+ start_ts: string;
1866
+ }
1867
+ export interface The9 {
1868
+ active_platforms: ValueClass;
1869
+ allow_island_tutorial: number;
1870
+ assets_name: string;
1871
+ direct_to_shop: number;
1872
+ end_ts: string;
1873
+ filter_category: null;
1874
+ id: number;
1875
+ label_text_tid: null;
1876
+ label_title_tid: null;
1877
+ min_level: number;
1878
+ popup_type: string;
1879
+ priority: number;
1880
+ show_on_startup: number;
1881
+ slides: The0_Slide[];
1882
1882
  start_ts: string;
1883
1883
  }
1884
1884
  export interface Canva {
1885
1885
  id: number;
1886
1886
  assets_name: string;
1887
- start_ts: number | string;
1888
- end_ts: number | string;
1889
- min_level?: number;
1890
- slides: CanvaSlide[];
1891
- show_on_startup?: number;
1892
- }
1893
- export interface CanvaSlide {
1894
- custom_title_localized_key?: string;
1895
- header_localized_key?: string;
1896
- image_url?: string;
1897
- times_to_show?: number;
1898
- type?: SlideType;
1899
- multiple_buttons?: MultipleButton[];
1900
- bg?: string;
1901
- content?: Content[];
1902
- edit_mode?: number;
1903
- id?: number;
1904
- title_key?: string;
1905
- viral_icon_key?: string;
1906
- viral_icon_timer?: string;
1907
- }
1908
- export interface Content {
1909
- height: number;
1910
- rotation: number;
1911
- stroke?: string;
1912
- text_color?: string;
1913
- text_key: string;
1914
- text_size?: number;
1915
- timer?: number;
1916
- type: string;
1917
- width: number;
1918
- x: number;
1919
- y: number;
1920
- action?: ContentAction;
1921
- style?: string;
1922
- }
1923
- export interface ContentAction {
1924
- itemId: string;
1925
- storeCategory: number;
1926
- type: string;
1887
+ start_ts: number;
1888
+ end_ts: number;
1889
+ min_level: number;
1890
+ slides: The0_Slide[];
1891
+ show_on_startup: number;
1927
1892
  }
1928
1893
  export interface Perks {
1929
1894
  abilities: Ability[];
@@ -2518,7 +2483,7 @@ export interface TowerIsland {
2518
2483
  happy_hours: HappyHour[];
2519
2484
  parameters: FogIslandParameter[];
2520
2485
  currencies: Currency[];
2521
- actions: ActionElement[];
2486
+ actions: Action[];
2522
2487
  }
2523
2488
  export interface Floor {
2524
2489
  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.155",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",