@dchighs/dc-config 0.1.176 → 0.1.178

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 {
@@ -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[];
@@ -1568,7 +1568,7 @@ export interface Challenge {
1568
1568
  availability: IapDiscountUidAvailability[];
1569
1569
  goals: number[];
1570
1570
  title_tid: string;
1571
- hud_icon_tid: string;
1571
+ hud_icon_tid: HudIconTid;
1572
1572
  background: ChallengeBackground;
1573
1573
  weight: number;
1574
1574
  displayed_reward: number;
@@ -1579,6 +1579,7 @@ export interface Challenge {
1579
1579
  user_min_level: number;
1580
1580
  }
1581
1581
  export type ChallengeBackground = "bg-lo-challenges-test";
1582
+ export type HudIconTid = "tid_LO_challenges_reefcoraldragon_icon" | "tid_LO_challenges_icon_journeynorth" | "tid_LO_challenges_title_DTVcoins" | "tid_LO_challenges_title_apexofdaycollection" | "tid_LO_challenges_title_apexofduskcollection";
1582
1583
  export interface LiveopsChallengesCollectible {
1583
1584
  id: number;
1584
1585
  collectible_type: CollectibleType;
@@ -1628,7 +1629,7 @@ export interface MazeIsland {
1628
1629
  encounters: Encounter[];
1629
1630
  enemies: EnemyElement[];
1630
1631
  happy_hours: unknown[];
1631
- actions: ActionElement[];
1632
+ actions: Action[];
1632
1633
  clouds: Cloud[];
1633
1634
  currencies: Currency[];
1634
1635
  parameters: FogIslandParameter[];
@@ -1717,14 +1718,12 @@ export interface News {
1717
1718
  "1": The1;
1718
1719
  "2": The2;
1719
1720
  "3": The3;
1720
- "4": The10;
1721
+ "4": The4;
1721
1722
  "5": The5;
1722
- "6": The5;
1723
- "7": The5;
1724
- "8": The5;
1725
- "9": The10;
1726
- "10": The10;
1727
- "11": The11;
1723
+ "6": The4;
1724
+ "7": The7;
1725
+ "8": The8;
1726
+ "9": The9;
1728
1727
  canvas: Canva[];
1729
1728
  }
1730
1729
  export interface The0 {
@@ -1745,7 +1744,9 @@ export interface The0_HudButton {
1745
1744
  title: string;
1746
1745
  }
1747
1746
  export interface The0_Slide {
1747
+ content_localized_key: string;
1748
1748
  custom_title_localized_key: string;
1749
+ header_localized_key: string;
1749
1750
  image_url: string;
1750
1751
  link: string;
1751
1752
  link_button_key: string;
@@ -1780,7 +1781,7 @@ export interface The1_HudButton {
1780
1781
  viral_icon_tier: number;
1781
1782
  }
1782
1783
  export interface The1_Slide {
1783
- content_localized_key?: string;
1784
+ content_localized_key?: FluffyContentLocalizedKey;
1784
1785
  custom_title_localized_key: string;
1785
1786
  forceClose?: boolean;
1786
1787
  header_localized_key: string;
@@ -1789,6 +1790,7 @@ export interface The1_Slide {
1789
1790
  times_to_show: number;
1790
1791
  type: SlideType;
1791
1792
  }
1793
+ export type FluffyContentLocalizedKey = "" | "tid_news_weekly_calendar_description" | "tid_news_rhinodillo_desc";
1792
1794
  export interface MultipleButton {
1793
1795
  animation: AnimationNameEnum;
1794
1796
  animationPlace: AnimationPlace;
@@ -1815,89 +1817,129 @@ export interface SizeClass {
1815
1817
  export type SpineAsset = "pointer_animation_v2";
1816
1818
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1817
1819
  export type SlideType = "FullImage";
1818
- export interface The10 {
1820
+ export interface The2 {
1819
1821
  active_platforms: ValueClass;
1820
1822
  allow_island_tutorial: number;
1821
1823
  assets_name: string;
1822
1824
  direct_to_shop: number;
1823
1825
  end_ts: string;
1824
1826
  filter_category: null;
1827
+ hud_button: The1_HudButton;
1825
1828
  id: number;
1826
1829
  label_text_tid: null;
1827
1830
  label_title_tid: null;
1828
1831
  min_level: number;
1832
+ popup_frequency: string;
1829
1833
  popup_type: string;
1830
- priority: number;
1834
+ priority: null;
1831
1835
  show_on_startup: number;
1832
1836
  slides: The1_Slide[];
1833
1837
  start_ts: string;
1834
1838
  }
1835
- export interface The11 {
1836
- active_platforms: The11_ActivePlatforms;
1839
+ export interface The3 {
1840
+ active_platforms: ValueClass;
1837
1841
  allow_island_tutorial: number;
1838
1842
  assets_name: string;
1839
1843
  direct_to_shop: number;
1840
1844
  end_ts: string;
1845
+ filter_category: null;
1846
+ hud_button: The1_HudButton;
1841
1847
  id: number;
1848
+ label_text_tid: null;
1849
+ label_title_tid: null;
1842
1850
  min_level: number;
1843
- popup_frequency: string;
1844
- popup_is_critical: boolean;
1845
1851
  popup_type: string;
1852
+ priority: null;
1846
1853
  show_on_startup: number;
1847
1854
  slides: The1_Slide[];
1848
1855
  start_ts: string;
1849
1856
  }
1850
- export interface The11_ActivePlatforms {
1851
- android: number[];
1852
- ios: number[];
1853
- }
1854
- export interface The2 {
1857
+ export interface The4 {
1855
1858
  active_platforms: ValueClass;
1856
1859
  allow_island_tutorial: number;
1857
1860
  assets_name: string;
1858
1861
  direct_to_shop: number;
1859
1862
  end_ts: string;
1860
- filter_category: null;
1861
- hud_button: The1_HudButton;
1862
1863
  id: number;
1863
- label_text_tid: null;
1864
- label_title_tid: null;
1865
1864
  min_level: number;
1866
1865
  popup_frequency: string;
1867
1866
  popup_type: string;
1868
- priority: null;
1869
1867
  show_on_startup: number;
1870
1868
  slides: The1_Slide[];
1871
1869
  start_ts: string;
1872
1870
  }
1873
- export interface The3 {
1871
+ export interface The5 {
1872
+ active_platforms: ValueClass;
1873
+ allow_island_tutorial: number;
1874
+ assets_name: string;
1875
+ direct_to_shop: number;
1876
+ end_ts: string;
1877
+ id: number;
1878
+ min_level: number;
1879
+ popup_frequency: string;
1880
+ popup_type: string;
1881
+ show_on_startup: number;
1882
+ slides: The5_Slide[];
1883
+ start_ts: string;
1884
+ }
1885
+ export interface The5_Slide {
1886
+ content_localized_key: string;
1887
+ custom_title_localized_key: string;
1888
+ header_localized_key: string;
1889
+ image_url: string;
1890
+ multiple_buttons: MultipleButton[];
1891
+ times_to_show: number;
1892
+ type: SlideType;
1893
+ }
1894
+ export interface The7 {
1874
1895
  active_platforms: ValueClass;
1875
1896
  allow_island_tutorial: number;
1876
1897
  assets_name: string;
1877
1898
  direct_to_shop: number;
1878
1899
  end_ts: string;
1879
1900
  filter_category: null;
1880
- hud_button: The1_HudButton;
1881
1901
  id: number;
1882
1902
  label_text_tid: null;
1883
1903
  label_title_tid: null;
1884
1904
  min_level: number;
1885
1905
  popup_type: string;
1886
- priority: null;
1906
+ priority: number;
1907
+ show_on_startup: number;
1908
+ slides: The5_Slide[];
1909
+ start_ts: string;
1910
+ }
1911
+ export interface The8 {
1912
+ active_platforms: The8_ActivePlatforms;
1913
+ allow_island_tutorial: number;
1914
+ assets_name: string;
1915
+ direct_to_shop: number;
1916
+ end_ts: string;
1917
+ id: number;
1918
+ min_level: number;
1919
+ popup_frequency: string;
1920
+ popup_is_critical: boolean;
1921
+ popup_type: string;
1887
1922
  show_on_startup: number;
1888
1923
  slides: The1_Slide[];
1889
1924
  start_ts: string;
1890
1925
  }
1891
- export interface The5 {
1926
+ export interface The8_ActivePlatforms {
1927
+ android: number[];
1928
+ ios: number[];
1929
+ }
1930
+ export interface The9 {
1892
1931
  active_platforms: ValueClass;
1893
1932
  allow_island_tutorial: number;
1894
1933
  assets_name: string;
1895
1934
  direct_to_shop: number;
1896
1935
  end_ts: string;
1936
+ filter_category: null;
1897
1937
  id: number;
1938
+ label_text_tid: null;
1939
+ label_title_tid: null;
1898
1940
  min_level: number;
1899
- popup_frequency: string;
1900
1941
  popup_type: string;
1942
+ priority: number;
1901
1943
  show_on_startup: number;
1902
1944
  slides: The1_Slide[];
1903
1945
  start_ts: string;
@@ -1905,42 +1947,11 @@ export interface The5 {
1905
1947
  export interface Canva {
1906
1948
  id: number;
1907
1949
  assets_name: string;
1908
- start_ts: number | string;
1909
- end_ts: number | string;
1910
- min_level?: number;
1911
- slides: CanvaSlide[];
1912
- show_on_startup?: number;
1913
- }
1914
- export interface CanvaSlide {
1915
- custom_title_localized_key?: string;
1916
- header_localized_key?: string;
1917
- image_url?: string;
1918
- times_to_show?: number;
1919
- type?: SlideType;
1920
- multiple_buttons?: MultipleButton[];
1921
- bg?: string;
1922
- content?: Content[];
1923
- edit_mode?: number;
1924
- id?: number;
1925
- title_key?: string;
1926
- viral_icon_key?: string;
1927
- viral_icon_timer?: string;
1928
- }
1929
- export interface Content {
1930
- action: ContentAction;
1931
- height: number;
1932
- rotation: number;
1933
- style: string;
1934
- text_key: string;
1935
- type: string;
1936
- width: number;
1937
- x: number;
1938
- y: number;
1939
- }
1940
- export interface ContentAction {
1941
- itemId: string;
1942
- storeCategory: number;
1943
- type: string;
1950
+ start_ts: number;
1951
+ end_ts: number;
1952
+ min_level: number;
1953
+ slides: The1_Slide[];
1954
+ show_on_startup: number;
1944
1955
  }
1945
1956
  export interface Perks {
1946
1957
  abilities: Ability[];
@@ -2538,7 +2549,7 @@ export interface TowerIsland {
2538
2549
  happy_hours: HappyHour[];
2539
2550
  parameters: FogIslandParameter[];
2540
2551
  currencies: Currency[];
2541
- actions: ActionElement[];
2552
+ actions: Action[];
2542
2553
  }
2543
2554
  export interface Floor {
2544
2555
  id: number;
@@ -2617,7 +2628,7 @@ export interface TreasureItem {
2617
2628
  name_key: string;
2618
2629
  image: string;
2619
2630
  price: number;
2620
- type: TreasureItemType;
2631
+ type: string;
2621
2632
  display_order: number;
2622
2633
  badge: number;
2623
2634
  use_formula: number;
@@ -2628,7 +2639,6 @@ export interface TreasureItem {
2628
2639
  badgeText?: string;
2629
2640
  }
2630
2641
  export type Feature = "packs_shop" | "missing_dragon_rescue";
2631
- export type TreasureItemType = "g" | "f" | "p" | "keys";
2632
2642
  export interface TreeOfLife {
2633
2643
  parameters: TreeOfLifeParameter[];
2634
2644
  rarity_summon_time: SummonTime[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.176",
3
+ "version": "0.1.178",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",