@dchighs/dc-config 0.1.159 → 0.1.161

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: string;
974
974
  tid_name: ActionTidName;
@@ -1140,7 +1140,7 @@ export interface GridIsland {
1140
1140
  encounters: Encounter[];
1141
1141
  enemies: EnemyElement[];
1142
1142
  currencies: Currency[];
1143
- actions: Action[];
1143
+ actions: ActionElement[];
1144
1144
  parameters: FogIslandParameter[];
1145
1145
  }
1146
1146
  export interface Decoration {
@@ -1626,7 +1626,7 @@ export interface MazeIsland {
1626
1626
  encounters: Encounter[];
1627
1627
  enemies: EnemyElement[];
1628
1628
  happy_hours: unknown[];
1629
- actions: Action[];
1629
+ actions: ActionElement[];
1630
1630
  clouds: Cloud[];
1631
1631
  currencies: Currency[];
1632
1632
  parameters: FogIslandParameter[];
@@ -1718,8 +1718,9 @@ export interface News {
1718
1718
  "4": The4;
1719
1719
  "5": The5;
1720
1720
  "6": The6;
1721
- "7": The5;
1722
- "8": The8;
1721
+ "7": The7;
1722
+ "8": The6;
1723
+ "9": The9;
1723
1724
  canvas: Canva[];
1724
1725
  }
1725
1726
  export interface The0 {
@@ -1740,9 +1741,7 @@ export interface The0_HudButton {
1740
1741
  title: string;
1741
1742
  }
1742
1743
  export interface The0_Slide {
1743
- content_localized_key: string;
1744
1744
  custom_title_localized_key: string;
1745
- header_localized_key: string;
1746
1745
  image_url: string;
1747
1746
  link: string;
1748
1747
  link_button_key: string;
@@ -1777,14 +1776,14 @@ export interface The1_HudButton {
1777
1776
  viral_icon_tier: number;
1778
1777
  }
1779
1778
  export interface The1_Slide {
1780
- content_localized_key?: string;
1779
+ content_localized_key: string;
1781
1780
  custom_title_localized_key: string;
1782
1781
  forceClose?: boolean;
1783
1782
  header_localized_key: string;
1784
1783
  image_url: string;
1785
1784
  multiple_buttons: MultipleButton[];
1786
1785
  times_to_show: number;
1787
- type: SlideType;
1786
+ type: string;
1788
1787
  }
1789
1788
  export interface MultipleButton {
1790
1789
  animation: AnimationNameEnum;
@@ -1810,7 +1809,6 @@ export interface SizeClass {
1810
1809
  }
1811
1810
  export type SpineAsset = "pointer_animation_v2" | "";
1812
1811
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1813
- export type SlideType = "FullImage";
1814
1812
  export interface The2 {
1815
1813
  active_platforms: ValueClass;
1816
1814
  allow_island_tutorial: number;
@@ -1855,26 +1853,56 @@ export interface The4 {
1855
1853
  direct_to_shop: number;
1856
1854
  end_ts: string;
1857
1855
  filter_category: null;
1856
+ hud_button: The1_HudButton;
1858
1857
  id: number;
1859
1858
  label_text_tid: null;
1860
1859
  label_title_tid: null;
1861
1860
  min_level: number;
1861
+ popup_frequency: string;
1862
1862
  popup_type: string;
1863
- priority: number;
1863
+ priority: null;
1864
1864
  show_on_startup: number;
1865
1865
  slides: The4_Slide[];
1866
1866
  start_ts: string;
1867
1867
  }
1868
1868
  export interface The4_Slide {
1869
+ content_localized_key: string;
1870
+ custom_title_localized_key: string;
1871
+ header_localized_key: string;
1872
+ image_url: string;
1873
+ link: string;
1874
+ link_button_key: string;
1875
+ link_item_id: number;
1876
+ slide_type: string;
1877
+ slide_type_2: string;
1878
+ }
1879
+ export interface The5 {
1880
+ active_platforms: ValueClass;
1881
+ allow_island_tutorial: number;
1882
+ assets_name: string;
1883
+ direct_to_shop: number;
1884
+ end_ts: string;
1885
+ filter_category: null;
1886
+ id: number;
1887
+ label_text_tid: null;
1888
+ label_title_tid: null;
1889
+ min_level: number;
1890
+ popup_type: string;
1891
+ priority: number;
1892
+ show_on_startup: number;
1893
+ slides: The5_Slide[];
1894
+ start_ts: string;
1895
+ }
1896
+ export interface The5_Slide {
1869
1897
  content_localized_key: string;
1870
1898
  custom_title_localized_key: string;
1871
1899
  header_localized_key: string;
1872
1900
  image_url: string;
1873
1901
  multiple_buttons: MultipleButton[];
1874
1902
  times_to_show: number;
1875
- type: SlideType;
1903
+ type: string;
1876
1904
  }
1877
- export interface The5 {
1905
+ export interface The6 {
1878
1906
  active_platforms: ValueClass;
1879
1907
  allow_island_tutorial: number;
1880
1908
  assets_name: string;
@@ -1891,7 +1919,7 @@ export interface The5 {
1891
1919
  slides: The1_Slide[];
1892
1920
  start_ts: string;
1893
1921
  }
1894
- export interface The6 {
1922
+ export interface The7 {
1895
1923
  active_platforms: ValueClass;
1896
1924
  allow_island_tutorial: number;
1897
1925
  assets_name: string;
@@ -1905,8 +1933,8 @@ export interface The6 {
1905
1933
  slides: The1_Slide[];
1906
1934
  start_ts: string;
1907
1935
  }
1908
- export interface The8 {
1909
- active_platforms: The8_ActivePlatforms;
1936
+ export interface The9 {
1937
+ active_platforms: The9_ActivePlatforms;
1910
1938
  allow_island_tutorial: number;
1911
1939
  assets_name: string;
1912
1940
  direct_to_shop: number;
@@ -1920,18 +1948,49 @@ export interface The8 {
1920
1948
  slides: The1_Slide[];
1921
1949
  start_ts: string;
1922
1950
  }
1923
- export interface The8_ActivePlatforms {
1951
+ export interface The9_ActivePlatforms {
1924
1952
  android: number[];
1925
1953
  ios: number[];
1926
1954
  }
1927
1955
  export interface Canva {
1928
1956
  id: number;
1929
1957
  assets_name: string;
1930
- start_ts: number;
1931
- end_ts: number;
1932
- min_level: number;
1933
- slides: The1_Slide[];
1934
- show_on_startup: number;
1958
+ start_ts: number | string;
1959
+ end_ts: number | string;
1960
+ min_level?: number;
1961
+ slides: CanvaSlide[];
1962
+ show_on_startup?: number;
1963
+ }
1964
+ export interface CanvaSlide {
1965
+ custom_title_localized_key?: string;
1966
+ header_localized_key?: string;
1967
+ image_url?: string;
1968
+ times_to_show?: number;
1969
+ type?: string;
1970
+ multiple_buttons?: MultipleButton[];
1971
+ bg?: string;
1972
+ content?: Content[];
1973
+ edit_mode?: number;
1974
+ id?: number;
1975
+ title_key?: string;
1976
+ viral_icon_key?: string;
1977
+ viral_icon_timer?: string;
1978
+ }
1979
+ export interface Content {
1980
+ action: ContentAction;
1981
+ height: number;
1982
+ rotation: number;
1983
+ style: string;
1984
+ text_key: string;
1985
+ type: string;
1986
+ width: number;
1987
+ x: number;
1988
+ y: number;
1989
+ }
1990
+ export interface ContentAction {
1991
+ itemId: string;
1992
+ storeCategory: number;
1993
+ type: string;
1935
1994
  }
1936
1995
  export interface Perks {
1937
1996
  abilities: Ability[];
@@ -2529,7 +2588,7 @@ export interface TowerIsland {
2529
2588
  happy_hours: HappyHour[];
2530
2589
  parameters: FogIslandParameter[];
2531
2590
  currencies: Currency[];
2532
- actions: Action[];
2591
+ actions: ActionElement[];
2533
2592
  }
2534
2593
  export interface Floor {
2535
2594
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.159",
3
+ "version": "0.1.161",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",