@dchighs/dc-config 0.1.175 → 0.1.176

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.
@@ -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[];
@@ -1717,13 +1717,14 @@ export interface News {
1717
1717
  "1": The1;
1718
1718
  "2": The2;
1719
1719
  "3": The3;
1720
- "4": The4;
1720
+ "4": The10;
1721
1721
  "5": The5;
1722
1722
  "6": The5;
1723
- "7": The7;
1723
+ "7": The5;
1724
1724
  "8": The5;
1725
- "9": The4;
1725
+ "9": The10;
1726
1726
  "10": The10;
1727
+ "11": The11;
1727
1728
  canvas: Canva[];
1728
1729
  }
1729
1730
  export interface The0 {
@@ -1744,9 +1745,7 @@ export interface The0_HudButton {
1744
1745
  title: string;
1745
1746
  }
1746
1747
  export interface The0_Slide {
1747
- content_localized_key: string;
1748
1748
  custom_title_localized_key: string;
1749
- header_localized_key: string;
1750
1749
  image_url: string;
1751
1750
  link: string;
1752
1751
  link_button_key: string;
@@ -1781,16 +1780,15 @@ export interface The1_HudButton {
1781
1780
  viral_icon_tier: number;
1782
1781
  }
1783
1782
  export interface The1_Slide {
1784
- content_localized_key?: FluffyContentLocalizedKey;
1783
+ content_localized_key?: string;
1785
1784
  custom_title_localized_key: string;
1786
1785
  forceClose?: boolean;
1787
1786
  header_localized_key: string;
1788
1787
  image_url: string;
1789
- multiple_buttons: MultipleButton[];
1788
+ multiple_buttons?: MultipleButton[];
1790
1789
  times_to_show: number;
1791
1790
  type: SlideType;
1792
1791
  }
1793
- export type FluffyContentLocalizedKey = "" | "tid_news_rhinodillo_desc";
1794
1792
  export interface MultipleButton {
1795
1793
  animation: AnimationNameEnum;
1796
1794
  animationPlace: AnimationPlace;
@@ -1834,26 +1832,26 @@ export interface The10 {
1834
1832
  slides: The1_Slide[];
1835
1833
  start_ts: string;
1836
1834
  }
1837
- export interface The2 {
1838
- active_platforms: ValueClass;
1835
+ export interface The11 {
1836
+ active_platforms: The11_ActivePlatforms;
1839
1837
  allow_island_tutorial: number;
1840
1838
  assets_name: string;
1841
1839
  direct_to_shop: number;
1842
1840
  end_ts: string;
1843
- filter_category: null;
1844
- hud_button: The1_HudButton;
1845
1841
  id: number;
1846
- label_text_tid: null;
1847
- label_title_tid: null;
1848
1842
  min_level: number;
1849
1843
  popup_frequency: string;
1844
+ popup_is_critical: boolean;
1850
1845
  popup_type: string;
1851
- priority: null;
1852
1846
  show_on_startup: number;
1853
1847
  slides: The1_Slide[];
1854
1848
  start_ts: string;
1855
1849
  }
1856
- export interface The3 {
1850
+ export interface The11_ActivePlatforms {
1851
+ android: number[];
1852
+ ios: number[];
1853
+ }
1854
+ export interface The2 {
1857
1855
  active_platforms: ValueClass;
1858
1856
  allow_island_tutorial: number;
1859
1857
  assets_name: string;
@@ -1865,38 +1863,31 @@ export interface The3 {
1865
1863
  label_text_tid: null;
1866
1864
  label_title_tid: null;
1867
1865
  min_level: number;
1866
+ popup_frequency: string;
1868
1867
  popup_type: string;
1869
1868
  priority: null;
1870
1869
  show_on_startup: number;
1871
1870
  slides: The1_Slide[];
1872
1871
  start_ts: string;
1873
1872
  }
1874
- export interface The4 {
1873
+ export interface The3 {
1875
1874
  active_platforms: ValueClass;
1876
1875
  allow_island_tutorial: number;
1877
1876
  assets_name: string;
1878
1877
  direct_to_shop: number;
1879
1878
  end_ts: string;
1880
1879
  filter_category: null;
1880
+ hud_button: The1_HudButton;
1881
1881
  id: number;
1882
1882
  label_text_tid: null;
1883
1883
  label_title_tid: null;
1884
1884
  min_level: number;
1885
1885
  popup_type: string;
1886
- priority: number;
1886
+ priority: null;
1887
1887
  show_on_startup: number;
1888
- slides: The4_Slide[];
1888
+ slides: The1_Slide[];
1889
1889
  start_ts: string;
1890
1890
  }
1891
- export interface The4_Slide {
1892
- content_localized_key: string;
1893
- custom_title_localized_key: string;
1894
- header_localized_key: string;
1895
- image_url: string;
1896
- multiple_buttons: MultipleButton[];
1897
- times_to_show: number;
1898
- type: SlideType;
1899
- }
1900
1891
  export interface The5 {
1901
1892
  active_platforms: ValueClass;
1902
1893
  allow_island_tutorial: number;
@@ -1911,20 +1902,6 @@ export interface The5 {
1911
1902
  slides: The1_Slide[];
1912
1903
  start_ts: string;
1913
1904
  }
1914
- export interface The7 {
1915
- active_platforms: ValueClass;
1916
- allow_island_tutorial: number;
1917
- assets_name: string;
1918
- direct_to_shop: number;
1919
- end_ts: string;
1920
- id: number;
1921
- min_level: number;
1922
- popup_frequency: string;
1923
- popup_type: string;
1924
- show_on_startup: number;
1925
- slides: The4_Slide[];
1926
- start_ts: string;
1927
- }
1928
1905
  export interface Canva {
1929
1906
  id: number;
1930
1907
  assets_name: string;
@@ -1950,19 +1927,15 @@ export interface CanvaSlide {
1950
1927
  viral_icon_timer?: string;
1951
1928
  }
1952
1929
  export interface Content {
1930
+ action: ContentAction;
1953
1931
  height: number;
1954
1932
  rotation: number;
1955
- stroke?: string;
1956
- text_color?: string;
1933
+ style: string;
1957
1934
  text_key: string;
1958
- text_size?: number;
1959
- timer?: number;
1960
1935
  type: string;
1961
1936
  width: number;
1962
1937
  x: number;
1963
1938
  y: number;
1964
- action?: ContentAction;
1965
- style?: string;
1966
1939
  }
1967
1940
  export interface ContentAction {
1968
1941
  itemId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.175",
3
+ "version": "0.1.176",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",