@dchighs/dc-config 0.1.140 → 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.
@@ -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[];
@@ -1709,9 +1709,7 @@ export interface News {
1709
1709
  "2": The2;
1710
1710
  "3": The2;
1711
1711
  "4": The2;
1712
- "5": The2;
1713
- "6": The2;
1714
- "7": The7;
1712
+ "5": The5;
1715
1713
  canvas: Canva[];
1716
1714
  }
1717
1715
  export interface The0 {
@@ -1732,7 +1730,9 @@ export interface The0_HudButton {
1732
1730
  title: string;
1733
1731
  }
1734
1732
  export interface The0_Slide {
1733
+ content_localized_key: string;
1735
1734
  custom_title_localized_key: string;
1735
+ header_localized_key: string;
1736
1736
  image_url: string;
1737
1737
  link: string;
1738
1738
  link_button_key: string;
@@ -1765,14 +1765,14 @@ export interface The1_HudButton {
1765
1765
  viral_icon_tier: number;
1766
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,6 +1799,7 @@ 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
1804
  active_platforms: ValueClass;
1804
1805
  allow_island_tutorial: number;
@@ -1813,7 +1814,7 @@ export interface The2 {
1813
1814
  slides: The1_Slide[];
1814
1815
  start_ts: string;
1815
1816
  }
1816
- export interface The7 {
1817
+ export interface The5 {
1817
1818
  active_platforms: ValueClass;
1818
1819
  allow_island_tutorial: number;
1819
1820
  assets_name: string;
@@ -1836,42 +1837,11 @@ export interface The7 {
1836
1837
  export interface Canva {
1837
1838
  id: number;
1838
1839
  assets_name: string;
1839
- start_ts: number | string;
1840
- end_ts: number | string;
1841
- min_level?: number;
1842
- slides: CanvaSlide[];
1843
- show_on_startup?: number;
1844
- }
1845
- export interface CanvaSlide {
1846
- custom_title_localized_key?: string;
1847
- header_localized_key?: string;
1848
- image_url?: string;
1849
- times_to_show?: number;
1850
- type?: string;
1851
- multiple_buttons?: MultipleButton[];
1852
- bg?: string;
1853
- content?: Content[];
1854
- edit_mode?: number;
1855
- id?: number;
1856
- title_key?: string;
1857
- viral_icon_key?: string;
1858
- viral_icon_timer?: string;
1859
- }
1860
- export interface Content {
1861
- action: ContentAction;
1862
- height: number;
1863
- rotation: number;
1864
- style: string;
1865
- text_key: string;
1866
- type: string;
1867
- width: number;
1868
- x: number;
1869
- y: number;
1870
- }
1871
- export interface ContentAction {
1872
- itemId: string;
1873
- storeCategory: number;
1874
- type: string;
1840
+ start_ts: number;
1841
+ end_ts: number;
1842
+ min_level: number;
1843
+ slides: The1_Slide[];
1844
+ show_on_startup: number;
1875
1845
  }
1876
1846
  export interface Perks {
1877
1847
  abilities: Ability[];
@@ -2462,7 +2432,7 @@ export interface TowerIsland {
2462
2432
  happy_hours: HappyHour[];
2463
2433
  parameters: FogIslandParameter[];
2464
2434
  currencies: Currency[];
2465
- actions: ActionElement[];
2435
+ actions: Action[];
2466
2436
  }
2467
2437
  export interface Floor {
2468
2438
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.140",
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",