@dchighs/dc-config 0.1.131 → 0.1.132

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 {
@@ -1618,7 +1618,7 @@ export interface MazeIsland {
1618
1618
  encounters: Encounter[];
1619
1619
  enemies: EnemyElement[];
1620
1620
  happy_hours: unknown[];
1621
- actions: ActionElement[];
1621
+ actions: Action[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1710,6 +1710,7 @@ export interface News {
1710
1710
  "6": The4;
1711
1711
  "7": The5;
1712
1712
  "8": The5;
1713
+ "9": The5;
1713
1714
  canvas: Canva[];
1714
1715
  }
1715
1716
  export interface The0 {
@@ -1738,14 +1739,14 @@ export interface The0_HudButton {
1738
1739
  viral_icon_tier: number;
1739
1740
  }
1740
1741
  export interface The0_Slide {
1741
- content_localized_key: string;
1742
+ content_localized_key?: string;
1742
1743
  custom_title_localized_key: string;
1743
1744
  forceClose?: boolean;
1744
1745
  header_localized_key: string;
1745
1746
  image_url: string;
1746
1747
  multiple_buttons: MultipleButton[];
1747
1748
  times_to_show: number;
1748
- type: string;
1749
+ type: SlideType;
1749
1750
  }
1750
1751
  export interface MultipleButton {
1751
1752
  animation: AnimationNameEnum;
@@ -1772,6 +1773,7 @@ export interface SizeClass {
1772
1773
  }
1773
1774
  export type SpineAsset = "pointer_animation_v2";
1774
1775
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1776
+ export type SlideType = "FullImage";
1775
1777
  export interface The1 {
1776
1778
  active_platforms: ValueClass;
1777
1779
  allow_island_tutorial: number;
@@ -1873,46 +1875,11 @@ export interface The5 {
1873
1875
  export interface Canva {
1874
1876
  id: number;
1875
1877
  assets_name: string;
1876
- start_ts: number | string;
1877
- end_ts: number | string;
1878
- min_level?: number;
1879
- slides: CanvaSlide[];
1880
- show_on_startup?: number;
1881
- }
1882
- export interface CanvaSlide {
1883
- custom_title_localized_key?: string;
1884
- header_localized_key?: string;
1885
- image_url?: string;
1886
- times_to_show?: number;
1887
- type?: string;
1888
- multiple_buttons?: MultipleButton[];
1889
- bg?: string;
1890
- content?: Content[];
1891
- edit_mode?: number;
1892
- id?: number;
1893
- title_key?: string;
1894
- viral_icon_key?: string;
1895
- viral_icon_timer?: string;
1896
- }
1897
- export interface Content {
1898
- height: number;
1899
- rotation: number;
1900
- stroke?: string;
1901
- text_color?: string;
1902
- text_key: string;
1903
- text_size?: number;
1904
- timer?: number;
1905
- type: string;
1906
- width: number;
1907
- x: number;
1908
- y: number;
1909
- action?: ContentAction;
1910
- style?: string;
1911
- }
1912
- export interface ContentAction {
1913
- itemId: string;
1914
- storeCategory: number;
1915
- type: string;
1878
+ start_ts: number;
1879
+ end_ts: number;
1880
+ min_level: number;
1881
+ slides: The0_Slide[];
1882
+ show_on_startup: number;
1916
1883
  }
1917
1884
  export interface Perks {
1918
1885
  abilities: Ability[];
@@ -2502,7 +2469,7 @@ export interface TowerIsland {
2502
2469
  happy_hours: HappyHour[];
2503
2470
  parameters: FogIslandParameter[];
2504
2471
  currencies: Currency[];
2505
- actions: ActionElement[];
2472
+ actions: Action[];
2506
2473
  }
2507
2474
  export interface Floor {
2508
2475
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",