@dchighs/dc-config 0.1.141 → 0.1.142

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 {
@@ -1621,7 +1621,7 @@ export interface MazeIsland {
1621
1621
  encounters: Encounter[];
1622
1622
  enemies: EnemyElement[];
1623
1623
  happy_hours: unknown[];
1624
- actions: ActionElement[];
1624
+ actions: Action[];
1625
1625
  clouds: Cloud[];
1626
1626
  currencies: Currency[];
1627
1627
  parameters: FogIslandParameter[];
@@ -1707,12 +1707,9 @@ export interface News {
1707
1707
  "0": The0;
1708
1708
  "1": The1;
1709
1709
  "2": The2;
1710
- "3": The3;
1711
- "4": The3;
1712
- "5": The3;
1713
- "6": The3;
1714
- "7": The3;
1715
- "8": The8;
1710
+ "3": The2;
1711
+ "4": The2;
1712
+ "5": The5;
1716
1713
  canvas: Canva[];
1717
1714
  }
1718
1715
  export interface The0 {
@@ -1742,7 +1739,7 @@ export interface The0_Slide {
1742
1739
  slide_type: string;
1743
1740
  slide_type_2: string;
1744
1741
  timer: string;
1745
- times_to_show?: number;
1742
+ times_to_show: number;
1746
1743
  }
1747
1744
  export interface The1 {
1748
1745
  active_platforms: ValueClass;
@@ -1750,12 +1747,16 @@ export interface The1 {
1750
1747
  assets_name: string;
1751
1748
  direct_to_shop: number;
1752
1749
  end_ts: string;
1750
+ filter_category: null;
1753
1751
  hud_button: The1_HudButton;
1754
1752
  id: number;
1753
+ label_text_tid: null;
1754
+ label_title_tid: null;
1755
1755
  min_level: number;
1756
1756
  popup_type: string;
1757
+ priority: null;
1757
1758
  show_on_startup: number;
1758
- slides: The0_Slide[];
1759
+ slides: The1_Slide[];
1759
1760
  start_ts: string;
1760
1761
  }
1761
1762
  export interface The1_HudButton {
@@ -1763,33 +1764,15 @@ export interface The1_HudButton {
1763
1764
  title: string;
1764
1765
  viral_icon_tier: number;
1765
1766
  }
1766
- export interface The2 {
1767
- active_platforms: ValueClass;
1768
- allow_island_tutorial: number;
1769
- assets_name: string;
1770
- direct_to_shop: number;
1771
- end_ts: string;
1772
- filter_category: null;
1773
- hud_button: The1_HudButton;
1774
- id: number;
1775
- label_text_tid: null;
1776
- label_title_tid: null;
1777
- min_level: number;
1778
- popup_type: string;
1779
- priority: null;
1780
- show_on_startup: number;
1781
- slides: The2_Slide[];
1782
- start_ts: string;
1783
- }
1784
- export interface The2_Slide {
1785
- content_localized_key: string;
1767
+ export interface The1_Slide {
1768
+ content_localized_key?: string;
1786
1769
  custom_title_localized_key: string;
1787
1770
  forceClose?: boolean;
1788
1771
  header_localized_key: string;
1789
1772
  image_url: string;
1790
1773
  multiple_buttons: MultipleButton[];
1791
1774
  times_to_show: number;
1792
- type: string;
1775
+ type: SlideType;
1793
1776
  }
1794
1777
  export interface MultipleButton {
1795
1778
  animation: AnimationNameEnum;
@@ -1816,7 +1799,8 @@ export interface SizeClass {
1816
1799
  }
1817
1800
  export type SpineAsset = "pointer_animation_v2";
1818
1801
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1819
- export interface The3 {
1802
+ export type SlideType = "FullImage";
1803
+ export interface The2 {
1820
1804
  active_platforms: ValueClass;
1821
1805
  allow_island_tutorial: number;
1822
1806
  assets_name: string;
@@ -1827,10 +1811,10 @@ export interface The3 {
1827
1811
  popup_frequency: string;
1828
1812
  popup_type: string;
1829
1813
  show_on_startup: number;
1830
- slides: The2_Slide[];
1814
+ slides: The1_Slide[];
1831
1815
  start_ts: string;
1832
1816
  }
1833
- export interface The8 {
1817
+ export interface The5 {
1834
1818
  active_platforms: ValueClass;
1835
1819
  allow_island_tutorial: number;
1836
1820
  assets_name: string;
@@ -1847,52 +1831,17 @@ export interface The8 {
1847
1831
  popup_type: string;
1848
1832
  priority: null;
1849
1833
  show_on_startup: number;
1850
- slides: The2_Slide[];
1834
+ slides: The1_Slide[];
1851
1835
  start_ts: string;
1852
1836
  }
1853
1837
  export interface Canva {
1854
1838
  id: number;
1855
1839
  assets_name: string;
1856
- start_ts: number | string;
1857
- end_ts: number | string;
1858
- min_level?: number;
1859
- slides: CanvaSlide[];
1860
- show_on_startup?: number;
1861
- }
1862
- export interface CanvaSlide {
1863
- custom_title_localized_key?: string;
1864
- header_localized_key?: string;
1865
- image_url?: string;
1866
- times_to_show?: number;
1867
- type?: string;
1868
- multiple_buttons?: MultipleButton[];
1869
- bg?: string;
1870
- content?: Content[];
1871
- edit_mode?: number;
1872
- id?: number;
1873
- title_key?: string;
1874
- viral_icon_key?: string;
1875
- viral_icon_timer?: string;
1876
- }
1877
- export interface Content {
1878
- height: number;
1879
- rotation: number;
1880
- stroke?: string;
1881
- text_color?: string;
1882
- text_key: string;
1883
- text_size?: number;
1884
- timer?: number;
1885
- type: string;
1886
- width: number;
1887
- x: number;
1888
- y: number;
1889
- action?: ContentAction;
1890
- style?: string;
1891
- }
1892
- export interface ContentAction {
1893
- itemId: string;
1894
- storeCategory: number;
1895
- type: string;
1840
+ start_ts: number;
1841
+ end_ts: number;
1842
+ min_level: number;
1843
+ slides: The1_Slide[];
1844
+ show_on_startup: number;
1896
1845
  }
1897
1846
  export interface Perks {
1898
1847
  abilities: Ability[];
@@ -2483,7 +2432,7 @@ export interface TowerIsland {
2483
2432
  happy_hours: HappyHour[];
2484
2433
  parameters: FogIslandParameter[];
2485
2434
  currencies: Currency[];
2486
- actions: ActionElement[];
2435
+ actions: Action[];
2487
2436
  }
2488
2437
  export interface Floor {
2489
2438
  id: number;
@@ -2658,8 +2607,8 @@ export interface MultiplierTime {
2658
2607
  multiplier_time: number;
2659
2608
  }
2660
2609
  export interface TreeOfLifePowerupRaritySeed {
2661
- max_rarity_seeds_per_grade: number[];
2662
2610
  rarity: Rarity;
2611
+ max_rarity_seeds_per_grade: number[];
2663
2612
  }
2664
2613
  export interface Visual {
2665
2614
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.141",
3
+ "version": "0.1.142",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",