@dchighs/dc-config 0.1.159 → 0.1.160

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.
@@ -1718,16 +1718,18 @@ 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 {
1726
1727
  active_platforms: ValueClass;
1727
1728
  allow_island_tutorial: number;
1728
1729
  assets_name: string;
1730
+ direct_to_shop: number;
1729
1731
  end_ts: string;
1730
- hud_button: The0_HudButton;
1732
+ hud_button: HudButton;
1731
1733
  id: number;
1732
1734
  min_level: number;
1733
1735
  popup_type: string;
@@ -1735,9 +1737,10 @@ export interface The0 {
1735
1737
  slides: The0_Slide[];
1736
1738
  start_ts: string;
1737
1739
  }
1738
- export interface The0_HudButton {
1740
+ export interface HudButton {
1739
1741
  file: string;
1740
1742
  title: string;
1743
+ viral_icon_tier: number;
1741
1744
  }
1742
1745
  export interface The0_Slide {
1743
1746
  content_localized_key: string;
@@ -1748,8 +1751,8 @@ export interface The0_Slide {
1748
1751
  link_button_key: string;
1749
1752
  slide_type: string;
1750
1753
  slide_type_2: string;
1751
- timer: string;
1752
- times_to_show: number;
1754
+ timer?: string;
1755
+ link_item_id?: number;
1753
1756
  }
1754
1757
  export interface The1 {
1755
1758
  active_platforms: ValueClass;
@@ -1758,7 +1761,7 @@ export interface The1 {
1758
1761
  direct_to_shop: number;
1759
1762
  end_ts: string;
1760
1763
  filter_category: null;
1761
- hud_button: The1_HudButton;
1764
+ hud_button: HudButton;
1762
1765
  id: number;
1763
1766
  label_text_tid: null;
1764
1767
  label_title_tid: null;
@@ -1771,20 +1774,15 @@ export interface The1 {
1771
1774
  slides: The1_Slide[];
1772
1775
  start_ts: string;
1773
1776
  }
1774
- export interface The1_HudButton {
1775
- file: string;
1776
- title: string;
1777
- viral_icon_tier: number;
1778
- }
1779
1777
  export interface The1_Slide {
1780
- content_localized_key?: string;
1778
+ content_localized_key: string;
1781
1779
  custom_title_localized_key: string;
1782
1780
  forceClose?: boolean;
1783
1781
  header_localized_key: string;
1784
1782
  image_url: string;
1785
1783
  multiple_buttons: MultipleButton[];
1786
1784
  times_to_show: number;
1787
- type: SlideType;
1785
+ type: string;
1788
1786
  }
1789
1787
  export interface MultipleButton {
1790
1788
  animation: AnimationNameEnum;
@@ -1810,7 +1808,6 @@ export interface SizeClass {
1810
1808
  }
1811
1809
  export type SpineAsset = "pointer_animation_v2" | "";
1812
1810
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1813
- export type SlideType = "FullImage";
1814
1811
  export interface The2 {
1815
1812
  active_platforms: ValueClass;
1816
1813
  allow_island_tutorial: number;
@@ -1818,7 +1815,7 @@ export interface The2 {
1818
1815
  direct_to_shop: number;
1819
1816
  end_ts: string;
1820
1817
  filter_category: null;
1821
- hud_button: The1_HudButton;
1818
+ hud_button: HudButton;
1822
1819
  id: number;
1823
1820
  label_text_tid: null;
1824
1821
  label_title_tid: null;
@@ -1837,7 +1834,7 @@ export interface The3 {
1837
1834
  direct_to_shop: number;
1838
1835
  end_ts: string;
1839
1836
  filter_category: null;
1840
- hud_button: The1_HudButton;
1837
+ hud_button: HudButton;
1841
1838
  id: number;
1842
1839
  label_text_tid: null;
1843
1840
  label_title_tid: null;
@@ -1849,6 +1846,25 @@ export interface The3 {
1849
1846
  start_ts: string;
1850
1847
  }
1851
1848
  export interface The4 {
1849
+ active_platforms: ValueClass;
1850
+ allow_island_tutorial: number;
1851
+ assets_name: string;
1852
+ direct_to_shop: number;
1853
+ end_ts: string;
1854
+ filter_category: null;
1855
+ hud_button: HudButton;
1856
+ id: number;
1857
+ label_text_tid: null;
1858
+ label_title_tid: null;
1859
+ min_level: number;
1860
+ popup_frequency: string;
1861
+ popup_type: string;
1862
+ priority: null;
1863
+ show_on_startup: number;
1864
+ slides: The0_Slide[];
1865
+ start_ts: string;
1866
+ }
1867
+ export interface The5 {
1852
1868
  active_platforms: ValueClass;
1853
1869
  allow_island_tutorial: number;
1854
1870
  assets_name: string;
@@ -1862,19 +1878,19 @@ export interface The4 {
1862
1878
  popup_type: string;
1863
1879
  priority: number;
1864
1880
  show_on_startup: number;
1865
- slides: The4_Slide[];
1881
+ slides: The5_Slide[];
1866
1882
  start_ts: string;
1867
1883
  }
1868
- export interface The4_Slide {
1884
+ export interface The5_Slide {
1869
1885
  content_localized_key: string;
1870
1886
  custom_title_localized_key: string;
1871
1887
  header_localized_key: string;
1872
1888
  image_url: string;
1873
1889
  multiple_buttons: MultipleButton[];
1874
1890
  times_to_show: number;
1875
- type: SlideType;
1891
+ type: string;
1876
1892
  }
1877
- export interface The5 {
1893
+ export interface The6 {
1878
1894
  active_platforms: ValueClass;
1879
1895
  allow_island_tutorial: number;
1880
1896
  assets_name: string;
@@ -1891,7 +1907,7 @@ export interface The5 {
1891
1907
  slides: The1_Slide[];
1892
1908
  start_ts: string;
1893
1909
  }
1894
- export interface The6 {
1910
+ export interface The7 {
1895
1911
  active_platforms: ValueClass;
1896
1912
  allow_island_tutorial: number;
1897
1913
  assets_name: string;
@@ -1905,8 +1921,8 @@ export interface The6 {
1905
1921
  slides: The1_Slide[];
1906
1922
  start_ts: string;
1907
1923
  }
1908
- export interface The8 {
1909
- active_platforms: The8_ActivePlatforms;
1924
+ export interface The9 {
1925
+ active_platforms: The9_ActivePlatforms;
1910
1926
  allow_island_tutorial: number;
1911
1927
  assets_name: string;
1912
1928
  direct_to_shop: number;
@@ -1920,18 +1936,47 @@ export interface The8 {
1920
1936
  slides: The1_Slide[];
1921
1937
  start_ts: string;
1922
1938
  }
1923
- export interface The8_ActivePlatforms {
1939
+ export interface The9_ActivePlatforms {
1924
1940
  android: number[];
1925
1941
  ios: number[];
1926
1942
  }
1927
1943
  export interface Canva {
1928
1944
  id: number;
1929
1945
  assets_name: string;
1930
- start_ts: number;
1931
- end_ts: number;
1946
+ start_ts: number | string;
1947
+ end_ts: number | string;
1932
1948
  min_level: number;
1933
- slides: The1_Slide[];
1949
+ slides: CanvaSlide[];
1934
1950
  show_on_startup: number;
1951
+ priority?: string;
1952
+ }
1953
+ export interface CanvaSlide {
1954
+ custom_title_localized_key?: string;
1955
+ header_localized_key?: string;
1956
+ image_url?: string;
1957
+ times_to_show?: number;
1958
+ type?: string;
1959
+ multiple_buttons?: MultipleButton[];
1960
+ bg?: string;
1961
+ content?: Content[];
1962
+ edit_mode?: number;
1963
+ id?: number;
1964
+ title_key?: string;
1965
+ viral_icon_key?: string;
1966
+ viral_icon_timer?: string;
1967
+ }
1968
+ export interface Content {
1969
+ height: number;
1970
+ rotation: number;
1971
+ stroke: string;
1972
+ text_color: string;
1973
+ text_key: string;
1974
+ text_size: number;
1975
+ timer: number;
1976
+ type: string;
1977
+ width: number;
1978
+ x: number;
1979
+ y: number;
1935
1980
  }
1936
1981
  export interface Perks {
1937
1982
  abilities: Ability[];
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.160",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",