@dchighs/dc-config 0.1.128 → 0.1.130

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.
@@ -719,7 +719,7 @@ export interface ItemsUnitsAttributeModifier {
719
719
  index?: number;
720
720
  }
721
721
  export type ItemsUnitsAttributeModifierAttribute = "attacks" | "base_attack" | "trainable_attacks" | "base_life" | "passive_skills" | "post_skills" | "speed" | "background_vfx" | "foreground_vfx";
722
- export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY";
722
+ export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY" | "ADD_ARRAY";
723
723
  export interface BattlesConfigElement {
724
724
  id: number;
725
725
  name: string;
@@ -960,11 +960,11 @@ export interface FogIsland {
960
960
  squares: FogIslandSquare[];
961
961
  currencies: Currency[];
962
962
  rewards: FogIslandReward[];
963
- actions: Action[];
963
+ actions: ActionElement[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface Action {
967
+ export interface ActionElement {
968
968
  id: number;
969
969
  type: string;
970
970
  tid_name: string;
@@ -1134,7 +1134,7 @@ export interface GridIsland {
1134
1134
  encounters: Encounter[];
1135
1135
  enemies: EnemyElement[];
1136
1136
  currencies: Currency[];
1137
- actions: Action[];
1137
+ actions: ActionElement[];
1138
1138
  parameters: FogIslandParameter[];
1139
1139
  }
1140
1140
  export interface Decoration {
@@ -1618,7 +1618,7 @@ export interface MazeIsland {
1618
1618
  encounters: Encounter[];
1619
1619
  enemies: EnemyElement[];
1620
1620
  happy_hours: unknown[];
1621
- actions: Action[];
1621
+ actions: ActionElement[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1707,7 +1707,10 @@ export interface News {
1707
1707
  "3": The3;
1708
1708
  "4": The4;
1709
1709
  "5": The5;
1710
- "6": The5;
1710
+ "6": The6;
1711
+ "7": The5;
1712
+ "8": The6;
1713
+ "9": The6;
1711
1714
  canvas: Canva[];
1712
1715
  }
1713
1716
  export interface The0 {
@@ -1736,29 +1739,30 @@ export interface The0_HudButton {
1736
1739
  viral_icon_tier: number;
1737
1740
  }
1738
1741
  export interface The0_Slide {
1739
- content_localized_key?: string;
1742
+ content_localized_key: string;
1740
1743
  custom_title_localized_key: string;
1741
1744
  forceClose?: boolean;
1742
1745
  header_localized_key: string;
1743
1746
  image_url: string;
1744
1747
  multiple_buttons: MultipleButton[];
1745
1748
  times_to_show: number;
1746
- type: SlideType;
1749
+ type: string;
1747
1750
  }
1748
1751
  export interface MultipleButton {
1749
1752
  animation: AnimationNameEnum;
1750
1753
  animationPlace: AnimationPlace;
1751
1754
  forceClose: boolean;
1752
1755
  glint: boolean;
1753
- key: string;
1756
+ key: Key;
1754
1757
  link: string;
1755
1758
  normalizedPosition: NormalizedPosition;
1756
1759
  size: SizeClass;
1757
- style: string;
1760
+ style: Style;
1758
1761
  linkItemId?: number;
1759
1762
  spineAsset?: SpineAsset;
1760
1763
  }
1761
1764
  export type AnimationPlace = "Foreground";
1765
+ export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
1762
1766
  export interface NormalizedPosition {
1763
1767
  x: number;
1764
1768
  y: number;
@@ -1768,13 +1772,14 @@ export interface SizeClass {
1768
1772
  w: number;
1769
1773
  }
1770
1774
  export type SpineAsset = "pointer_animation_v2";
1771
- export type SlideType = "FullImage";
1775
+ export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1772
1776
  export interface The1 {
1773
1777
  active_platforms: ValueClass;
1774
1778
  allow_island_tutorial: number;
1775
1779
  assets_name: string;
1780
+ direct_to_shop: number;
1776
1781
  end_ts: string;
1777
- hud_button: The1_HudButton;
1782
+ hud_button: The0_HudButton;
1778
1783
  id: number;
1779
1784
  min_level: number;
1780
1785
  popup_type: string;
@@ -1782,29 +1787,25 @@ export interface The1 {
1782
1787
  slides: The1_Slide[];
1783
1788
  start_ts: string;
1784
1789
  }
1785
- export interface The1_HudButton {
1786
- file: string;
1787
- title: string;
1788
- }
1789
1790
  export interface The1_Slide {
1790
- content_localized_key: string;
1791
+ content_localized_key?: string;
1791
1792
  custom_title_localized_key: string;
1792
- header_localized_key: string;
1793
+ header_localized_key?: string;
1793
1794
  image_url: string;
1794
1795
  link: string;
1795
1796
  link_button_key: string;
1796
1797
  slide_type: string;
1797
1798
  slide_type_2: string;
1798
- timer: string;
1799
+ timer?: string;
1799
1800
  times_to_show?: number;
1801
+ link_item_id?: number;
1800
1802
  }
1801
1803
  export interface The2 {
1802
1804
  active_platforms: ValueClass;
1803
1805
  allow_island_tutorial: number;
1804
1806
  assets_name: string;
1805
- direct_to_shop: number;
1806
1807
  end_ts: string;
1807
- hud_button: The0_HudButton;
1808
+ hud_button: The2_HudButton;
1808
1809
  id: number;
1809
1810
  min_level: number;
1810
1811
  popup_type: string;
@@ -1812,16 +1813,24 @@ export interface The2 {
1812
1813
  slides: The1_Slide[];
1813
1814
  start_ts: string;
1814
1815
  }
1816
+ export interface The2_HudButton {
1817
+ file: string;
1818
+ title: string;
1819
+ }
1815
1820
  export interface The3 {
1816
1821
  active_platforms: ValueClass;
1817
1822
  allow_island_tutorial: number;
1818
1823
  assets_name: string;
1819
1824
  direct_to_shop: number;
1820
1825
  end_ts: string;
1826
+ filter_category: null;
1827
+ hud_button: The0_HudButton;
1821
1828
  id: number;
1829
+ label_text_tid: null;
1830
+ label_title_tid: null;
1822
1831
  min_level: number;
1823
- popup_frequency: string;
1824
1832
  popup_type: string;
1833
+ priority: null;
1825
1834
  show_on_startup: number;
1826
1835
  slides: The0_Slide[];
1827
1836
  start_ts: string;
@@ -1838,10 +1847,11 @@ export interface The4 {
1838
1847
  label_text_tid: null;
1839
1848
  label_title_tid: null;
1840
1849
  min_level: number;
1850
+ popup_frequency: string;
1841
1851
  popup_type: string;
1842
1852
  priority: null;
1843
1853
  show_on_startup: number;
1844
- slides: The0_Slide[];
1854
+ slides: The1_Slide[];
1845
1855
  start_ts: string;
1846
1856
  }
1847
1857
  export interface The5 {
@@ -1856,19 +1866,69 @@ export interface The5 {
1856
1866
  label_title_tid: null;
1857
1867
  min_level: number;
1858
1868
  popup_type: string;
1859
- priority: null;
1869
+ priority: number | null;
1860
1870
  show_on_startup: number;
1861
1871
  slides: The0_Slide[];
1862
1872
  start_ts: string;
1863
1873
  }
1864
- export interface Canva {
1865
- id: number;
1874
+ export interface The6 {
1875
+ active_platforms: ValueClass;
1876
+ allow_island_tutorial: number;
1866
1877
  assets_name: string;
1867
- start_ts: number;
1868
- end_ts: number;
1878
+ direct_to_shop: number;
1879
+ end_ts: string;
1880
+ id: number;
1869
1881
  min_level: number;
1870
- slides: The0_Slide[];
1882
+ popup_frequency: string;
1883
+ popup_type: string;
1871
1884
  show_on_startup: number;
1885
+ slides: The0_Slide[];
1886
+ start_ts: string;
1887
+ }
1888
+ export interface Canva {
1889
+ id: number;
1890
+ assets_name: string;
1891
+ start_ts: number | string;
1892
+ end_ts: number | string;
1893
+ min_level?: number;
1894
+ slides: CanvaSlide[];
1895
+ show_on_startup?: number;
1896
+ priority?: string;
1897
+ }
1898
+ export interface CanvaSlide {
1899
+ custom_title_localized_key?: string;
1900
+ header_localized_key?: string;
1901
+ image_url?: string;
1902
+ times_to_show?: number;
1903
+ type?: string;
1904
+ multiple_buttons?: MultipleButton[];
1905
+ bg?: string;
1906
+ content?: Content[];
1907
+ edit_mode?: number;
1908
+ id?: number;
1909
+ title_key?: string;
1910
+ viral_icon_key?: string;
1911
+ viral_icon_timer?: string;
1912
+ }
1913
+ export interface Content {
1914
+ height: number;
1915
+ rotation: number;
1916
+ stroke?: string;
1917
+ text_color?: string;
1918
+ text_key: string;
1919
+ text_size?: number;
1920
+ timer?: number;
1921
+ type: string;
1922
+ width: number;
1923
+ x: number;
1924
+ y: number;
1925
+ action?: ContentAction;
1926
+ style?: string;
1927
+ }
1928
+ export interface ContentAction {
1929
+ itemId: string;
1930
+ storeCategory: number;
1931
+ type: string;
1872
1932
  }
1873
1933
  export interface Perks {
1874
1934
  abilities: Ability[];
@@ -2458,7 +2518,7 @@ export interface TowerIsland {
2458
2518
  happy_hours: HappyHour[];
2459
2519
  parameters: FogIslandParameter[];
2460
2520
  currencies: Currency[];
2461
- actions: Action[];
2521
+ actions: ActionElement[];
2462
2522
  }
2463
2523
  export interface Floor {
2464
2524
  id: number;
@@ -2634,8 +2694,8 @@ export interface MultiplierTime {
2634
2694
  multiplier_time: number;
2635
2695
  }
2636
2696
  export interface TreeOfLifePowerupRaritySeed {
2637
- max_rarity_seeds_per_grade: number[];
2638
2697
  rarity: Rarity;
2698
+ max_rarity_seeds_per_grade: number[];
2639
2699
  }
2640
2700
  export interface Visual {
2641
2701
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.128",
3
+ "version": "0.1.130",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",