@dchighs/dc-config 0.1.139 → 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.
- package/dist/dtos/game-config.d.ts +10 -16
- package/package.json +1 -1
|
@@ -130,10 +130,9 @@ export interface IapDiscountUid {
|
|
|
130
130
|
}
|
|
131
131
|
export interface IapDiscountUidAvailability {
|
|
132
132
|
from: string;
|
|
133
|
-
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:
|
|
1560
|
+
availability: IapDiscountUidAvailability[];
|
|
1559
1561
|
goals: number[];
|
|
1560
1562
|
title_tid: string;
|
|
1561
1563
|
hud_icon_tid: HudIconTid;
|
|
@@ -1710,7 +1712,6 @@ export interface News {
|
|
|
1710
1712
|
"5": The2;
|
|
1711
1713
|
"6": The2;
|
|
1712
1714
|
"7": The7;
|
|
1713
|
-
"8": The2;
|
|
1714
1715
|
canvas: Canva[];
|
|
1715
1716
|
}
|
|
1716
1717
|
export interface The0 {
|
|
@@ -1731,9 +1732,7 @@ export interface The0_HudButton {
|
|
|
1731
1732
|
title: string;
|
|
1732
1733
|
}
|
|
1733
1734
|
export interface The0_Slide {
|
|
1734
|
-
content_localized_key: string;
|
|
1735
1735
|
custom_title_localized_key: string;
|
|
1736
|
-
header_localized_key: string;
|
|
1737
1736
|
image_url: string;
|
|
1738
1737
|
link: string;
|
|
1739
1738
|
link_button_key: string;
|
|
@@ -1773,7 +1772,7 @@ export interface The1_Slide {
|
|
|
1773
1772
|
image_url: string;
|
|
1774
1773
|
multiple_buttons: MultipleButton[];
|
|
1775
1774
|
times_to_show: number;
|
|
1776
|
-
type:
|
|
1775
|
+
type: string;
|
|
1777
1776
|
}
|
|
1778
1777
|
export interface MultipleButton {
|
|
1779
1778
|
animation: AnimationNameEnum;
|
|
@@ -1800,7 +1799,6 @@ export interface SizeClass {
|
|
|
1800
1799
|
}
|
|
1801
1800
|
export type SpineAsset = "pointer_animation_v2";
|
|
1802
1801
|
export type Style = "Transparent" | "YellowLarge" | "BlueLarge";
|
|
1803
|
-
export type SlideType = "FullImage";
|
|
1804
1802
|
export interface The2 {
|
|
1805
1803
|
active_platforms: ValueClass;
|
|
1806
1804
|
allow_island_tutorial: number;
|
|
@@ -1849,7 +1847,7 @@ export interface CanvaSlide {
|
|
|
1849
1847
|
header_localized_key?: string;
|
|
1850
1848
|
image_url?: string;
|
|
1851
1849
|
times_to_show?: number;
|
|
1852
|
-
type?:
|
|
1850
|
+
type?: string;
|
|
1853
1851
|
multiple_buttons?: MultipleButton[];
|
|
1854
1852
|
bg?: string;
|
|
1855
1853
|
content?: Content[];
|
|
@@ -1860,19 +1858,15 @@ export interface CanvaSlide {
|
|
|
1860
1858
|
viral_icon_timer?: string;
|
|
1861
1859
|
}
|
|
1862
1860
|
export interface Content {
|
|
1861
|
+
action: ContentAction;
|
|
1863
1862
|
height: number;
|
|
1864
1863
|
rotation: number;
|
|
1865
|
-
|
|
1866
|
-
text_color?: string;
|
|
1864
|
+
style: string;
|
|
1867
1865
|
text_key: string;
|
|
1868
|
-
text_size?: number;
|
|
1869
|
-
timer?: number;
|
|
1870
1866
|
type: string;
|
|
1871
1867
|
width: number;
|
|
1872
1868
|
x: number;
|
|
1873
1869
|
y: number;
|
|
1874
|
-
action?: ContentAction;
|
|
1875
|
-
style?: string;
|
|
1876
1870
|
}
|
|
1877
1871
|
export interface ContentAction {
|
|
1878
1872
|
itemId: string;
|