@dchighs/dc-config 0.1.177 → 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[];
@@ -1718,13 +1719,11 @@ export interface News {
1718
1719
  "2": The2;
1719
1720
  "3": The3;
1720
1721
  "4": The4;
1721
- "5": The4;
1722
+ "5": The5;
1722
1723
  "6": The4;
1723
- "7": The4;
1724
+ "7": The7;
1724
1725
  "8": The8;
1725
- "9": The10;
1726
- "10": The10;
1727
- "11": The11;
1726
+ "9": The9;
1728
1727
  canvas: Canva[];
1729
1728
  }
1730
1729
  export interface The0 {
@@ -1754,7 +1753,7 @@ export interface The0_Slide {
1754
1753
  slide_type: string;
1755
1754
  slide_type_2: string;
1756
1755
  timer: string;
1757
- times_to_show?: number;
1756
+ times_to_show: number;
1758
1757
  }
1759
1758
  export interface The1 {
1760
1759
  active_platforms: ValueClass;
@@ -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?: string;
1784
+ content_localized_key?: FluffyContentLocalizedKey;
1786
1785
  custom_title_localized_key: string;
1787
1786
  forceClose?: boolean;
1788
1787
  header_localized_key: string;
@@ -1791,6 +1790,7 @@ export interface The1_Slide {
1791
1790
  times_to_show: number;
1792
1791
  type: SlideType;
1793
1792
  }
1793
+ export type FluffyContentLocalizedKey = "" | "tid_news_weekly_calendar_description" | "tid_news_rhinodillo_desc";
1794
1794
  export interface MultipleButton {
1795
1795
  animation: AnimationNameEnum;
1796
1796
  animationPlace: AnimationPlace;
@@ -1817,81 +1817,99 @@ export interface SizeClass {
1817
1817
  export type SpineAsset = "pointer_animation_v2";
1818
1818
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1819
1819
  export type SlideType = "FullImage";
1820
- export interface The10 {
1820
+ export interface The2 {
1821
1821
  active_platforms: ValueClass;
1822
1822
  allow_island_tutorial: number;
1823
1823
  assets_name: string;
1824
1824
  direct_to_shop: number;
1825
1825
  end_ts: string;
1826
1826
  filter_category: null;
1827
+ hud_button: The1_HudButton;
1827
1828
  id: number;
1828
1829
  label_text_tid: null;
1829
1830
  label_title_tid: null;
1830
1831
  min_level: number;
1832
+ popup_frequency: string;
1831
1833
  popup_type: string;
1832
- priority: number;
1834
+ priority: null;
1833
1835
  show_on_startup: number;
1834
1836
  slides: The1_Slide[];
1835
1837
  start_ts: string;
1836
1838
  }
1837
- export interface The11 {
1838
- active_platforms: The11_ActivePlatforms;
1839
+ export interface The3 {
1840
+ active_platforms: ValueClass;
1839
1841
  allow_island_tutorial: number;
1840
1842
  assets_name: string;
1841
1843
  direct_to_shop: number;
1842
1844
  end_ts: string;
1845
+ filter_category: null;
1846
+ hud_button: The1_HudButton;
1843
1847
  id: number;
1848
+ label_text_tid: null;
1849
+ label_title_tid: null;
1844
1850
  min_level: number;
1845
- popup_frequency: string;
1846
- popup_is_critical: boolean;
1847
1851
  popup_type: string;
1852
+ priority: null;
1848
1853
  show_on_startup: number;
1849
1854
  slides: The1_Slide[];
1850
1855
  start_ts: string;
1851
1856
  }
1852
- export interface The11_ActivePlatforms {
1853
- android: number[];
1854
- ios: number[];
1855
- }
1856
- export interface The2 {
1857
+ export interface The4 {
1857
1858
  active_platforms: ValueClass;
1858
1859
  allow_island_tutorial: number;
1859
1860
  assets_name: string;
1860
1861
  direct_to_shop: number;
1861
1862
  end_ts: string;
1862
- filter_category: null;
1863
- hud_button: The1_HudButton;
1864
1863
  id: number;
1865
- label_text_tid: null;
1866
- label_title_tid: null;
1867
1864
  min_level: number;
1868
1865
  popup_frequency: string;
1869
1866
  popup_type: string;
1870
- priority: null;
1871
1867
  show_on_startup: number;
1872
1868
  slides: The1_Slide[];
1873
1869
  start_ts: string;
1874
1870
  }
1875
- 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 {
1876
1895
  active_platforms: ValueClass;
1877
1896
  allow_island_tutorial: number;
1878
1897
  assets_name: string;
1879
1898
  direct_to_shop: number;
1880
1899
  end_ts: string;
1881
1900
  filter_category: null;
1882
- hud_button: The1_HudButton;
1883
1901
  id: number;
1884
1902
  label_text_tid: null;
1885
1903
  label_title_tid: null;
1886
1904
  min_level: number;
1887
1905
  popup_type: string;
1888
- priority: null;
1906
+ priority: number;
1889
1907
  show_on_startup: number;
1890
- slides: The1_Slide[];
1908
+ slides: The5_Slide[];
1891
1909
  start_ts: string;
1892
1910
  }
1893
- export interface The4 {
1894
- active_platforms: ValueClass;
1911
+ export interface The8 {
1912
+ active_platforms: The8_ActivePlatforms;
1895
1913
  allow_island_tutorial: number;
1896
1914
  assets_name: string;
1897
1915
  direct_to_shop: number;
@@ -1899,68 +1917,41 @@ export interface The4 {
1899
1917
  id: number;
1900
1918
  min_level: number;
1901
1919
  popup_frequency: string;
1920
+ popup_is_critical: boolean;
1902
1921
  popup_type: string;
1903
1922
  show_on_startup: number;
1904
1923
  slides: The1_Slide[];
1905
1924
  start_ts: string;
1906
1925
  }
1907
- export interface The8 {
1926
+ export interface The8_ActivePlatforms {
1927
+ android: number[];
1928
+ ios: number[];
1929
+ }
1930
+ export interface The9 {
1908
1931
  active_platforms: ValueClass;
1909
1932
  allow_island_tutorial: number;
1910
1933
  assets_name: string;
1911
1934
  direct_to_shop: number;
1912
1935
  end_ts: string;
1913
- hud_button: The1_HudButton;
1936
+ filter_category: null;
1914
1937
  id: number;
1938
+ label_text_tid: null;
1939
+ label_title_tid: null;
1915
1940
  min_level: number;
1916
1941
  popup_type: string;
1942
+ priority: number;
1917
1943
  show_on_startup: number;
1918
- slides: The0_Slide[];
1944
+ slides: The1_Slide[];
1919
1945
  start_ts: string;
1920
1946
  }
1921
1947
  export interface Canva {
1922
1948
  id: number;
1923
1949
  assets_name: string;
1924
- start_ts: number | string;
1925
- end_ts: number | string;
1926
- min_level?: number;
1927
- slides: CanvaSlide[];
1928
- show_on_startup?: number;
1929
- }
1930
- export interface CanvaSlide {
1931
- custom_title_localized_key?: string;
1932
- header_localized_key?: string;
1933
- image_url?: string;
1934
- times_to_show?: number;
1935
- type?: SlideType;
1936
- multiple_buttons?: MultipleButton[];
1937
- bg?: string;
1938
- content?: Content[];
1939
- edit_mode?: number;
1940
- id?: number;
1941
- title_key?: string;
1942
- viral_icon_key?: string;
1943
- viral_icon_timer?: string;
1944
- }
1945
- export interface Content {
1946
- height: number;
1947
- rotation: number;
1948
- stroke?: string;
1949
- text_color?: string;
1950
- text_key: string;
1951
- text_size?: number;
1952
- timer?: number;
1953
- type: string;
1954
- width: number;
1955
- x: number;
1956
- y: number;
1957
- action?: ContentAction;
1958
- style?: string;
1959
- }
1960
- export interface ContentAction {
1961
- itemId: string;
1962
- storeCategory: number;
1963
- type: string;
1950
+ start_ts: number;
1951
+ end_ts: number;
1952
+ min_level: number;
1953
+ slides: The1_Slide[];
1954
+ show_on_startup: number;
1964
1955
  }
1965
1956
  export interface Perks {
1966
1957
  abilities: Ability[];
@@ -2558,7 +2549,7 @@ export interface TowerIsland {
2558
2549
  happy_hours: HappyHour[];
2559
2550
  parameters: FogIslandParameter[];
2560
2551
  currencies: Currency[];
2561
- actions: ActionElement[];
2552
+ actions: Action[];
2562
2553
  }
2563
2554
  export interface Floor {
2564
2555
  id: number;
@@ -2637,7 +2628,7 @@ export interface TreasureItem {
2637
2628
  name_key: string;
2638
2629
  image: string;
2639
2630
  price: number;
2640
- type: TreasureItemType;
2631
+ type: string;
2641
2632
  display_order: number;
2642
2633
  badge: number;
2643
2634
  use_formula: number;
@@ -2648,7 +2639,6 @@ export interface TreasureItem {
2648
2639
  badgeText?: string;
2649
2640
  }
2650
2641
  export type Feature = "packs_shop" | "missing_dragon_rescue";
2651
- export type TreasureItemType = "g" | "f" | "p" | "keys";
2652
2642
  export interface TreeOfLife {
2653
2643
  parameters: TreeOfLifeParameter[];
2654
2644
  rarity_summon_time: SummonTime[];
@@ -2734,8 +2724,8 @@ export interface MultiplierTime {
2734
2724
  multiplier_time: number;
2735
2725
  }
2736
2726
  export interface TreeOfLifePowerupRaritySeed {
2737
- max_rarity_seeds_per_grade: number[];
2738
2727
  rarity: Rarity;
2728
+ max_rarity_seeds_per_grade: number[];
2739
2729
  }
2740
2730
  export interface Visual {
2741
2731
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.177",
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",