@dchighs/dc-config 0.1.126 → 0.1.128

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.
@@ -960,11 +960,11 @@ export interface FogIsland {
960
960
  squares: FogIslandSquare[];
961
961
  currencies: Currency[];
962
962
  rewards: FogIslandReward[];
963
- actions: ActionElement[];
963
+ actions: Action[];
964
964
  hints: Hint[];
965
965
  parameters: FogIslandParameter[];
966
966
  }
967
- export interface ActionElement {
967
+ export interface Action {
968
968
  id: number;
969
969
  type: string;
970
970
  tid_name: string;
@@ -1134,7 +1134,7 @@ export interface GridIsland {
1134
1134
  encounters: Encounter[];
1135
1135
  enemies: EnemyElement[];
1136
1136
  currencies: Currency[];
1137
- actions: ActionElement[];
1137
+ actions: Action[];
1138
1138
  parameters: FogIslandParameter[];
1139
1139
  }
1140
1140
  export interface Decoration {
@@ -1618,7 +1618,7 @@ export interface MazeIsland {
1618
1618
  encounters: Encounter[];
1619
1619
  enemies: EnemyElement[];
1620
1620
  happy_hours: unknown[];
1621
- actions: ActionElement[];
1621
+ actions: Action[];
1622
1622
  clouds: Cloud[];
1623
1623
  currencies: Currency[];
1624
1624
  parameters: FogIslandParameter[];
@@ -1675,9 +1675,10 @@ export interface NodeReward {
1675
1675
  chest?: number;
1676
1676
  egg?: number;
1677
1677
  "album_pack.s"?: number;
1678
+ "permanent_gacha.legendary"?: number;
1678
1679
  "album_pack.m"?: number;
1679
1680
  "album_pack.l"?: number;
1680
- "album_pack.xl"?: number;
1681
+ "permanent_gacha.mythical"?: number;
1681
1682
  "album_pack_aces.generic"?: number;
1682
1683
  "album_pack_aces.2"?: number;
1683
1684
  "album_pack_aces.4"?: number;
@@ -1703,7 +1704,7 @@ export interface News {
1703
1704
  "0": The0;
1704
1705
  "1": The1;
1705
1706
  "2": The2;
1706
- "3": The2;
1707
+ "3": The3;
1707
1708
  "4": The4;
1708
1709
  "5": The5;
1709
1710
  "6": The5;
@@ -1735,14 +1736,14 @@ export interface The0_HudButton {
1735
1736
  viral_icon_tier: number;
1736
1737
  }
1737
1738
  export interface The0_Slide {
1738
- content_localized_key: string;
1739
+ content_localized_key?: string;
1739
1740
  custom_title_localized_key: string;
1740
1741
  forceClose?: boolean;
1741
1742
  header_localized_key: string;
1742
1743
  image_url: string;
1743
1744
  multiple_buttons: MultipleButton[];
1744
1745
  times_to_show: number;
1745
- type: string;
1746
+ type: SlideType;
1746
1747
  }
1747
1748
  export interface MultipleButton {
1748
1749
  animation: AnimationNameEnum;
@@ -1767,6 +1768,7 @@ export interface SizeClass {
1767
1768
  w: number;
1768
1769
  }
1769
1770
  export type SpineAsset = "pointer_animation_v2";
1771
+ export type SlideType = "FullImage";
1770
1772
  export interface The1 {
1771
1773
  active_platforms: ValueClass;
1772
1774
  allow_island_tutorial: number;
@@ -1785,16 +1787,32 @@ export interface The1_HudButton {
1785
1787
  title: string;
1786
1788
  }
1787
1789
  export interface The1_Slide {
1790
+ content_localized_key: string;
1788
1791
  custom_title_localized_key: string;
1792
+ header_localized_key: string;
1789
1793
  image_url: string;
1790
1794
  link: string;
1791
1795
  link_button_key: string;
1792
1796
  slide_type: string;
1793
1797
  slide_type_2: string;
1794
1798
  timer: string;
1795
- times_to_show: number;
1799
+ times_to_show?: number;
1796
1800
  }
1797
1801
  export interface The2 {
1802
+ active_platforms: ValueClass;
1803
+ allow_island_tutorial: number;
1804
+ assets_name: string;
1805
+ direct_to_shop: number;
1806
+ end_ts: string;
1807
+ hud_button: The0_HudButton;
1808
+ id: number;
1809
+ min_level: number;
1810
+ popup_type: string;
1811
+ show_on_startup: number;
1812
+ slides: The1_Slide[];
1813
+ start_ts: string;
1814
+ }
1815
+ export interface The3 {
1798
1816
  active_platforms: ValueClass;
1799
1817
  allow_island_tutorial: number;
1800
1818
  assets_name: string;
@@ -1846,42 +1864,11 @@ export interface The5 {
1846
1864
  export interface Canva {
1847
1865
  id: number;
1848
1866
  assets_name: string;
1849
- start_ts: number | string;
1850
- end_ts: number | string;
1851
- min_level?: number;
1852
- slides: CanvaSlide[];
1853
- show_on_startup?: number;
1854
- }
1855
- export interface CanvaSlide {
1856
- custom_title_localized_key?: string;
1857
- header_localized_key?: string;
1858
- image_url?: string;
1859
- times_to_show?: number;
1860
- type?: string;
1861
- multiple_buttons?: MultipleButton[];
1862
- bg?: string;
1863
- content?: Content[];
1864
- edit_mode?: number;
1865
- id?: number;
1866
- title_key?: string;
1867
- viral_icon_key?: string;
1868
- viral_icon_timer?: string;
1869
- }
1870
- export interface Content {
1871
- action: ContentAction;
1872
- height: number;
1873
- rotation: number;
1874
- style: string;
1875
- text_key: string;
1876
- type: string;
1877
- width: number;
1878
- x: number;
1879
- y: number;
1880
- }
1881
- export interface ContentAction {
1882
- itemId: string;
1883
- storeCategory: number;
1884
- type: string;
1867
+ start_ts: number;
1868
+ end_ts: number;
1869
+ min_level: number;
1870
+ slides: The0_Slide[];
1871
+ show_on_startup: number;
1885
1872
  }
1886
1873
  export interface Perks {
1887
1874
  abilities: Ability[];
@@ -2471,7 +2458,7 @@ export interface TowerIsland {
2471
2458
  happy_hours: HappyHour[];
2472
2459
  parameters: FogIslandParameter[];
2473
2460
  currencies: Currency[];
2474
- actions: ActionElement[];
2461
+ actions: Action[];
2475
2462
  }
2476
2463
  export interface Floor {
2477
2464
  id: number;
@@ -2647,8 +2634,8 @@ export interface MultiplierTime {
2647
2634
  multiplier_time: number;
2648
2635
  }
2649
2636
  export interface TreeOfLifePowerupRaritySeed {
2650
- rarity: Rarity;
2651
2637
  max_rarity_seeds_per_grade: number[];
2638
+ rarity: Rarity;
2652
2639
  }
2653
2640
  export interface Visual {
2654
2641
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.126",
3
+ "version": "0.1.128",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",