@dchighs/dc-config 0.1.127 → 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;
@@ -1794,9 +1796,23 @@ export interface The1_Slide {
1794
1796
  slide_type: string;
1795
1797
  slide_type_2: string;
1796
1798
  timer: string;
1797
- times_to_show: number;
1799
+ times_to_show?: number;
1798
1800
  }
1799
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 {
1800
1816
  active_platforms: ValueClass;
1801
1817
  allow_island_tutorial: number;
1802
1818
  assets_name: string;
@@ -1848,46 +1864,11 @@ export interface The5 {
1848
1864
  export interface Canva {
1849
1865
  id: number;
1850
1866
  assets_name: string;
1851
- start_ts: number | string;
1852
- end_ts: number | string;
1853
- min_level?: number;
1854
- slides: CanvaSlide[];
1855
- show_on_startup?: number;
1856
- }
1857
- export interface CanvaSlide {
1858
- custom_title_localized_key?: string;
1859
- header_localized_key?: string;
1860
- image_url?: string;
1861
- times_to_show?: number;
1862
- type?: string;
1863
- multiple_buttons?: MultipleButton[];
1864
- bg?: string;
1865
- content?: Content[];
1866
- edit_mode?: number;
1867
- id?: number;
1868
- title_key?: string;
1869
- viral_icon_key?: string;
1870
- viral_icon_timer?: string;
1871
- }
1872
- export interface Content {
1873
- height: number;
1874
- rotation: number;
1875
- stroke?: string;
1876
- text_color?: string;
1877
- text_key: string;
1878
- text_size?: number;
1879
- timer?: number;
1880
- type: string;
1881
- width: number;
1882
- x: number;
1883
- y: number;
1884
- action?: ContentAction;
1885
- style?: string;
1886
- }
1887
- export interface ContentAction {
1888
- itemId: string;
1889
- storeCategory: number;
1890
- type: string;
1867
+ start_ts: number;
1868
+ end_ts: number;
1869
+ min_level: number;
1870
+ slides: The0_Slide[];
1871
+ show_on_startup: number;
1891
1872
  }
1892
1873
  export interface Perks {
1893
1874
  abilities: Ability[];
@@ -2477,7 +2458,7 @@ export interface TowerIsland {
2477
2458
  happy_hours: HappyHour[];
2478
2459
  parameters: FogIslandParameter[];
2479
2460
  currencies: Currency[];
2480
- actions: ActionElement[];
2461
+ actions: Action[];
2481
2462
  }
2482
2463
  export interface Floor {
2483
2464
  id: number;
@@ -2653,8 +2634,8 @@ export interface MultiplierTime {
2653
2634
  multiplier_time: number;
2654
2635
  }
2655
2636
  export interface TreeOfLifePowerupRaritySeed {
2656
- rarity: Rarity;
2657
2637
  max_rarity_seeds_per_grade: number[];
2638
+ rarity: Rarity;
2658
2639
  }
2659
2640
  export interface Visual {
2660
2641
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.127",
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",