@dchighs/dc-config 0.1.152 → 0.1.154

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.
@@ -826,6 +826,7 @@ export interface MatchReward {
826
826
  pr_token?: number;
827
827
  gacha_event_tickets?: number;
828
828
  i_token?: number;
829
+ el_token?: number;
829
830
  }
830
831
  export interface DragonTournamentsReward {
831
832
  id: number;
@@ -871,6 +872,7 @@ export interface IndigoReward {
871
872
  pr_token?: number;
872
873
  gacha_event_tickets?: number;
873
874
  i_token?: number;
875
+ el_token?: number;
874
876
  }
875
877
  export interface Tournament {
876
878
  id: number;
@@ -960,11 +962,11 @@ export interface FogIsland {
960
962
  squares: FogIslandSquare[];
961
963
  currencies: Currency[];
962
964
  rewards: FogIslandReward[];
963
- actions: ActionElement[];
965
+ actions: Action[];
964
966
  hints: Hint[];
965
967
  parameters: FogIslandParameter[];
966
968
  }
967
- export interface ActionElement {
969
+ export interface Action {
968
970
  id: number;
969
971
  type: string;
970
972
  tid_name: ActionTidName;
@@ -1136,7 +1138,7 @@ export interface GridIsland {
1136
1138
  encounters: Encounter[];
1137
1139
  enemies: EnemyElement[];
1138
1140
  currencies: Currency[];
1139
- actions: ActionElement[];
1141
+ actions: Action[];
1140
1142
  parameters: FogIslandParameter[];
1141
1143
  }
1142
1144
  export interface Decoration {
@@ -1623,7 +1625,7 @@ export interface MazeIsland {
1623
1625
  encounters: Encounter[];
1624
1626
  enemies: EnemyElement[];
1625
1627
  happy_hours: unknown[];
1626
- actions: ActionElement[];
1628
+ actions: Action[];
1627
1629
  clouds: Cloud[];
1628
1630
  currencies: Currency[];
1629
1631
  parameters: FogIslandParameter[];
@@ -1709,16 +1711,18 @@ export interface News {
1709
1711
  "0": The0;
1710
1712
  "1": The1;
1711
1713
  "2": The2;
1712
- "3": The11;
1713
- "4": The11;
1714
- "5": The11;
1715
- "6": The6;
1716
- "7": The7;
1717
- "8": The11;
1718
- "9": The11;
1714
+ "3": The3;
1715
+ "4": The10;
1716
+ "5": The10;
1717
+ "6": The10;
1718
+ "7": The10;
1719
+ "8": The8;
1720
+ "9": The9;
1719
1721
  "10": The10;
1720
- "11": The11;
1721
- "12": The11;
1722
+ "11": The10;
1723
+ "12": The12;
1724
+ "13": The10;
1725
+ "14": The10;
1722
1726
  canvas: Canva[];
1723
1727
  }
1724
1728
  export interface The0 {
@@ -1747,8 +1751,9 @@ export interface The0_Slide {
1747
1751
  link_button_key: string;
1748
1752
  slide_type: string;
1749
1753
  slide_type_2: string;
1750
- timer: string;
1754
+ timer?: string;
1751
1755
  times_to_show?: number;
1756
+ link_item_id?: number;
1752
1757
  }
1753
1758
  export interface The1 {
1754
1759
  active_platforms: ValueClass;
@@ -1775,13 +1780,10 @@ export interface The10 {
1775
1780
  assets_name: string;
1776
1781
  direct_to_shop: number;
1777
1782
  end_ts: string;
1778
- filter_category: null;
1779
1783
  id: number;
1780
- label_text_tid: null;
1781
- label_title_tid: null;
1782
1784
  min_level: number;
1785
+ popup_frequency: string;
1783
1786
  popup_type: string;
1784
- priority: number;
1785
1787
  show_on_startup: number;
1786
1788
  slides: The10_Slide[];
1787
1789
  start_ts: string;
@@ -1789,12 +1791,12 @@ export interface The10 {
1789
1791
  export interface The10_Slide {
1790
1792
  content_localized_key: string;
1791
1793
  custom_title_localized_key: string;
1794
+ forceClose?: boolean;
1792
1795
  header_localized_key: string;
1793
1796
  image_url: string;
1794
1797
  multiple_buttons: MultipleButton[];
1795
1798
  times_to_show: number;
1796
1799
  type: SlideType;
1797
- forceClose?: boolean;
1798
1800
  }
1799
1801
  export interface MultipleButton {
1800
1802
  animation: AnimationNameEnum;
@@ -1822,16 +1824,19 @@ export interface SizeClass {
1822
1824
  export type SpineAsset = "pointer_animation_v2";
1823
1825
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1824
1826
  export type SlideType = "FullImage";
1825
- export interface The11 {
1827
+ export interface The12 {
1826
1828
  active_platforms: ValueClass;
1827
1829
  allow_island_tutorial: number;
1828
1830
  assets_name: string;
1829
1831
  direct_to_shop: number;
1830
1832
  end_ts: string;
1833
+ filter_category: null;
1831
1834
  id: number;
1835
+ label_text_tid: null;
1836
+ label_title_tid: null;
1832
1837
  min_level: number;
1833
- popup_frequency: string;
1834
1838
  popup_type: string;
1839
+ priority: number;
1835
1840
  show_on_startup: number;
1836
1841
  slides: The10_Slide[];
1837
1842
  start_ts: string;
@@ -1854,7 +1859,26 @@ export interface The2 {
1854
1859
  slides: The10_Slide[];
1855
1860
  start_ts: string;
1856
1861
  }
1857
- export interface The6 {
1862
+ export interface The3 {
1863
+ active_platforms: ValueClass;
1864
+ allow_island_tutorial: number;
1865
+ assets_name: string;
1866
+ direct_to_shop: number;
1867
+ end_ts: string;
1868
+ filter_category: null;
1869
+ hud_button: The1_HudButton;
1870
+ id: number;
1871
+ label_text_tid: null;
1872
+ label_title_tid: null;
1873
+ min_level: number;
1874
+ popup_frequency: string;
1875
+ popup_type: string;
1876
+ priority: null;
1877
+ show_on_startup: number;
1878
+ slides: The0_Slide[];
1879
+ start_ts: string;
1880
+ }
1881
+ export interface The8 {
1858
1882
  active_platforms: ValueClass;
1859
1883
  allow_island_tutorial: number;
1860
1884
  assets_name: string;
@@ -1874,7 +1898,7 @@ export interface The6 {
1874
1898
  slides: The10_Slide[];
1875
1899
  start_ts: string;
1876
1900
  }
1877
- export interface The7 {
1901
+ export interface The9 {
1878
1902
  active_platforms: ValueClass;
1879
1903
  allow_island_tutorial: number;
1880
1904
  assets_name: string;
@@ -1898,9 +1922,10 @@ export interface Canva {
1898
1922
  assets_name: string;
1899
1923
  start_ts: number | string;
1900
1924
  end_ts: number | string;
1901
- min_level?: number;
1925
+ min_level: number;
1902
1926
  slides: CanvaSlide[];
1903
- show_on_startup?: number;
1927
+ show_on_startup: number;
1928
+ priority?: string;
1904
1929
  }
1905
1930
  export interface CanvaSlide {
1906
1931
  custom_title_localized_key?: string;
@@ -1920,22 +1945,15 @@ export interface CanvaSlide {
1920
1945
  export interface Content {
1921
1946
  height: number;
1922
1947
  rotation: number;
1923
- stroke?: string;
1924
- text_color?: string;
1948
+ stroke: string;
1949
+ text_color: string;
1925
1950
  text_key: string;
1926
- text_size?: number;
1927
- timer?: number;
1951
+ text_size: number;
1952
+ timer: number;
1928
1953
  type: string;
1929
1954
  width: number;
1930
1955
  x: number;
1931
1956
  y: number;
1932
- action?: ContentAction;
1933
- style?: string;
1934
- }
1935
- export interface ContentAction {
1936
- itemId: string;
1937
- storeCategory: number;
1938
- type: string;
1939
1957
  }
1940
1958
  export interface Perks {
1941
1959
  abilities: Ability[];
@@ -2530,7 +2548,7 @@ export interface TowerIsland {
2530
2548
  happy_hours: HappyHour[];
2531
2549
  parameters: FogIslandParameter[];
2532
2550
  currencies: Currency[];
2533
- actions: ActionElement[];
2551
+ actions: Action[];
2534
2552
  }
2535
2553
  export interface Floor {
2536
2554
  id: number;
@@ -2705,8 +2723,8 @@ export interface MultiplierTime {
2705
2723
  multiplier_time: number;
2706
2724
  }
2707
2725
  export interface TreeOfLifePowerupRaritySeed {
2708
- max_rarity_seeds_per_grade: number[];
2709
2726
  rarity: Rarity;
2727
+ max_rarity_seeds_per_grade: number[];
2710
2728
  }
2711
2729
  export interface Visual {
2712
2730
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.152",
3
+ "version": "0.1.154",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",