@dchighs/dc-config 0.1.143 → 0.1.144

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.
@@ -1719,9 +1719,8 @@ export interface The0 {
1719
1719
  active_platforms: ValueClass;
1720
1720
  allow_island_tutorial: number;
1721
1721
  assets_name: string;
1722
- direct_to_shop: number;
1723
1722
  end_ts: string;
1724
- hud_button: HudButton;
1723
+ hud_button: The0_HudButton;
1725
1724
  id: number;
1726
1725
  min_level: number;
1727
1726
  popup_type: string;
@@ -1729,10 +1728,9 @@ export interface The0 {
1729
1728
  slides: The0_Slide[];
1730
1729
  start_ts: string;
1731
1730
  }
1732
- export interface HudButton {
1731
+ export interface The0_HudButton {
1733
1732
  file: string;
1734
1733
  title: string;
1735
- viral_icon_tier: number;
1736
1734
  }
1737
1735
  export interface The0_Slide {
1738
1736
  content_localized_key: string;
@@ -1744,6 +1742,7 @@ export interface The0_Slide {
1744
1742
  slide_type: string;
1745
1743
  slide_type_2: string;
1746
1744
  timer?: string;
1745
+ times_to_show?: number;
1747
1746
  link_item_id?: number;
1748
1747
  }
1749
1748
  export interface The1 {
@@ -1753,7 +1752,7 @@ export interface The1 {
1753
1752
  direct_to_shop: number;
1754
1753
  end_ts: string;
1755
1754
  filter_category: null;
1756
- hud_button: HudButton;
1755
+ hud_button: The1_HudButton;
1757
1756
  id: number;
1758
1757
  label_text_tid: null;
1759
1758
  label_title_tid: null;
@@ -1764,15 +1763,20 @@ export interface The1 {
1764
1763
  slides: The1_Slide[];
1765
1764
  start_ts: string;
1766
1765
  }
1766
+ export interface The1_HudButton {
1767
+ file: string;
1768
+ title: string;
1769
+ viral_icon_tier: number;
1770
+ }
1767
1771
  export interface The1_Slide {
1768
- content_localized_key: string;
1772
+ content_localized_key?: string;
1769
1773
  custom_title_localized_key: string;
1770
1774
  forceClose?: boolean;
1771
1775
  header_localized_key: string;
1772
1776
  image_url: string;
1773
1777
  multiple_buttons: MultipleButton[];
1774
1778
  times_to_show: number;
1775
- type: string;
1779
+ type: SlideType;
1776
1780
  }
1777
1781
  export interface MultipleButton {
1778
1782
  animation: AnimationNameEnum;
@@ -1799,6 +1803,7 @@ export interface SizeClass {
1799
1803
  }
1800
1804
  export type SpineAsset = "pointer_animation_v2";
1801
1805
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1806
+ export type SlideType = "FullImage";
1802
1807
  export interface The2 {
1803
1808
  active_platforms: ValueClass;
1804
1809
  allow_island_tutorial: number;
@@ -1806,7 +1811,7 @@ export interface The2 {
1806
1811
  direct_to_shop: number;
1807
1812
  end_ts: string;
1808
1813
  filter_category: null;
1809
- hud_button: HudButton;
1814
+ hud_button: The1_HudButton;
1810
1815
  id: number;
1811
1816
  label_text_tid: null;
1812
1817
  label_title_tid: null;
@@ -1839,7 +1844,7 @@ export interface The6 {
1839
1844
  direct_to_shop: number;
1840
1845
  end_ts: string;
1841
1846
  filter_category: null;
1842
- hud_button: HudButton;
1847
+ hud_button: The1_HudButton;
1843
1848
  id: number;
1844
1849
  label_text_tid: null;
1845
1850
  label_title_tid: null;
@@ -1855,40 +1860,11 @@ export interface The6 {
1855
1860
  export interface Canva {
1856
1861
  id: number;
1857
1862
  assets_name: string;
1858
- start_ts: number | string;
1859
- end_ts: number | string;
1863
+ start_ts: number;
1864
+ end_ts: number;
1860
1865
  min_level: number;
1861
- slides: CanvaSlide[];
1866
+ slides: The1_Slide[];
1862
1867
  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
1868
  }
1893
1869
  export interface Perks {
1894
1870
  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.144",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",