@dchighs/dc-config 0.1.166 → 0.1.168

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.
@@ -964,11 +964,11 @@ export interface FogIsland {
964
964
  squares: FogIslandSquare[];
965
965
  currencies: Currency[];
966
966
  rewards: FogIslandReward[];
967
- actions: ActionElement[];
967
+ actions: Action[];
968
968
  hints: Hint[];
969
969
  parameters: FogIslandParameter[];
970
970
  }
971
- export interface ActionElement {
971
+ export interface Action {
972
972
  id: number;
973
973
  type: ActionType;
974
974
  tid_name: ActionTidName;
@@ -1141,7 +1141,7 @@ export interface GridIsland {
1141
1141
  encounters: Encounter[];
1142
1142
  enemies: EnemyElement[];
1143
1143
  currencies: Currency[];
1144
- actions: ActionElement[];
1144
+ actions: Action[];
1145
1145
  parameters: FogIslandParameter[];
1146
1146
  }
1147
1147
  export interface Decoration {
@@ -1627,7 +1627,7 @@ export interface MazeIsland {
1627
1627
  encounters: Encounter[];
1628
1628
  enemies: EnemyElement[];
1629
1629
  happy_hours: unknown[];
1630
- actions: ActionElement[];
1630
+ actions: Action[];
1631
1631
  clouds: Cloud[];
1632
1632
  currencies: Currency[];
1633
1633
  parameters: FogIslandParameter[];
@@ -1723,7 +1723,6 @@ export interface News {
1723
1723
  "8": The10;
1724
1724
  "9": The6;
1725
1725
  "10": The10;
1726
- "11": The11;
1727
1726
  canvas: Canva[];
1728
1727
  }
1729
1728
  export interface The0 {
@@ -1744,7 +1743,9 @@ export interface The0_HudButton {
1744
1743
  title: string;
1745
1744
  }
1746
1745
  export interface The0_Slide {
1746
+ content_localized_key: string;
1747
1747
  custom_title_localized_key: string;
1748
+ header_localized_key: string;
1748
1749
  image_url: string;
1749
1750
  link: string;
1750
1751
  link_button_key: string;
@@ -1752,8 +1753,6 @@ export interface The0_Slide {
1752
1753
  slide_type_2: string;
1753
1754
  timer?: string;
1754
1755
  times_to_show?: number;
1755
- content_localized_key?: string;
1756
- header_localized_key?: string;
1757
1756
  link_item_id?: number;
1758
1757
  }
1759
1758
  export interface The1 {
@@ -1782,7 +1781,7 @@ export interface The1_HudButton {
1782
1781
  viral_icon_tier: number;
1783
1782
  }
1784
1783
  export interface The1_Slide {
1785
- content_localized_key: FluffyContentLocalizedKey;
1784
+ content_localized_key?: FluffyContentLocalizedKey;
1786
1785
  custom_title_localized_key: string;
1787
1786
  forceClose?: boolean;
1788
1787
  header_localized_key: string;
@@ -1832,20 +1831,6 @@ export interface The10 {
1832
1831
  slides: The1_Slide[];
1833
1832
  start_ts: string;
1834
1833
  }
1835
- export interface The11 {
1836
- active_platforms: ValueClass;
1837
- allow_island_tutorial: number;
1838
- assets_name: string;
1839
- direct_to_shop: number;
1840
- end_ts: string;
1841
- hud_button: The1_HudButton;
1842
- id: number;
1843
- min_level: number;
1844
- popup_type: string;
1845
- show_on_startup: number;
1846
- slides: The0_Slide[];
1847
- start_ts: string;
1848
- }
1849
1834
  export interface The2 {
1850
1835
  active_platforms: ValueClass;
1851
1836
  allow_island_tutorial: number;
@@ -1948,47 +1933,11 @@ export interface The6 {
1948
1933
  export interface Canva {
1949
1934
  id: number;
1950
1935
  assets_name: string;
1951
- start_ts: number | string;
1952
- end_ts: number | string;
1953
- min_level?: number;
1954
- slides: CanvaSlide[];
1955
- show_on_startup?: number;
1956
- priority?: string;
1957
- }
1958
- export interface CanvaSlide {
1959
- custom_title_localized_key?: string;
1960
- header_localized_key?: string;
1961
- image_url?: string;
1962
- times_to_show?: number;
1963
- type?: SlideType;
1964
- multiple_buttons?: MultipleButton[];
1965
- bg?: string;
1966
- content?: Content[];
1967
- edit_mode?: number;
1968
- id?: number;
1969
- title_key?: string;
1970
- viral_icon_key?: string;
1971
- viral_icon_timer?: string;
1972
- }
1973
- export interface Content {
1974
- action?: ContentAction;
1975
- height: number;
1976
- rotation: number;
1977
- style?: string;
1978
- text_key: string;
1979
- type: string;
1980
- width: number;
1981
- x: number;
1982
- y: number;
1983
- stroke?: string;
1984
- text_color?: string;
1985
- text_size?: number;
1986
- timer?: number;
1987
- }
1988
- export interface ContentAction {
1989
- itemId: string;
1990
- storeCategory: number;
1991
- type: string;
1936
+ start_ts: number;
1937
+ end_ts: number;
1938
+ min_level: number;
1939
+ slides: The1_Slide[];
1940
+ show_on_startup: number;
1992
1941
  }
1993
1942
  export interface Perks {
1994
1943
  abilities: Ability[];
@@ -2586,7 +2535,7 @@ export interface TowerIsland {
2586
2535
  happy_hours: HappyHour[];
2587
2536
  parameters: FogIslandParameter[];
2588
2537
  currencies: Currency[];
2589
- actions: ActionElement[];
2538
+ actions: Action[];
2590
2539
  }
2591
2540
  export interface Floor {
2592
2541
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.166",
3
+ "version": "0.1.168",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",