@dchighs/dc-config 0.1.143 → 0.1.145

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.
@@ -1155,7 +1155,7 @@ export interface Encounter {
1155
1155
  fight_background?: string;
1156
1156
  fight_background_id: FightBackgroundID;
1157
1157
  }
1158
- export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace" | "bg_battle_background_fi_brightest_mirror";
1158
+ export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace" | "bg_battle_background_mi_norsegods";
1159
1159
  export interface EnemyElement {
1160
1160
  id: number;
1161
1161
  dragon_ids: number[];
@@ -1709,19 +1709,17 @@ export interface News {
1709
1709
  "0": The0;
1710
1710
  "1": The1;
1711
1711
  "2": The2;
1712
- "3": The3;
1713
- "4": The3;
1714
- "5": The3;
1715
- "6": The6;
1712
+ "3": The2;
1713
+ "4": The2;
1714
+ "5": The5;
1716
1715
  canvas: Canva[];
1717
1716
  }
1718
1717
  export interface The0 {
1719
1718
  active_platforms: ValueClass;
1720
1719
  allow_island_tutorial: number;
1721
1720
  assets_name: string;
1722
- direct_to_shop: number;
1723
1721
  end_ts: string;
1724
- hud_button: HudButton;
1722
+ hud_button: The0_HudButton;
1725
1723
  id: number;
1726
1724
  min_level: number;
1727
1725
  popup_type: string;
@@ -1729,22 +1727,19 @@ export interface The0 {
1729
1727
  slides: The0_Slide[];
1730
1728
  start_ts: string;
1731
1729
  }
1732
- export interface HudButton {
1730
+ export interface The0_HudButton {
1733
1731
  file: string;
1734
1732
  title: string;
1735
- viral_icon_tier: number;
1736
1733
  }
1737
1734
  export interface The0_Slide {
1738
- content_localized_key: string;
1739
1735
  custom_title_localized_key: string;
1740
- header_localized_key: string;
1741
1736
  image_url: string;
1742
1737
  link: string;
1743
1738
  link_button_key: string;
1744
1739
  slide_type: string;
1745
1740
  slide_type_2: string;
1746
- timer?: string;
1747
- link_item_id?: number;
1741
+ timer: string;
1742
+ times_to_show: number;
1748
1743
  }
1749
1744
  export interface The1 {
1750
1745
  active_platforms: ValueClass;
@@ -1753,7 +1748,7 @@ export interface The1 {
1753
1748
  direct_to_shop: number;
1754
1749
  end_ts: string;
1755
1750
  filter_category: null;
1756
- hud_button: HudButton;
1751
+ hud_button: The1_HudButton;
1757
1752
  id: number;
1758
1753
  label_text_tid: null;
1759
1754
  label_title_tid: null;
@@ -1764,15 +1759,20 @@ export interface The1 {
1764
1759
  slides: The1_Slide[];
1765
1760
  start_ts: string;
1766
1761
  }
1762
+ export interface The1_HudButton {
1763
+ file: string;
1764
+ title: string;
1765
+ viral_icon_tier: number;
1766
+ }
1767
1767
  export interface The1_Slide {
1768
- content_localized_key: string;
1768
+ content_localized_key?: string;
1769
1769
  custom_title_localized_key: string;
1770
1770
  forceClose?: boolean;
1771
1771
  header_localized_key: string;
1772
1772
  image_url: string;
1773
1773
  multiple_buttons: MultipleButton[];
1774
1774
  times_to_show: number;
1775
- type: string;
1775
+ type: SlideType;
1776
1776
  }
1777
1777
  export interface MultipleButton {
1778
1778
  animation: AnimationNameEnum;
@@ -1799,26 +1799,8 @@ export interface SizeClass {
1799
1799
  }
1800
1800
  export type SpineAsset = "pointer_animation_v2";
1801
1801
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1802
+ export type SlideType = "FullImage";
1802
1803
  export interface The2 {
1803
- active_platforms: ValueClass;
1804
- allow_island_tutorial: number;
1805
- assets_name: string;
1806
- direct_to_shop: number;
1807
- end_ts: string;
1808
- filter_category: null;
1809
- hud_button: HudButton;
1810
- id: number;
1811
- label_text_tid: null;
1812
- label_title_tid: null;
1813
- min_level: number;
1814
- popup_frequency: string;
1815
- popup_type: string;
1816
- priority: null;
1817
- show_on_startup: number;
1818
- slides: The0_Slide[];
1819
- start_ts: string;
1820
- }
1821
- export interface The3 {
1822
1804
  active_platforms: ValueClass;
1823
1805
  allow_island_tutorial: number;
1824
1806
  assets_name: string;
@@ -1832,14 +1814,14 @@ export interface The3 {
1832
1814
  slides: The1_Slide[];
1833
1815
  start_ts: string;
1834
1816
  }
1835
- export interface The6 {
1817
+ export interface The5 {
1836
1818
  active_platforms: ValueClass;
1837
1819
  allow_island_tutorial: number;
1838
1820
  assets_name: string;
1839
1821
  direct_to_shop: number;
1840
1822
  end_ts: string;
1841
1823
  filter_category: null;
1842
- hud_button: HudButton;
1824
+ hud_button: The1_HudButton;
1843
1825
  id: number;
1844
1826
  label_text_tid: null;
1845
1827
  label_title_tid: null;
@@ -1855,40 +1837,11 @@ export interface The6 {
1855
1837
  export interface Canva {
1856
1838
  id: number;
1857
1839
  assets_name: string;
1858
- start_ts: number | string;
1859
- end_ts: number | string;
1840
+ start_ts: number;
1841
+ end_ts: number;
1860
1842
  min_level: number;
1861
- slides: CanvaSlide[];
1843
+ slides: The1_Slide[];
1862
1844
  show_on_startup: number;
1863
- priority?: string;
1864
- }
1865
- export interface CanvaSlide {
1866
- custom_title_localized_key?: string;
1867
- header_localized_key?: string;
1868
- image_url?: string;
1869
- times_to_show?: number;
1870
- type?: string;
1871
- multiple_buttons?: MultipleButton[];
1872
- bg?: string;
1873
- content?: Content[];
1874
- edit_mode?: number;
1875
- id?: number;
1876
- title_key?: string;
1877
- viral_icon_key?: string;
1878
- viral_icon_timer?: string;
1879
- }
1880
- export interface Content {
1881
- height: number;
1882
- rotation: number;
1883
- stroke: string;
1884
- text_color: string;
1885
- text_key: string;
1886
- text_size: number;
1887
- timer: number;
1888
- type: string;
1889
- width: number;
1890
- x: number;
1891
- y: number;
1892
1845
  }
1893
1846
  export interface Perks {
1894
1847
  abilities: Ability[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.143",
3
+ "version": "0.1.145",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",