@dchighs/dc-config 0.1.164 → 0.1.165

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: Action[];
967
+ actions: ActionElement[];
968
968
  hints: Hint[];
969
969
  parameters: FogIslandParameter[];
970
970
  }
971
- export interface Action {
971
+ export interface ActionElement {
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: Action[];
1144
+ actions: ActionElement[];
1145
1145
  parameters: FogIslandParameter[];
1146
1146
  }
1147
1147
  export interface Decoration {
@@ -1228,7 +1228,7 @@ export type PopupType = "/HelpView/DeityWorld" | "Default" | "DefaultCustomSlide
1228
1228
  export type SizeEnum = "Default" | "FullscreenOverlay";
1229
1229
  export interface HelpViewSlide {
1230
1230
  header_localized_key?: string;
1231
- content_localized_key?: ContentLocalizedKey;
1231
+ content_localized_key?: PurpleContentLocalizedKey;
1232
1232
  image_url?: string;
1233
1233
  custom_title_localized_key?: string;
1234
1234
  slide_type: string;
@@ -1239,7 +1239,7 @@ export interface HelpViewSlide {
1239
1239
  additional_info_img_url?: string;
1240
1240
  }
1241
1241
  export type AnimationNameEnum = "anim1";
1242
- export type ContentLocalizedKey = "" | "tid_piggy_bank_best_deal_message" | "tid_db_mastery_help_screen_1" | "tid_db_collections_help_screen_1" | "tid_db_collections_help_screen_2" | "tid_vip_tier_help_slide_1_content_{}" | "tid_vip_tier_help_slide_2_content_{}" | "tid_titans_help_slide_1_content_{}" | "tid_titans_help_slide_2_content_{}";
1242
+ export type PurpleContentLocalizedKey = "" | "tid_piggy_bank_best_deal_message" | "tid_db_mastery_help_screen_1" | "tid_db_collections_help_screen_1" | "tid_db_collections_help_screen_2" | "tid_vip_tier_help_slide_1_content_{}" | "tid_vip_tier_help_slide_2_content_{}" | "tid_titans_help_slide_1_content_{}" | "tid_titans_help_slide_2_content_{}";
1243
1243
  export interface HeroicRaces {
1244
1244
  islands: HeroicRacesIsland[];
1245
1245
  rewards: HeroicRacesReward[];
@@ -1627,7 +1627,7 @@ export interface MazeIsland {
1627
1627
  encounters: Encounter[];
1628
1628
  enemies: EnemyElement[];
1629
1629
  happy_hours: unknown[];
1630
- actions: Action[];
1630
+ actions: ActionElement[];
1631
1631
  clouds: Cloud[];
1632
1632
  currencies: Currency[];
1633
1633
  parameters: FogIslandParameter[];
@@ -1719,9 +1719,9 @@ export interface News {
1719
1719
  "4": The4;
1720
1720
  "5": The5;
1721
1721
  "6": The6;
1722
- "7": The5;
1723
- "8": The6;
1724
- "9": The9;
1722
+ "7": The6;
1723
+ "8": The5;
1724
+ "9": The6;
1725
1725
  canvas: Canva[];
1726
1726
  }
1727
1727
  export interface The0 {
@@ -1751,7 +1751,7 @@ export interface The0_Slide {
1751
1751
  slide_type: string;
1752
1752
  slide_type_2: string;
1753
1753
  timer: string;
1754
- times_to_show?: number;
1754
+ times_to_show: number;
1755
1755
  }
1756
1756
  export interface The1 {
1757
1757
  active_platforms: ValueClass;
@@ -1779,7 +1779,7 @@ export interface The1_HudButton {
1779
1779
  viral_icon_tier: number;
1780
1780
  }
1781
1781
  export interface The1_Slide {
1782
- content_localized_key?: string;
1782
+ content_localized_key: FluffyContentLocalizedKey;
1783
1783
  custom_title_localized_key: string;
1784
1784
  forceClose?: boolean;
1785
1785
  header_localized_key: string;
@@ -1788,6 +1788,7 @@ export interface The1_Slide {
1788
1788
  times_to_show: number;
1789
1789
  type: SlideType;
1790
1790
  }
1791
+ export type FluffyContentLocalizedKey = "" | "tid_news_rhinodillo_desc" | "tid_news_flyingbroomsticks_desc";
1791
1792
  export interface MultipleButton {
1792
1793
  animation: AnimationNameEnum;
1793
1794
  animationPlace: AnimationPlace;
@@ -1908,28 +1909,49 @@ export interface The6 {
1908
1909
  slides: The1_Slide[];
1909
1910
  start_ts: string;
1910
1911
  }
1911
- export interface The9 {
1912
- active_platforms: ValueClass;
1913
- allow_island_tutorial: number;
1914
- assets_name: string;
1915
- direct_to_shop: number;
1916
- end_ts: string;
1917
- hud_button: The1_HudButton;
1918
- id: number;
1919
- min_level: number;
1920
- popup_type: string;
1921
- show_on_startup: number;
1922
- slides: The0_Slide[];
1923
- start_ts: string;
1924
- }
1925
1912
  export interface Canva {
1926
1913
  id: number;
1927
1914
  assets_name: string;
1928
- start_ts: number;
1929
- end_ts: number;
1930
- min_level: number;
1931
- slides: The1_Slide[];
1932
- show_on_startup: number;
1915
+ start_ts: number | string;
1916
+ end_ts: number | string;
1917
+ min_level?: number;
1918
+ slides: CanvaSlide[];
1919
+ show_on_startup?: number;
1920
+ }
1921
+ export interface CanvaSlide {
1922
+ custom_title_localized_key?: string;
1923
+ header_localized_key?: string;
1924
+ image_url?: string;
1925
+ times_to_show?: number;
1926
+ type?: SlideType;
1927
+ multiple_buttons?: MultipleButton[];
1928
+ bg?: string;
1929
+ content?: Content[];
1930
+ edit_mode?: number;
1931
+ id?: number;
1932
+ title_key?: string;
1933
+ viral_icon_key?: string;
1934
+ viral_icon_timer?: string;
1935
+ }
1936
+ export interface Content {
1937
+ height: number;
1938
+ rotation: number;
1939
+ stroke?: string;
1940
+ text_color?: string;
1941
+ text_key: string;
1942
+ text_size?: number;
1943
+ timer?: number;
1944
+ type: string;
1945
+ width: number;
1946
+ x: number;
1947
+ y: number;
1948
+ action?: ContentAction;
1949
+ style?: string;
1950
+ }
1951
+ export interface ContentAction {
1952
+ itemId: string;
1953
+ storeCategory: number;
1954
+ type: string;
1933
1955
  }
1934
1956
  export interface Perks {
1935
1957
  abilities: Ability[];
@@ -2527,7 +2549,7 @@ export interface TowerIsland {
2527
2549
  happy_hours: HappyHour[];
2528
2550
  parameters: FogIslandParameter[];
2529
2551
  currencies: Currency[];
2530
- actions: Action[];
2552
+ actions: ActionElement[];
2531
2553
  }
2532
2554
  export interface Floor {
2533
2555
  id: number;
@@ -2703,8 +2725,8 @@ export interface MultiplierTime {
2703
2725
  multiplier_time: number;
2704
2726
  }
2705
2727
  export interface TreeOfLifePowerupRaritySeed {
2706
- max_rarity_seeds_per_grade: number[];
2707
2728
  rarity: Rarity;
2729
+ max_rarity_seeds_per_grade: number[];
2708
2730
  }
2709
2731
  export interface Visual {
2710
2732
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.164",
3
+ "version": "0.1.165",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",