@dchighs/dc-config 0.1.147 → 0.1.149

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.
@@ -1533,7 +1533,7 @@ export interface Properties {
1533
1533
  is_fixed?: number;
1534
1534
  ft_flying?: number;
1535
1535
  }
1536
- export type Tag = "VIP" | "Youtuber" | "hasSkill" | "Mythical" | "Titan" | "Vampire" | "TitanVamp" | "Divinepass" | "Karma" | "Dual" | "TWD" | "Eternal" | "Plasma" | "Berserker" | "Spikes" | "Strategist" | "CritCrew" | "Evader" | "Critcrew" | "Silencer" | "Originals" | "Armor" | "Apocalypse" | "Doom" | "Astro" | "Apex" | "Void" | "Stained";
1536
+ export type Tag = "VIP" | "Youtuber" | "hasSkill" | "Mythical" | "Titan" | "Vampire" | "TitanVamp" | "Divinepass" | "Karma" | "Dual" | "TWD" | "Eternal" | "Plasma" | "Berserker" | "Spikes" | "Strategist" | "CritCrew" | "Evader" | "Critcrew" | "Silencer" | "Originals" | "Armor" | "Apocalypse" | "Doom" | "Astro" | "Apex" | "Void" | "Stained" | "Hypno";
1537
1537
  export type ItemType = "b" | "l" | "u";
