@dchighs/dc-config 0.1.131 → 0.1.133

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" | "ADD_ARRAY";
722
+ export type Behaviour = "REPLACE" | "REPLACE_BY_INDEX" | "MULTIPLY";
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: ActionElement[];
963
+ actions: Action[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface ActionElement {
967
+ export interface Action {
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: ActionElement[];
1137
+ actions: Action[];
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: ActionElement[];
1621
+ actions: Action[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1706,10 +1706,10 @@ export interface News {
1706
1706
  "2": The2;
1707
1707
  "3": The3;
1708
1708
  "4": The4;
1709
- "5": The5;
1709
+ "5": The3;
1710
1710
  "6": The4;
1711
- "7": The5;
1712
- "8": The5;
1711
+ "7": The4;
1712
+ "8": The4;
1713
1713
  canvas: Canva[];
1714
1714
  }
1715
1715
  export interface The0 {
@@ -1738,14 +1738,14 @@ export interface The0_HudButton {
1738
1738
  viral_icon_tier: number;
1739
1739
  }
1740
1740
  export interface The0_Slide {
1741
- content_localized_key: string;
1741
+ content_localized_key?: string;
1742
1742
  custom_title_localized_key: string;
1743
1743
  forceClose?: boolean;
1744
1744
  header_localized_key: string;
1745
1745
  image_url: string;
1746
1746
  multiple_buttons: MultipleButton[];
1747
1747
  times_to_show: number;
1748
- type: string;
1748
+ type: SlideType;
1749
1749
  }
1750
1750
  export interface MultipleButton {
1751
1751
  animation: AnimationNameEnum;
@@ -1772,6 +1772,7 @@ export interface SizeClass {
1772
1772
  }
1773
1773
  export type SpineAsset = "pointer_animation_v2";
1774
1774
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1775
+ export type SlideType = "FullImage";
1775
1776
  export interface The1 {
1776
1777
  active_platforms: ValueClass;
1777
1778
  allow_island_tutorial: number;
@@ -1790,17 +1791,14 @@ export interface The1_HudButton {
1790
1791
  title: string;
1791
1792
  }
1792
1793
  export interface The1_Slide {
1793
- content_localized_key: string;
1794
1794
  custom_title_localized_key: string;
1795
- header_localized_key: string;
1796
1795
  image_url: string;
1797
1796
  link: string;
1798
1797
  link_button_key: string;
1799
1798
  slide_type: string;
1800
1799
  slide_type_2: string;
1801
- timer?: string;
1802
- times_to_show?: number;
1803
- link_item_id?: number;
1800
+ timer: string;
1801
+ times_to_show: number;
1804
1802
  }
1805
1803
  export interface The2 {
1806
1804
  active_platforms: ValueClass;
@@ -1821,25 +1819,6 @@ export interface The2 {
1821
1819
  start_ts: string;
1822
1820
  }
1823
1821
  export interface The3 {
1824
- active_platforms: ValueClass;
1825
- allow_island_tutorial: number;
1826
- assets_name: string;
1827
- direct_to_shop: number;
1828
- end_ts: string;
1829
- filter_category: null;
1830
- hud_button: The0_HudButton;
1831
- id: number;
1832
- label_text_tid: null;
1833
- label_title_tid: null;
1834
- min_level: number;
1835
- popup_frequency: string;
1836
- popup_type: string;
1837
- priority: null;
1838
- show_on_startup: number;
1839
- slides: The1_Slide[];
1840
- start_ts: string;
1841
- }
1842
- export interface The4 {
1843
1822
  active_platforms: ValueClass;
1844
1823
  allow_island_tutorial: number;
1845
1824
  assets_name: string;
@@ -1856,7 +1835,7 @@ export interface The4 {
1856
1835
  slides: The0_Slide[];
1857
1836
  start_ts: string;
1858
1837
  }
1859
- export interface The5 {
1838
+ export interface The4 {
1860
1839
  active_platforms: ValueClass;
1861
1840
  allow_island_tutorial: number;
1862
1841
  assets_name: string;
@@ -1873,46 +1852,11 @@ export interface The5 {
1873
1852
  export interface Canva {
1874
1853
  id: number;
1875
1854
  assets_name: string;
1876
- start_ts: number | string;
1877
- end_ts: number | string;
1878
- min_level?: number;
1879
- slides: CanvaSlide[];
1880
- show_on_startup?: number;
1881
- }
1882
- export interface CanvaSlide {
1883
- custom_title_localized_key?: string;
1884
- header_localized_key?: string;
1885
- image_url?: string;
1886
- times_to_show?: number;
1887
- type?: string;
1888
- multiple_buttons?: MultipleButton[];
1889
- bg?: string;
1890
- content?: Content[];
1891
- edit_mode?: number;
1892
- id?: number;
1893
- title_key?: string;
1894
- viral_icon_key?: string;
1895
- viral_icon_timer?: string;
1896
- }
1897
- export interface Content {
1898
- height: number;
1899
- rotation: number;
1900
- stroke?: string;
1901
- text_color?: string;
1902
- text_key: string;
1903
- text_size?: number;
1904
- timer?: number;
1905
- type: string;
1906
- width: number;
1907
- x: number;
1908
- y: number;
1909
- action?: ContentAction;
1910
- style?: string;
1911
- }
1912
- export interface ContentAction {
1913
- itemId: string;
1914
- storeCategory: number;
1915
- type: string;
1855
+ start_ts: number;
1856
+ end_ts: number;
1857
+ min_level: number;
1858
+ slides: The0_Slide[];
1859
+ show_on_startup: number;
1916
1860
  }
1917
1861
  export interface Perks {
1918
1862
  abilities: Ability[];
@@ -2502,7 +2446,7 @@ export interface TowerIsland {
2502
2446
  happy_hours: HappyHour[];
2503
2447
  parameters: FogIslandParameter[];
2504
2448
  currencies: Currency[];
2505
- actions: ActionElement[];
2449
+ actions: Action[];
2506
2450
  }
2507
2451
  export interface Floor {
2508
2452
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.131",
3
+ "version": "0.1.133",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",