@dchighs/dc-config 0.1.171 → 0.1.172

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 {
@@ -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,12 @@ export interface News {
1717
1717
  "1": The1;
1718
1718
  "2": The2;
1719
1719
  "3": The3;
1720
- "4": The11;
1720
+ "4": The4;
1721
1721
  "5": The5;
1722
- "6": The6;
1723
- "7": The6;
1722
+ "6": The5;
1723
+ "7": The7;
1724
1724
  "8": The5;
1725
- "9": The6;
1726
- "10": The10;
1727
- "11": The11;
1725
+ "9": The4;
1728
1726
  canvas: Canva[];
1729
1727
  }
1730
1728
  export interface The0 {
@@ -1754,7 +1752,7 @@ export interface The0_Slide {
1754
1752
  slide_type: string;
1755
1753
  slide_type_2: string;
1756
1754
  timer: string;
1757
- times_to_show?: number;
1755
+ times_to_show: number;
1758
1756
  }
1759
1757
  export interface The1 {
1760
1758
  active_platforms: ValueClass;
@@ -1782,7 +1780,7 @@ export interface The1_HudButton {
1782
1780
  viral_icon_tier: number;
1783
1781
  }
1784
1782
  export interface The1_Slide {
1785
- content_localized_key?: FluffyContentLocalizedKey;
1783
+ content_localized_key: FluffyContentLocalizedKey;
1786
1784
  custom_title_localized_key: string;
1787
1785
  forceClose?: boolean;
1788
1786
  header_localized_key: string;
@@ -1802,8 +1800,8 @@ export interface MultipleButton {
1802
1800
  normalizedPosition: NormalizedPosition;
1803
1801
  size: SizeClass;
1804
1802
  style: Style;
1805
- linkItemId?: number | string;
1806
1803
  spineAsset?: SpineAsset;
1804
+ linkItemId?: number | string;
1807
1805
  }
1808
1806
  export type AnimationPlace = "Foreground";
1809
1807
  export type Key = "tid_news_viptiers_button" | "tid_helpshift_faq_title" | "";
@@ -1818,47 +1816,26 @@ export interface SizeClass {
1818
1816
  export type SpineAsset = "pointer_animation_v2";
1819
1817
  export type Style = "YellowLarge" | "BlueLarge" | "Transparent";
1820
1818
  export type SlideType = "FullImage";
1821
- export interface The10 {
1822
- active_platforms: ValueClass;
1823
- allow_island_tutorial: number;
1824
- assets_name: string;
1825
- direct_to_shop: number;
1826
- end_ts: string;
1827
- hud_button: The1_HudButton;
1828
- id: number;
1829
- min_level: number;
1830
- popup_type: string;
1831
- show_on_startup: number;
1832
- slides: The0_Slide[];
1833
- start_ts: string;
1834
- }
1835
- export interface The11 {
1819
+ export interface The2 {
1836
1820
  active_platforms: ValueClass;
1837
1821
  allow_island_tutorial: number;
1838
1822
  assets_name: string;
1839
1823
  direct_to_shop: number;
1840
1824
  end_ts: string;
1841
1825
  filter_category: null;
1826
+ hud_button: The1_HudButton;
1842
1827
  id: number;
1843
1828
  label_text_tid: null;
1844
1829
  label_title_tid: null;
1845
1830
  min_level: number;
1831
+ popup_frequency: string;
1846
1832
  popup_type: string;
1847
- priority: number;
1833
+ priority: null;
1848
1834
  show_on_startup: number;
1849
- slides: The11_Slide[];
1835
+ slides: The1_Slide[];
1850
1836
  start_ts: string;
1851
1837
  }
1852
- export interface The11_Slide {
1853
- content_localized_key: string;
1854
- custom_title_localized_key: string;
1855
- header_localized_key: string;
1856
- image_url: string;
1857
- multiple_buttons: MultipleButton[];
1858
- times_to_show: number;
1859
- type: SlideType;
1860
- }
1861
- export interface The2 {
1838
+ export interface The3 {
1862
1839
  active_platforms: ValueClass;
1863
1840
  allow_island_tutorial: number;
1864
1841
  assets_name: string;
@@ -1870,58 +1847,65 @@ export interface The2 {
1870
1847
  label_text_tid: null;
1871
1848
  label_title_tid: null;
1872
1849
  min_level: number;
1873
- popup_frequency: string;
1874
1850
  popup_type: string;
1875
1851
  priority: null;
1876
1852
  show_on_startup: number;
1877
1853
  slides: The1_Slide[];
1878
1854
  start_ts: string;
1879
1855
  }
1880
- export interface The3 {
1856
+ export interface The4 {
1881
1857
  active_platforms: ValueClass;
1882
1858
  allow_island_tutorial: number;
1883
1859
  assets_name: string;
1884
1860
  direct_to_shop: number;
1885
1861
  end_ts: string;
1886
1862
  filter_category: null;
1887
- hud_button: The1_HudButton;
1888
1863
  id: number;
1889
1864
  label_text_tid: null;
1890
1865
  label_title_tid: null;
1891
1866
  min_level: number;
1892
1867
  popup_type: string;
1893
- priority: null;
1868
+ priority: number;
1894
1869
  show_on_startup: number;
1895
- slides: The1_Slide[];
1870
+ slides: The4_Slide[];
1896
1871
  start_ts: string;
1897
1872
  }
1873
+ export interface The4_Slide {
1874
+ content_localized_key: string;
1875
+ custom_title_localized_key: string;
1876
+ header_localized_key: string;
1877
+ image_url: string;
1878
+ multiple_buttons: MultipleButton[];
1879
+ times_to_show: number;
1880
+ type: SlideType;
1881
+ }
1898
1882
  export interface The5 {
1899
1883
  active_platforms: ValueClass;
1900
1884
  allow_island_tutorial: number;
1901
1885
  assets_name: string;
1902
1886
  direct_to_shop: number;
1903
1887
  end_ts: string;
1904
- filter_category: null;
1905
1888
  id: number;
1906
- label_text_tid: null;
1907
- label_title_tid: null;
1908
1889
  min_level: number;
1890
+ popup_frequency: string;
1909
1891
  popup_type: string;
1910
- priority: number | null;
1911
1892
  show_on_startup: number;
1912
1893
  slides: The1_Slide[];
1913
1894
  start_ts: string;
1914
1895
  }
1915
- export interface The6 {
1896
+ export interface The7 {
1916
1897
  active_platforms: ValueClass;
1917
1898
  allow_island_tutorial: number;
1918
1899
  assets_name: string;
1919
1900
  direct_to_shop: number;
1920
1901
  end_ts: string;
1902
+ filter_category: null;
1921
1903
  id: number;
1904
+ label_text_tid: null;
1905
+ label_title_tid: null;
1922
1906
  min_level: number;
1923
- popup_frequency: string;
1924
1907
  popup_type: string;
1908
+ priority: number;
1925
1909
  show_on_startup: number;
1926
1910
  slides: The1_Slide[];
1927
1911
  start_ts: string;
@@ -1929,11 +1913,46 @@ export interface The6 {
1929
1913
  export interface Canva {
1930
1914
  id: number;
1931
1915
  assets_name: string;
1932
- start_ts: number;
1933
- end_ts: number;
1934
- min_level: number;
1935
- slides: The1_Slide[];
1936
- show_on_startup: number;
1916
+ start_ts: number | string;
1917
+ end_ts: number | string;
1918
+ min_level?: number;
1919
+ slides: CanvaSlide[];
1920
+ show_on_startup?: number;
1921
+ }
1922
+ export interface CanvaSlide {
1923
+ custom_title_localized_key?: string;
1924
+ header_localized_key?: string;
1925
+ image_url?: string;
1926
+ times_to_show?: number;
1927
+ type?: SlideType;
1928
+ multiple_buttons?: MultipleButton[];
1929
+ bg?: string;
1930
+ content?: Content[];
1931
+ edit_mode?: number;
1932
+ id?: number;
1933
+ title_key?: string;
1934
+ viral_icon_key?: string;
1935
+ viral_icon_timer?: string;
1936
+ }
1937
+ export interface Content {
1938
+ height: number;
1939
+ rotation: number;
1940
+ stroke?: string;
1941
+ text_color?: string;
1942
+ text_key: string;
1943
+ text_size?: number;
1944
+ timer?: number;
1945
+ type: string;
1946
+ width: number;
1947
+ x: number;
1948
+ y: number;
1949
+ action?: ContentAction;
1950
+ style?: string;
1951
+ }
1952
+ export interface ContentAction {
1953
+ itemId: string;
1954
+ storeCategory: number;
1955
+ type: string;
1937
1956
  }
1938
1957
  export interface Perks {
1939
1958
  abilities: Ability[];
@@ -2531,7 +2550,7 @@ export interface TowerIsland {
2531
2550
  happy_hours: HappyHour[];
2532
2551
  parameters: FogIslandParameter[];
2533
2552
  currencies: Currency[];
2534
- actions: Action[];
2553
+ actions: ActionElement[];
2535
2554
  }
2536
2555
  export interface Floor {
2537
2556
  id: number;
@@ -2707,8 +2726,8 @@ export interface MultiplierTime {
2707
2726
  multiplier_time: number;
2708
2727
  }
2709
2728
  export interface TreeOfLifePowerupRaritySeed {
2710
- max_rarity_seeds_per_grade: number[];
2711
2729
  rarity: Rarity;
2730
+ max_rarity_seeds_per_grade: number[];
2712
2731
  }
2713
2732
  export interface Visual {
2714
2733
  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.172",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",