1538
1538
  export interface Level {
1539
1539
  id: number;
@@ -1709,9 +1709,15 @@ export interface News {
1709
1709
  "0": The0;
1710
1710
  "1": The1;
1711
1711
  "2": The2;
1712
- "3": The2;
1713
- "4": The2;
1714
- "5": The5;
1712
+ "3": The3;
1713
+ "4": The11;
1714
+ "5": The11;
1715
+ "6": The11;
1716
+ "7": The7;
1717
+ "8": The8;
1718
+ "9": The11;
1719
+ "10": The10;
1720
+ "11": The11;
1715
1721
  canvas: Canva[];
1716
1722
  }
1717
1723
  export interface The0 {
@@ -1720,7 +1726,7 @@ export interface The0 {
1720
1726
  assets_name: string;
1721
1727
  direct_to_shop: number;
1722
1728
  end_ts: string;
1723
- hud_button: HudButton;
1729
+ hud_button: The0_HudButton;
1724
1730
  id: number;
1725
1731
  min_level: number;
1726
1732
  popup_type: string;
@@ -1728,49 +1734,67 @@ export interface The0 {
1728
1734
  slides: The0_Slide[];
1729
1735
  start_ts: string;
1730
1736
  }
1731
- export interface HudButton {
1737
+ export interface The0_HudButton {
1732
1738
  file: string;
1733
1739
  title: string;
1734
1740
  viral_icon_tier: number;
1735
1741
  }
1736
1742
  export interface The0_Slide {
1737
- content_localized_key: string;
1743
+ content_localized_key?: string;
1738
1744
  custom_title_localized_key: string;
1739
- header_localized_key: string;
1745
+ header_localized_key?: string;
1740
1746
  image_url: string;
1741
1747
  link: string;
1742
1748
  link_button_key: string;
1743
1749
  slide_type: string;
1744
1750
  slide_type_2: string;
1745
- timer: string;
1751
+ timer?: string;
1752
+ times_to_show?: number;
1753
+ link_item_id?: number;
1746
1754
  }
1747
1755
  export interface The1 {
1756
+ active_platforms: ValueClass;
1757
+ allow_island_tutorial: number;
1758
+ assets_name: string;
1759
+ end_ts: string;
1760
+ hud_button: The1_HudButton;
1761
+ id: number;
1762
+ min_level: number;
1763
+ popup_type: string;
1764
+ show_on_startup: number;
1765
+ slides: The0_Slide[];
1766
+ start_ts: string;
1767
+ }
1768
+ export interface The1_HudButton {
1769
+ file: string;
1770
+ title: string;
1771
+ }
1772
+ export interface The10 {
1748
1773
  active_platforms: ValueClass;
1749
1774
  allow_island_tutorial: number;
1750
1775
  assets_name: string;
1751
1776
  direct_to_shop: number;
1752
1777
  end_ts: string;
1753
1778
  filter_category: null;
1754
- hud_button: HudButton;
1755
1779
  id: number;
1756
1780
  label_text_tid: null;
1757
1781
  label_title_tid: null;
1758
1782
  min_level: number;
1759
1783
  popup_type: string;
1760
- priority: null;
1784
+ priority: number;
1761
1785
  show_on_startup: number;
1762
- slides: The1_Slide[];
1786
+ slides: The10_Slide[];
1763
1787
  start_ts: string;
1764
1788
  }
1765
- export interface The1_Slide {
1766
- content_localized_key?: string;
1789
+ export interface The10_Slide {
1790
+ content_localized_key: string;
1767
1791
  custom_title_localized_key: string;
1768
- forceClose?: boolean;
1769
1792
  header_localized_key: string;
1770
1793
  image_url: string;
1771
1794
  multiple_buttons: MultipleButton[];
1772
1795
  times_to_show: number;
1773
- type: string;
1796
+ type: SlideType;
1797
+ forceClose?: boolean;
1774
1798
  }
1775
1799
  export interface MultipleButton {
1776
1800
  animation: AnimationNameEnum;
@@ -1782,7 +1806,7 @@ export interface MultipleButton {
1782
1806
  linkItemId?: number;
1783
1807
  normalizedPosition: NormalizedPosition;
1784
1808
  size: SizeClass;
1785
- spineAsset?: string;
1809
+ spineAsset?: SpineAsset;
1786
1810
  style: Style;
1787
1811
  }
1788
1812
  export type AnimationPlace = "Foreground";
@@ -1795,29 +1819,68 @@ export interface SizeClass {
1795
1819
  h: number;
1796
1820
  w: number;
1797
1821
  }
1822
+ export type SpineAsset = "pointer_animation_v2";
1798
1823
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1824
+ export type SlideType = "FullImage";
1825
+ export interface The11 {
1826
+ active_platforms: ValueClass;
1827
+ allow_island_tutorial: number;
1828
+ assets_name: string;
1829
+ direct_to_shop: number;
1830
+ end_ts: string;
1831
+ id: number;
1832
+ min_level: number;
1833
+ popup_frequency: string;
1834
+ popup_type: string;
1835
+ show_on_startup: number;
1836
+ slides: The10_Slide[];
1837
+ start_ts: string;
1838
+ }
1799
1839
  export interface The2 {
1800
1840
  active_platforms: ValueClass;
1801
1841
  allow_island_tutorial: number;
1802
1842
  assets_name: string;
1803
1843
  direct_to_shop: number;
1804
1844
  end_ts: string;
1845
+ filter_category: null;
1846
+ hud_button: The0_HudButton;
1847
+ id: number;
1848
+ label_text_tid: null;
1849
+ label_title_tid: null;
1850
+ min_level: number;
1851
+ popup_type: string;
1852
+ priority: null;
1853
+ show_on_startup: number;
1854
+ slides: The10_Slide[];
1855
+ start_ts: string;
1856
+ }
1857
+ export interface The3 {
1858
+ active_platforms: ValueClass;
1859
+ allow_island_tutorial: number;
1860
+ assets_name: string;
1861
+ direct_to_shop: number;
1862
+ end_ts: string;
1863
+ filter_category: null;
1864
+ hud_button: The0_HudButton;
1805
1865
  id: number;
1866
+ label_text_tid: null;
1867
+ label_title_tid: null;
1806
1868
  min_level: number;
1807
1869
  popup_frequency: string;
1808
1870
  popup_type: string;
1871
+ priority: null;
1809
1872
  show_on_startup: number;
1810
- slides: The1_Slide[];
1873
+ slides: The0_Slide[];
1811
1874
  start_ts: string;
1812
1875
  }
1813
- export interface The5 {
1876
+ export interface The7 {
1814
1877
  active_platforms: ValueClass;
1815
1878
  allow_island_tutorial: number;
1816
1879
  assets_name: string;
1817
1880
  direct_to_shop: number;
1818
1881
  end_ts: string;
1819
1882
  filter_category: null;
1820
- hud_button: HudButton;
1883
+ hud_button: The0_HudButton;
1821
1884
  id: number;
1822
1885
  label_text_tid: null;
1823
1886
  label_title_tid: null;
@@ -1827,17 +1890,65 @@ export interface The5 {
1827
1890
  popup_type: string;
1828
1891
  priority: null;
1829
1892
  show_on_startup: number;
1830
- slides: The1_Slide[];
1893
+ slides: The10_Slide[];
1894
+ start_ts: string;
1895
+ }
1896
+ export interface The8 {
1897
+ active_platforms: ValueClass;
1898
+ allow_island_tutorial: number;
1899
+ assets_name: string;
1900
+ direct_to_shop: number;
1901
+ end_ts: string;
1902
+ filter_category: null;
1903
+ hud_button: The0_HudButton;
1904
+ id: number;
1905
+ label_text_tid: null;
1906
+ label_title_tid: null;
1907
+ min_level: number;
1908
+ popup_frequency: string;
1909
+ popup_type: string;
1910
+ priority: null;
1911
+ show_on_startup: number;
1912
+ slides: The10_Slide[];
1831
1913
  start_ts: string;
1832
1914
  }
1833
1915
  export interface Canva {
1834
1916
  id: number;
1835
1917
  assets_name: string;
1836
- start_ts: number;
1837
- end_ts: number;
1918
+ start_ts: number | string;
1919
+ end_ts: number | string;
1838
1920
  min_level: number;
1839
- slides: The1_Slide[];
1921
+ slides: CanvaSlide[];
1840
1922
  show_on_startup: number;
1923
+ priority?: string;
1924
+ }
1925
+ export interface CanvaSlide {
1926
+ custom_title_localized_key?: string;
1927
+ header_localized_key?: string;
1928
+ image_url?: string;
1929
+ times_to_show?: number;
1930
+ type?: SlideType;
1931
+ multiple_buttons?: MultipleButton[];
1932
+ bg?: string;
1933
+ content?: Content[];
1934
+ edit_mode?: number;
1935
+ id?: number;
1936
+ title_key?: string;
1937
+ viral_icon_key?: string;
1938
+ viral_icon_timer?: string;
1939
+ }
1940
+ export interface Content {
1941
+ height: number;
1942
+ rotation: number;
1943
+ stroke: string;
1944
+ text_color: string;
1945
+ text_key: string;
1946
+ text_size: number;
1947
+ timer: number;
1948
+ type: string;
1949
+ width: number;
1950
+ x: number;
1951
+ y: number;
1841
1952
  }
1842
1953
  export interface Perks {
1843
1954
  abilities: Ability[];
@@ -2603,8 +2714,8 @@ export interface MultiplierTime {
2603
2714
  multiplier_time: number;
2604
2715
  }
2605
2716
  export interface TreeOfLifePowerupRaritySeed {
2606
- max_rarity_seeds_per_grade: number[];
2607
2717
  rarity: Rarity;
2718
+ max_rarity_seeds_per_grade: number[];
2608
2719
  }
2609
2720
  export interface Visual {
2610
2721
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",