@dchighs/dc-config 0.1.138 → 0.1.140

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.
@@ -130,10 +130,9 @@ export interface IapDiscountUid {
130
130
  }
131
131
  export interface IapDiscountUidAvailability {
132
132
  from: string;
133
- dur?: Dur;
133
+ dur?: string;
134
134
  to?: string;
135
135
  }
136
- export type Dur = "15d" | "7d" | "10d" | "14d" | "28d" | "29d" | "42d" | "32d" | "25d" | "11d" | "91d";
137
136
  export type IapDiscountUidIap = "battle_pass_tier_9_99" | "battle_pass_7_99" | "battle_pass_19_99" | "blackfriday_9_99";
138
137
  export interface DiscountUid {
139
138
  iap: IapEliteDiscountUidIap;
@@ -143,6 +142,7 @@ export interface IapEliteDiscountUidAvailability {
143
142
  from: string;
144
143
  dur: Dur;
145
144
  }
145
+ export type Dur = "7d" | "10d" | "14d" | "15d" | "28d" | "29d" | "42d";
146
146
  export type IapEliteDiscountUidIap = "elite_pass_promo_31_99" | "elite_pass_59_99" | "blackfriday_31_99" | "elite_upgrade_promo_23_99" | "special_ebp_upgrade_discount_39_99" | "blackfriday_21_99" | "battle_pass_19_99" | "battle_pass_7_99";
147
147
  export type IapEliteUid = "battle_pass_29_99" | "elite_upgrade_19_99" | "elite_pass_39_99" | "elite_pass_89_99" | "blackfriday_49_99" | "elite_pass_promo_31_99";
148
148
  export type IapEliteUpgradeUid = "battle_pass_19_99" | "battle_pass_39_99" | "elite_upgrade_29_99" | "special_ebp_upgrade_59_99" | "blackfriday_34_99" | "elite_pass_promo_23_99";
@@ -1153,7 +1153,7 @@ export interface Encounter {
1153
1153
  fight_background?: string;
1154
1154
  fight_background_id: FightBackgroundID;
1155
1155
  }
1156
- export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
1156
+ export type FightBackgroundID = "bg_battle_background_gi_treasurehunt" | "bg_battle_background_hr_medievalholidays" | "bg_battle_background_mr_108_mythical_gelbarrier" | "bg_battle_background_hr_clashofthenorth" | "bg_battle_background_mr_109_mythical_porpoise" | "bg_battle_background_mi_mystery_in_paradise" | "bg_battle_background_mi_dragonmysteries" | "bg_battle_background_mi_fall_from_grace";
1157
1157
  export interface EnemyElement {
1158
1158
  id: number;
1159
1159
  dragon_ids: number[];
@@ -1320,7 +1320,9 @@ export interface LapRewardReward {
1320
1320
  "album_pack_aces.1"?: number;
1321
1321
  "pet_food_pack.l"?: number;
1322
1322
  "album_pack_aces.2"?: number;
1323
+ "permanent_gacha.legendary"?: number;
1323
1324
  "album_pack.xl"?: number;
1325
+ "permanent_gacha.mythical"?: number;
1324
1326
  "album_pack_aces.3"?: number;
1325
1327
  trade_tickets?: TradeTicket[];
1326
1328
  "album_pack_aces.4"?: number;
@@ -1555,7 +1557,7 @@ export interface LiveopsChallenges {
1555
1557
  }
1556
1558
  export interface Challenge {
1557
1559
  id: number;
1558
- availability: IapEliteDiscountUidAvailability[];
1560
+ availability: IapDiscountUidAvailability[];
1559
1561
  goals: number[];
1560
1562
  title_tid: string;
1561
1563
  hud_icon_tid: HudIconTid;
@@ -1705,13 +1707,11 @@ export interface News {
1705
1707
  "0": The0;
1706
1708
  "1": The1;
1707
1709
  "2": The2;
1708
- "3": The3;
1709
- "4": The4;
1710
- "5": The4;
1711
- "6": The4;
1712
- "7": The4;
1713
- "8": The8;
1714
- "9": The4;
1710
+ "3": The2;
1711
+ "4": The2;
1712
+ "5": The2;
1713
+ "6": The2;
1714
+ "7": The7;
1715
1715
  canvas: Canva[];
1716
1716
  }
1717
1717
  export interface The0 {
@@ -1732,17 +1732,14 @@ export interface The0_HudButton {
1732
1732
  title: string;
1733
1733
  }
1734
1734
  export interface The0_Slide {
1735
- content_localized_key: string;
1736
1735
  custom_title_localized_key: string;
1737
- header_localized_key: string;
1738
1736
  image_url: string;
1739
1737
  link: string;
1740
1738
  link_button_key: string;
1741
1739
  slide_type: string;
1742
1740
  slide_type_2: string;
1743
- timer?: string;
1744
- times_to_show?: number;
1745
- link_item_id?: number;
1741
+ timer: string;
1742
+ times_to_show: number;
1746
1743
  }
1747
1744
  export interface The1 {
1748
1745
  active_platforms: ValueClass;
@@ -1803,42 +1800,6 @@ export interface SizeClass {
1803
1800
  export type SpineAsset = "pointer_animation_v2";
1804
1801
  export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
1805
1802
  export interface The2 {
1806
- active_platforms: ValueClass;
1807
- allow_island_tutorial: number;
1808
- assets_name: string;
1809
- direct_to_shop: number;
1810
- end_ts: string;
1811
- filter_category: null;
1812
- hud_button: The1_HudButton;
1813
- id: number;
1814
- label_text_tid: null;
1815
- label_title_tid: null;
1816
- min_level: number;
1817
- popup_frequency: string;
1818
- popup_type: string;
1819
- priority: null;
1820
- show_on_startup: number;
1821
- slides: The0_Slide[];
1822
- start_ts: string;
1823
- }
1824
- export interface The3 {
1825
- active_platforms: ValueClass;
1826
- allow_island_tutorial: number;
1827
- assets_name: string;
1828
- direct_to_shop: number;
1829
- end_ts: string;
1830
- filter_category: null;
1831
- id: number;
1832
- label_text_tid: null;
1833
- label_title_tid: null;
1834
- min_level: number;
1835
- popup_type: string;
1836
- priority: number;
1837
- show_on_startup: number;
1838
- slides: The1_Slide[];
1839
- start_ts: string;
1840
- }
1841
- export interface The4 {
1842
1803
  active_platforms: ValueClass;
1843
1804
  allow_island_tutorial: number;
1844
1805
  assets_name: string;
@@ -1852,7 +1813,7 @@ export interface The4 {
1852
1813
  slides: The1_Slide[];
1853
1814
  start_ts: string;
1854
1815
  }
1855
- export interface The8 {
1816
+ export interface The7 {
1856
1817
  active_platforms: ValueClass;
1857
1818
  allow_island_tutorial: number;
1858
1819
  assets_name: string;
@@ -1897,19 +1858,15 @@ export interface CanvaSlide {
1897
1858
  viral_icon_timer?: string;
1898
1859
  }
1899
1860
  export interface Content {
1861
+ action: ContentAction;
1900
1862
  height: number;
1901
1863
  rotation: number;
1902
- stroke?: string;
1903
- text_color?: string;
1864
+ style: string;
1904
1865
  text_key: string;
1905
- text_size?: number;
1906
- timer?: number;
1907
1866
  type: string;
1908
1867
  width: number;
1909
1868
  x: number;
1910
1869
  y: number;
1911
- action?: ContentAction;
1912
- style?: string;
1913
1870
  }
1914
1871
  export interface ContentAction {
1915
1872
  itemId: string;
@@ -2384,10 +2341,11 @@ export type PassiveTriggerType = "attack" | "defense" | "onEnterCombat" | "onDie
2384
2341
  export interface StatusEffectData {
2385
2342
  statusIcon: string;
2386
2343
  effectName: StatusEffectDataEffectName;
2387
- effectDescription?: string;
2344
+ effectDescription?: EffectDescription;
2388
2345
  dragonVfx?: DragonVfx;
2389
2346
  }
2390
2347
  export type DragonVfx = "skill_overdrive" | "poison_skill";
2348
+ export type EffectDescription = "tid_skill_exhaustion_effect_description" | "tid_doom_skill_effect_description" | "tid_skill_drained_effect_description" | "tid_poison_desc";
2391
2349
  export type StatusEffectDataEffectName = "tid_crit_effect_name" | "tid_skill_armor_effect_name" | "tid_skill_exhaustion_effect_name" | "tid_doom_skill_effect_name" | "tid_skill_drained_effect_name" | "tid_poison_name";
2392
2350
  export type Target = "ENEMY" | "NONE" | "ENEMY_TEAM" | "SELF" | "ENEMY_RANDOM_1" | "ALLY_TEAM" | "SELF_ALLIES_ONLY";
2393
2351
  export interface LevelBasedParameter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.138",
3
+ "version": "0.1.140",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",