@dchighs/dc-config 0.1.171 → 0.1.173

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?: PurpleContentLocalizedKey;
1231
+ content_localized_key?: ContentLocalizedKey;
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 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_{}";
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_{}";
1243
1243
  export interface HeroicRaces {
1244
1244
  islands: HeroicRacesIsland[];
1245
1245
  rewards: HeroicRacesReward[];
@@ -1628,7 +1628,7 @@ export interface MazeIsland {
1628
1628
  encounters: Encounter[];
1629
1629
  enemies: EnemyElement[];
1630
1630
  happy_hours: unknown[];
1631
- actions: Action[];
1631
+ actions: ActionElement[];
1632
1632
  clouds: Cloud[];
1633
1633
  currencies: Currency[];
1634
1634
  parameters: FogIslandParameter[];
@@ -1717,14 +1717,16 @@ export interface News {
1717
1717
  "1": The1;
1718
1718
  "2": The2;
1719
1719
  "3": The3;
1720
- "4": The11;
1721
- "5": The5;
1722
- "6": The6;
1723
- "7": The6;
1724
- "8": The5;
1725
- "9": The6;
1720
+ "4": The4;
1721
+ "5": The12;
1722
+ "6": The10;
1723
+ "7": The10;
1724
+ "8": The13;
1725
+ "9": The10;
1726
1726
  "10": The10;
1727
1727
  "11": The11;
1728
+ "12": The12;
1729
+ "13": The13;
1728
1730
  canvas: Canva[];
1729
1731
  }
1730
1732
  export interface The0 {
@@ -1753,8 +1755,9 @@ export interface The0_Slide {
1753
1755
  link_button_key: string;
1754
1756
  slide_type: string;
1755
1757
  slide_type_2: string;
1756
- timer: string;
1758
+ timer?: string;
1757
1759
  times_to_show?: number;
1760
+ link_item_id?: number;
1758
1761
  }
1759
1762
  export interface The1 {
1760
1763
  active_platforms: ValueClass;
@@ -1782,7 +1785,7 @@ export interface The1_HudButton {
1782
1785
  viral_icon_tier: number;
1783
1786
  }
1784
1787
  export interface The1_Slide {
1785
- content_localized_key?: FluffyContentLocalizedKey;
1788
+ content_localized_key?: string;
1786
1789
  custom_title_localized_key: string;
1787
1790
  forceClose?: boolean;
1788
1791
  header_localized_key: string;
@@ -1791,7 +1794,6 @@ export interface The1_Slide {
1791
1794
  times_to_show: number;
1792
1795
  type: SlideType;
1793
1796
  }
1794
- export type FluffyContentLocalizedKey = "" | "tid_news_rhinodillo_desc" | "tid_news_flyingbroomsticks_desc";
1795
1797
  export interface MultipleButton {
1796
1798
  animation: AnimationNameEnum;
1797
1799
  animationPlace: AnimationPlace;
@@ -1819,6 +1821,20 @@ export type SpineAsset = "pointer_animation_v2";
1819
1821
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1820
1822
  export type SlideType = "FullImage";
1821
1823
  export interface The10 {
1824
+ active_platforms: ValueClass;
1825
+ allow_island_tutorial: number;
1826
+ assets_name: string;
1827
+ direct_to_shop: number;
1828
+ end_ts: string;
1829
+ id: number;
1830
+ min_level: number;
1831
+ popup_frequency: string;
1832
+ popup_type: string;
1833
+ show_on_startup: number;
1834
+ slides: The1_Slide[];
1835
+ start_ts: string;
1836
+ }
1837
+ export interface The11 {
1822
1838
  active_platforms: ValueClass;
1823
1839
  allow_island_tutorial: number;
1824
1840
  assets_name: string;
@@ -1832,7 +1848,7 @@ export interface The10 {
1832
1848
  slides: The0_Slide[];
1833
1849
  start_ts: string;
1834
1850
  }
1835
- export interface The11 {
1851
+ export interface The12 {
1836
1852
  active_platforms: ValueClass;
1837
1853
  allow_island_tutorial: number;
1838
1854
  assets_name: string;
@@ -1846,10 +1862,10 @@ export interface The11 {
1846
1862
  popup_type: string;
1847
1863
  priority: number;
1848
1864
  show_on_startup: number;
1849
- slides: The11_Slide[];
1865
+ slides: The12_Slide[];
1850
1866
  start_ts: string;
1851
1867
  }
1852
- export interface The11_Slide {
1868
+ export interface The12_Slide {
1853
1869
  content_localized_key: string;
1854
1870
  custom_title_localized_key: string;
1855
1871
  header_localized_key: string;
@@ -1858,26 +1874,24 @@ export interface The11_Slide {
1858
1874
  times_to_show: number;
1859
1875
  type: SlideType;
1860
1876
  }
1861
- export interface The2 {
1877
+ export interface The13 {
1862
1878
  active_platforms: ValueClass;
1863
1879
  allow_island_tutorial: number;
1864
1880
  assets_name: string;
1865
1881
  direct_to_shop: number;
1866
1882
  end_ts: string;
1867
1883
  filter_category: null;
1868
- hud_button: The1_HudButton;
1869
1884
  id: number;
1870
1885
  label_text_tid: null;
1871
1886
  label_title_tid: null;
1872
1887
  min_level: number;
1873
- popup_frequency: string;
1874
1888
  popup_type: string;
1875
- priority: null;
1889
+ priority: number;
1876
1890
  show_on_startup: number;
1877
1891
  slides: The1_Slide[];
1878
1892
  start_ts: string;
1879
1893
  }
1880
- export interface The3 {
1894
+ export interface The2 {
1881
1895
  active_platforms: ValueClass;
1882
1896
  allow_island_tutorial: number;
1883
1897
  assets_name: string;
@@ -1889,51 +1903,94 @@ export interface The3 {
1889
1903
  label_text_tid: null;
1890
1904
  label_title_tid: null;
1891
1905
  min_level: number;
1906
+ popup_frequency: string;
1892
1907
  popup_type: string;
1893
1908
  priority: null;
1894
1909
  show_on_startup: number;
1895
1910
  slides: The1_Slide[];
1896
1911
  start_ts: string;
1897
1912
  }
1898
- export interface The5 {
1913
+ export interface The3 {
1899
1914
  active_platforms: ValueClass;
1900
1915
  allow_island_tutorial: number;
1901
1916
  assets_name: string;
1902
1917
  direct_to_shop: number;
1903
1918
  end_ts: string;
1904
1919
  filter_category: null;
1920
+ hud_button: The1_HudButton;
1905
1921
  id: number;
1906
1922
  label_text_tid: null;
1907
1923
  label_title_tid: null;
1908
1924
  min_level: number;
1909
1925
  popup_type: string;
1910
- priority: number | null;
1926
+ priority: null;
1911
1927
  show_on_startup: number;
1912
1928
  slides: The1_Slide[];
1913
1929
  start_ts: string;
1914
1930
  }
1915
- export interface The6 {
1931
+ export interface The4 {
1916
1932
  active_platforms: ValueClass;
1917
1933
  allow_island_tutorial: number;
1918
1934
  assets_name: string;
1919
1935
  direct_to_shop: number;
1920
1936
  end_ts: string;
1937
+ filter_category: null;
1938
+ hud_button: The1_HudButton;
1921
1939
  id: number;
1940
+ label_text_tid: null;
1941
+ label_title_tid: null;
1922
1942
  min_level: number;
1923
1943
  popup_frequency: string;
1924
1944
  popup_type: string;
1945
+ priority: null;
1925
1946
  show_on_startup: number;
1926
- slides: The1_Slide[];
1947
+ slides: The0_Slide[];
1927
1948
  start_ts: string;
1928
1949
  }
1929
1950
  export interface Canva {
1930
1951
  id: number;
1931
1952
  assets_name: string;
1932
- start_ts: number;
1933
- end_ts: number;
1934
- min_level: number;
1935
- slides: The1_Slide[];
1936
- show_on_startup: number;
1953
+ start_ts: number | string;
1954
+ end_ts: number | string;
1955
+ min_level?: number;
1956
+ slides: CanvaSlide[];
1957
+ show_on_startup?: number;
1958
+ priority?: string;
1959
+ }
1960
+ export interface CanvaSlide {
1961
+ custom_title_localized_key?: string;
1962
+ header_localized_key?: string;
1963
+ image_url?: string;
1964
+ times_to_show?: number;
1965
+ type?: SlideType;
1966
+ multiple_buttons?: MultipleButton[];
1967
+ bg?: string;
1968
+ content?: Content[];
1969
+ edit_mode?: number;
1970
+ id?: number;
1971
+ title_key?: string;
1972
+ viral_icon_key?: string;
1973
+ viral_icon_timer?: string;
1974
+ }
1975
+ export interface Content {
1976
+ height: number;
1977
+ rotation: number;
1978
+ stroke?: string;
1979
+ text_color?: string;
1980
+ text_key: string;
1981
+ text_size?: number;
1982
+ timer?: number;
1983
+ type: string;
1984
+ width: number;
1985
+ x: number;
1986
+ y: number;
1987
+ action?: ContentAction;
1988
+ style?: string;
1989
+ }
1990
+ export interface ContentAction {
1991
+ itemId: string;
1992
+ storeCategory: number;
1993
+ type: string;
1937
1994
  }
1938
1995
  export interface Perks {
1939
1996
  abilities: Ability[];
@@ -2386,10 +2443,10 @@ export interface EffectParameters {
2386
2443
  lives?: number;
2387
2444
  health_multiplier?: number;
2388
2445
  attack_multiplier?: number;
2389
- calloutTid?: string;
2446
+ procChance?: number;
2390
2447
  duration?: number;
2391
2448
  missTid?: string;
2392
- procChance?: number;
2449
+ calloutTid?: string;
2393
2450
  vfxAttachedToTarget?: string;
2394
2451
  }
2395
2452
  export type AvoidSkill = "VENGEFUL" | "EVASION" | "SHIELD" | "BUNKER" | "ARMOR";
@@ -2531,7 +2588,7 @@ export interface TowerIsland {
2531
2588
  happy_hours: HappyHour[];
2532
2589
  parameters: FogIslandParameter[];
2533
2590
  currencies: Currency[];
2534
- actions: Action[];
2591
+ actions: ActionElement[];
2535
2592
  }
2536
2593
  export interface Floor {
2537
2594
  id: number;
@@ -2707,8 +2764,8 @@ export interface MultiplierTime {
2707
2764
  multiplier_time: number;
2708
2765
  }
2709
2766
  export interface TreeOfLifePowerupRaritySeed {
2710
- max_rarity_seeds_per_grade: number[];
2711
2767
  rarity: Rarity;
2768
+ max_rarity_seeds_per_grade: number[];
2712
2769
  }
2713
2770
  export interface Visual {
2714
2771
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.171",
3
+ "version": "0.1.173",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",