@dchighs/dc-config 0.1.167 → 0.1.169

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 {
@@ -1627,7 +1627,7 @@ export interface MazeIsland {
1627
1627
  encounters: Encounter[];
1628
1628
  enemies: EnemyElement[];
1629
1629
  happy_hours: unknown[];
1630
- actions: ActionElement[];
1630
+ actions: Action[];
1631
1631
  clouds: Cloud[];
1632
1632
  currencies: Currency[];
1633
1633
  parameters: FogIslandParameter[];
@@ -1719,10 +1719,9 @@ export interface News {
1719
1719
  "4": The4;
1720
1720
  "5": The5;
1721
1721
  "6": The6;
1722
- "7": The10;
1723
- "8": The10;
1722
+ "7": The6;
1723
+ "8": The5;
1724
1724
  "9": The6;
1725
- "10": The10;
1726
1725
  canvas: Canva[];
1727
1726
  }
1728
1727
  export interface The0 {
@@ -1743,17 +1742,14 @@ export interface The0_HudButton {
1743
1742
  title: string;
1744
1743
  }
1745
1744
  export interface The0_Slide {
1746
- content_localized_key: string;
1747
1745
  custom_title_localized_key: string;
1748
- header_localized_key: string;
1749
1746
  image_url: string;
1750
1747
  link: string;
1751
1748
  link_button_key: string;
1752
1749
  slide_type: string;
1753
1750
  slide_type_2: string;
1754
- timer?: string;
1755
- times_to_show?: number;
1756
- link_item_id?: number;
1751
+ timer: string;
1752
+ times_to_show: number;
1757
1753
  }
1758
1754
  export interface The1 {
1759
1755
  active_platforms: ValueClass;
@@ -1781,7 +1777,7 @@ export interface The1_HudButton {
1781
1777
  viral_icon_tier: number;
1782
1778
  }
1783
1779
  export interface The1_Slide {
1784
- content_localized_key: FluffyContentLocalizedKey;
1780
+ content_localized_key?: FluffyContentLocalizedKey;
1785
1781
  custom_title_localized_key: string;
1786
1782
  forceClose?: boolean;
1787
1783
  header_localized_key: string;
@@ -1801,8 +1797,8 @@ export interface MultipleButton {
1801
1797
  normalizedPosition: NormalizedPosition;
1802
1798
  size: SizeClass;
1803
1799
  style: Style;
1804
- linkItemId?: number | string;
1805
1800
  spineAsset?: SpineAsset;
1801
+ linkItemId?: number | string;
1806
1802
  }
1807
1803
  export type AnimationPlace = "Foreground";
1808
1804
  export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
@@ -1817,20 +1813,6 @@ export interface SizeClass {
1817
1813
  export type SpineAsset = "pointer_animation_v2";
1818
1814
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1819
1815
  export type SlideType = "FullImage";
1820
- export interface The10 {
1821
- active_platforms: ValueClass;
1822
- allow_island_tutorial: number;
1823
- assets_name: string;
1824
- direct_to_shop: number;
1825
- end_ts: string;
1826
- id: number;
1827
- min_level: number;
1828
- popup_frequency: string;
1829
- popup_type: string;
1830
- show_on_startup: number;
1831
- slides: The1_Slide[];
1832
- start_ts: string;
1833
- }
1834
1816
  export interface The2 {
1835
1817
  active_platforms: ValueClass;
1836
1818
  allow_island_tutorial: number;
@@ -1875,18 +1857,25 @@ export interface The4 {
1875
1857
  direct_to_shop: number;
1876
1858
  end_ts: string;
1877
1859
  filter_category: null;
1878
- hud_button: The1_HudButton;
1879
1860
  id: number;
1880
1861
  label_text_tid: null;
1881
1862
  label_title_tid: null;
1882
1863
  min_level: number;
1883
- popup_frequency: string;
1884
1864
  popup_type: string;
1885
- priority: null;
1865
+ priority: number;
1886
1866
  show_on_startup: number;
1887
- slides: The0_Slide[];
1867
+ slides: The4_Slide[];
1888
1868
  start_ts: string;
1889
1869
  }
1870
+ export interface The4_Slide {
1871
+ content_localized_key: string;
1872
+ custom_title_localized_key: string;
1873
+ header_localized_key: string;
1874
+ image_url: string;
1875
+ multiple_buttons: MultipleButton[];
1876
+ times_to_show: number;
1877
+ type: SlideType;
1878
+ }
1890
1879
  export interface The5 {
1891
1880
  active_platforms: ValueClass;
1892
1881
  allow_island_tutorial: number;
@@ -1899,33 +1888,21 @@ export interface The5 {
1899
1888
  label_title_tid: null;
1900
1889
  min_level: number;
1901
1890
  popup_type: string;
1902
- priority: number;
1891
+ priority: number | null;
1903
1892
  show_on_startup: number;
1904
- slides: The5_Slide[];
1893
+ slides: The1_Slide[];
1905
1894
  start_ts: string;
1906
1895
  }
1907
- export interface The5_Slide {
1908
- content_localized_key: string;
1909
- custom_title_localized_key: string;
1910
- header_localized_key: string;
1911
- image_url: string;
1912
- multiple_buttons: MultipleButton[];
1913
- times_to_show: number;
1914
- type: SlideType;
1915
- }
1916
1896
  export interface The6 {
1917
1897
  active_platforms: ValueClass;
1918
1898
  allow_island_tutorial: number;
1919
1899
  assets_name: string;
1920
1900
  direct_to_shop: number;
1921
1901
  end_ts: string;
1922
- filter_category: null;
1923
1902
  id: number;
1924
- label_text_tid: null;
1925
- label_title_tid: null;
1926
1903
  min_level: number;
1904
+ popup_frequency: string;
1927
1905
  popup_type: string;
1928
- priority: number | null;
1929
1906
  show_on_startup: number;
1930
1907
  slides: The1_Slide[];
1931
1908
  start_ts: string;
@@ -1933,46 +1910,11 @@ export interface The6 {
1933
1910
  export interface Canva {
1934
1911
  id: number;
1935
1912
  assets_name: string;
1936
- start_ts: number | string;
1937
- end_ts: number | string;
1938
- min_level?: number;
1939
- slides: CanvaSlide[];
1940
- show_on_startup?: number;
1941
- }
1942
- export interface CanvaSlide {
1943
- custom_title_localized_key?: string;
1944
- header_localized_key?: string;
1945
- image_url?: string;
1946
- times_to_show?: number;
1947
- type?: SlideType;
1948
- multiple_buttons?: MultipleButton[];
1949
- bg?: string;
1950
- content?: Content[];
1951
- edit_mode?: number;
1952
- id?: number;
1953
- title_key?: string;
1954
- viral_icon_key?: string;
1955
- viral_icon_timer?: string;
1956
- }
1957
- export interface Content {
1958
- height: number;
1959
- rotation: number;
1960
- stroke?: string;
1961
- text_color?: string;
1962
- text_key: string;
1963
- text_size?: number;
1964
- timer?: number;
1965
- type: string;
1966
- width: number;
1967
- x: number;
1968
- y: number;
1969
- action?: ContentAction;
1970
- style?: string;
1971
- }
1972
- export interface ContentAction {
1973
- itemId: string;
1974
- storeCategory: number;
1975
- type: string;
1913
+ start_ts: number;
1914
+ end_ts: number;
1915
+ min_level: number;
1916
+ slides: The1_Slide[];
1917
+ show_on_startup: number;
1976
1918
  }
1977
1919
  export interface Perks {
1978
1920
  abilities: Ability[];
@@ -2570,7 +2512,7 @@ export interface TowerIsland {
2570
2512
  happy_hours: HappyHour[];
2571
2513
  parameters: FogIslandParameter[];
2572
2514
  currencies: Currency[];
2573
- actions: ActionElement[];
2515
+ actions: Action[];
2574
2516
  }
2575
2517
  export interface Floor {
2576
2518
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.167",
3
+ "version": "0.1.169",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",