@dchighs/dc-config 0.1.9 → 0.1.10

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.
@@ -1181,11 +1181,11 @@ export interface FogIsland {
1181
1181
  squares: FogIslandSquare[];
1182
1182
  currencies: Currency[];
1183
1183
  rewards: FogIslandReward[];
1184
- actions: Action[];
1184
+ actions: ActionElement[];
1185
1185
  hints: Hint[];
1186
1186
  parameters: FogIslandParameter[];
1187
1187
  }
1188
- export interface Action {
1188
+ export interface ActionElement {
1189
1189
  id: number;
1190
1190
  type: ActionType;
1191
1191
  tid_name: ActionTidName;
@@ -1383,7 +1383,7 @@ export interface GridIsland {
1383
1383
  encounters: Encounter[];
1384
1384
  enemies: GridIslandEnemy[];
1385
1385
  currencies: Currency[];
1386
- actions: Action[];
1386
+ actions: ActionElement[];
1387
1387
  parameters: FogIslandParameter[];
1388
1388
  }
1389
1389
  export interface Decoration {
@@ -1519,10 +1519,7 @@ export interface HelpViewSlide {
1519
1519
  image_path?: string;
1520
1520
  custom_title_localized_tidkey?: string;
1521
1521
  animatedAssetName?: string;
1522
- animationName?: AnimationNameEnum;
1523
- }
1524
- export declare enum AnimationNameEnum {
1525
- Anim1 = "anim1"
1522
+ animationName?: string;
1526
1523
  }
1527
1524
  export declare enum ContentLocalizedKey {
1528
1525
  Empty = "",
@@ -2077,7 +2074,7 @@ export interface MazeIsland {
2077
2074
  encounters: Encounter[];
2078
2075
  enemies: GridIslandEnemy[];
2079
2076
  happy_hours: any[];
2080
- actions: Action[];
2077
+ actions: ActionElement[];
2081
2078
  clouds: Cloud[];
2082
2079
  currencies: Currency[];
2083
2080
  parameters: FogIslandParameter[];
@@ -2171,14 +2168,18 @@ export interface MazeIslandReward {
2171
2168
  export interface News {
2172
2169
  "0": The0;
2173
2170
  "1": The1;
2174
- "2": The2;
2171
+ "2": The11;
2175
2172
  "3": The3;
2176
- "4": The0;
2177
- "5": The0;
2173
+ "4": The4;
2174
+ "5": The13;
2178
2175
  "6": The6;
2179
2176
  "7": The0;
2180
- "8": The0;
2181
- "9": The2;
2177
+ "8": The11;
2178
+ "9": The4;
2179
+ "10": The10;
2180
+ "11": The11;
2181
+ "12": The0;
2182
+ "13": The13;
2182
2183
  canvas: Canva[];
2183
2184
  }
2184
2185
  export interface The0 {
@@ -2196,34 +2197,27 @@ export interface The0 {
2196
2197
  start_ts: string;
2197
2198
  }
2198
2199
  export interface The0_Slide {
2199
- content_localized_key?: string;
2200
2200
  custom_title_localized_key: string;
2201
- forceClose?: boolean;
2201
+ forceClose: boolean;
2202
2202
  header_localized_key: string;
2203
2203
  image_url: string;
2204
- multiple_buttons: MultipleButton[];
2205
2204
  times_to_show: number;
2206
- type: SlideType;
2205
+ type: string;
2206
+ content_localized_key?: string;
2207
+ multiple_buttons?: PurpleMultipleButton[];
2207
2208
  }
2208
- export interface MultipleButton {
2209
- animation: AnimationNameEnum;
2210
- animationPlace: AnimationPlace;
2209
+ export interface PurpleMultipleButton {
2210
+ animation: string;
2211
+ animationPlace: string;
2211
2212
  forceClose: boolean;
2212
2213
  glint: boolean;
2213
- key: Key;
2214
+ key: string;
2214
2215
  link: string;
2215
2216
  linkItemId?: number | string;
2216
2217
  normalizedPosition: NormalizedPosition;
2217
2218
  size: Size;
2218
- spineAsset: SpineAsset;
2219
- style: Style;
2220
- }
2221
- export declare enum AnimationPlace {
2222
- Foreground = "Foreground"
2223
- }
2224
- export declare enum Key {
2225
- Empty = "",
2226
- TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2219
+ spineAsset: string;
2220
+ style: string;
2227
2221
  }
2228
2222
  export interface NormalizedPosition {
2229
2223
  x: number;
@@ -2233,41 +2227,109 @@ export interface Size {
2233
2227
  h: number;
2234
2228
  w: number;
2235
2229
  }
2236
- export declare enum SpineAsset {
2237
- Empty = "",
2238
- PointerAnimationV2 = "pointer_animation_v2"
2239
- }
2240
- export declare enum Style {
2241
- BlueLarge = "BlueLarge",
2242
- Transparent = "Transparent"
2243
- }
2244
- export declare enum SlideType {
2245
- FullImage = "FullImage"
2246
- }
2247
2230
  export interface The1 {
2248
2231
  active_platforms: ValueClass;
2249
2232
  allow_island_tutorial: number;
2250
2233
  assets_name: string;
2251
2234
  direct_to_shop: number;
2252
2235
  end_ts: string;
2236
+ filter_category: null;
2237
+ hud_button: The1_HudButton;
2253
2238
  id: number;
2239
+ label_text_tid: null;
2240
+ label_title_tid: null;
2254
2241
  min_level: number;
2255
2242
  popup_frequency: string;
2256
2243
  popup_type: string;
2244
+ priority: null;
2257
2245
  show_on_startup: number;
2258
2246
  slides: The1_Slide[];
2259
2247
  start_ts: string;
2260
2248
  }
2249
+ export interface The1_HudButton {
2250
+ file: string;
2251
+ title: string;
2252
+ viral_icon_tier: number;
2253
+ }
2261
2254
  export interface The1_Slide {
2262
2255
  content_localized_key: string;
2263
2256
  custom_title_localized_key: string;
2264
2257
  header_localized_key: string;
2265
2258
  image_url: string;
2266
- multiple_buttons: MultipleButton[];
2259
+ link: string;
2260
+ link_button_key: string;
2261
+ link_item_id?: number;
2262
+ slide_type: string;
2263
+ slide_type_2: string;
2264
+ timer?: string;
2265
+ }
2266
+ export interface The10 {
2267
+ active_platforms: ValueClass;
2268
+ allow_island_tutorial: number;
2269
+ assets_name: string;
2270
+ end_ts: string;
2271
+ hud_button: The10_HudButton;
2272
+ id: number;
2273
+ min_level: number;
2274
+ popup_type: string;
2275
+ show_on_startup: number;
2276
+ slides: The10_Slide[];
2277
+ start_ts: string;
2278
+ }
2279
+ export interface The10_HudButton {
2280
+ file: string;
2281
+ title: string;
2282
+ }
2283
+ export interface The10_Slide {
2284
+ custom_title_localized_key: string;
2285
+ image_url: string;
2286
+ link: string;
2287
+ link_button_key: string;
2288
+ slide_type: string;
2289
+ slide_type_2: string;
2290
+ timer?: string;
2291
+ times_to_show?: number;
2292
+ content_localized_key?: string;
2293
+ header_localized_key?: string;
2294
+ }
2295
+ export interface The11 {
2296
+ active_platforms: ValueClass;
2297
+ allow_island_tutorial: number;
2298
+ assets_name: string;
2299
+ direct_to_shop: number;
2300
+ end_ts: string;
2301
+ id: number;
2302
+ min_level: number;
2303
+ popup_frequency: string;
2304
+ popup_type: string;
2305
+ show_on_startup: number;
2306
+ slides: The11_Slide[];
2307
+ start_ts: string;
2308
+ }
2309
+ export interface The11_Slide {
2310
+ content_localized_key: string;
2311
+ custom_title_localized_key: string;
2312
+ header_localized_key: string;
2313
+ image_url: string;
2314
+ multiple_buttons: FluffyMultipleButton[];
2267
2315
  times_to_show: number;
2268
- type: SlideType;
2316
+ type: string;
2317
+ forceClose?: boolean;
2269
2318
  }
2270
- export interface The2 {
2319
+ export interface FluffyMultipleButton {
2320
+ animation: string;
2321
+ animationPlace: string;
2322
+ forceClose: boolean;
2323
+ glint: boolean;
2324
+ key: string;
2325
+ link: string;
2326
+ linkItemId: number;
2327
+ normalizedPosition: NormalizedPosition;
2328
+ size: Size;
2329
+ spineAsset: string;
2330
+ style: string;
2331
+ }
2332
+ export interface The13 {
2271
2333
  active_platforms: ValueClass;
2272
2334
  allow_island_tutorial: number;
2273
2335
  assets_name: string;
@@ -2281,7 +2343,7 @@ export interface The2 {
2281
2343
  popup_type: string;
2282
2344
  priority: null;
2283
2345
  show_on_startup: number;
2284
- slides: The0_Slide[];
2346
+ slides: The11_Slide[];
2285
2347
  start_ts: string;
2286
2348
  }
2287
2349
  export interface The3 {
@@ -2293,13 +2355,36 @@ export interface The3 {
2293
2355
  id: number;
2294
2356
  min_level: number;
2295
2357
  popup_frequency: string;
2296
- popup_is_critical: boolean;
2297
2358
  popup_type: string;
2298
2359
  show_on_startup: number;
2299
2360
  slides: The3_Slide[];
2300
2361
  start_ts: string;
2301
2362
  }
2302
2363
  export interface The3_Slide {
2364
+ content_localized_key: string;
2365
+ custom_title_localized_key: string;
2366
+ header_localized_key: string;
2367
+ image_url: string;
2368
+ multiple_buttons: PurpleMultipleButton[];
2369
+ times_to_show: number;
2370
+ type: string;
2371
+ }
2372
+ export interface The4 {
2373
+ active_platforms: ValueClass;
2374
+ allow_island_tutorial: number;
2375
+ assets_name: string;
2376
+ direct_to_shop: number;
2377
+ end_ts: string;
2378
+ hud_button: The1_HudButton;
2379
+ id: number;
2380
+ min_level: number;
2381
+ popup_frequency?: string;
2382
+ popup_type: string;
2383
+ show_on_startup: number;
2384
+ slides: The4_Slide[];
2385
+ start_ts: string;
2386
+ }
2387
+ export interface The4_Slide {
2303
2388
  content_localized_key: string;
2304
2389
  custom_title_localized_key: string;
2305
2390
  header_localized_key: string;
@@ -2308,34 +2393,67 @@ export interface The3_Slide {
2308
2393
  link_button_key: string;
2309
2394
  slide_type: string;
2310
2395
  slide_type_2: string;
2311
- timer?: string;
2312
- times_to_show?: number;
2396
+ timer: string;
2313
2397
  }
2314
2398
  export interface The6 {
2315
2399
  active_platforms: ValueClass;
2316
2400
  allow_island_tutorial: number;
2317
2401
  assets_name: string;
2402
+ direct_to_shop: number;
2318
2403
  end_ts: string;
2319
- hud_button: HudButton;
2320
2404
  id: number;
2321
2405
  min_level: number;
2406
+ popup_frequency: string;
2407
+ popup_is_critical: boolean;
2322
2408
  popup_type: string;
2323
2409
  show_on_startup: number;
2324
- slides: The3_Slide[];
2410
+ slides: The10_Slide[];
2325
2411
  start_ts: string;
2326
2412
  }
2327
- export interface HudButton {
2328
- file: string;
2329
- title: string;
2330
- }
2331
2413
  export interface Canva {
2332
2414
  id: number;
2333
2415
  assets_name: string;
2334
- start_ts: number;
2335
- end_ts: number;
2336
- min_level: number;
2337
- slides: The0_Slide[];
2338
- show_on_startup: number;
2416
+ start_ts: number | string;
2417
+ end_ts: number | string;
2418
+ min_level?: number;
2419
+ slides: CanvaSlide[];
2420
+ show_on_startup?: number;
2421
+ priority?: string;
2422
+ }
2423
+ export interface CanvaSlide {
2424
+ custom_title_localized_key?: string;
2425
+ header_localized_key?: string;
2426
+ image_url?: string;
2427
+ times_to_show?: number;
2428
+ type?: string;
2429
+ multiple_buttons?: PurpleMultipleButton[];
2430
+ bg?: string;
2431
+ content?: Content[];
2432
+ edit_mode?: number;
2433
+ id?: number;
2434
+ title_key?: string;
2435
+ viral_icon_key?: string;
2436
+ viral_icon_timer?: string;
2437
+ }
2438
+ export interface Content {
2439
+ height: number;
2440
+ rotation: number;
2441
+ stroke?: string;
2442
+ text_color?: string;
2443
+ text_key: string;
2444
+ text_size?: number;
2445
+ timer?: number;
2446
+ type: string;
2447
+ width: number;
2448
+ x: number;
2449
+ y: number;
2450
+ action?: ContentAction;
2451
+ style?: string;
2452
+ }
2453
+ export interface ContentAction {
2454
+ itemId: string;
2455
+ storeCategory: number;
2456
+ type: string;
2339
2457
  }
2340
2458
  export interface Perks {
2341
2459
  abilities: Ability[];
@@ -3063,7 +3181,7 @@ export interface TowerIsland {
3063
3181
  happy_hours: HappyHour[];
3064
3182
  parameters: FogIslandParameter[];
3065
3183
  currencies: Currency[];
3066
- actions: Action[];
3184
+ actions: ActionElement[];
3067
3185
  }
3068
3186
  export interface Floor {
3069
3187
  id: number;
@@ -3204,7 +3322,7 @@ export interface TreeOfLifeRaritySeed {
3204
3322
  }
3205
3323
  export interface TreeOfLifePowerup {
3206
3324
  parameters: BattlesConfigElement[];
3207
- animation: AnimationElement[];
3325
+ animation: Animation[];
3208
3326
  grades_by_rarity: GradesBy[];
3209
3327
  grades_by_dragon: GradesBy[];
3210
3328
  visuals: Visual[];
@@ -3213,7 +3331,7 @@ export interface TreeOfLifePowerup {
3213
3331
  rarity_seeds: TreeOfLifePowerupRaritySeed[];
3214
3332
  gold_boost: GoldBoost[];
3215
3333
  }
3216
- export interface AnimationElement {
3334
+ export interface Animation {
3217
3335
  dragon_grade: number;
3218
3336
  background_color: string;
3219
3337
  dragon_particle_color: string;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.File = exports.RewardType = exports.ActionType = exports.ActionTidName = exports.Image = exports.UIAsset = exports.Behaviour = exports.ItemsUnitsAttributeModifierAttribute = exports.AchievementType = exports.DifficultyEnum = exports.TitleTid = exports.TaskType = exports.TaskIncrease = exports.DescTid = exports.Local = exports.CanvasBg = exports.DragonGroupType = exports.AttributeElement = exports.CategoryEnum = exports.ChestType = exports.AnimatedCanvas = exports.Background = exports.PremiumReward2_Tid = exports.PremiumPriceStyle = exports.PremiumDiscountPriceStyle = exports.PremiumDescriptionStyle = exports.PurchasePopupEliteMainTitleStyle = exports.EliteReward3_Tid = exports.EliteReward1_Tid = exports.ElitePriceStyle = exports.BadgeTid = exports.RightRewardsDescriptionTid = exports.QuantityLabelStyleEnum = exports.MoreTitleStyle = exports.PurchasePopupMainTitleStyle = exports.LeftRewardsDescriptionTid = exports.DescriptionElementsStyleEnum = exports.CollectibleActionType = exports.Rarity = exports.ElementType = exports.TypeElement = exports.BattlePassSoundTag = exports.IconID = exports.IapUid = exports.IapEliteUpgradeUid = exports.IapEliteUid = exports.IapEliteDiscountUidIap = exports.Dur = exports.IapDiscountUidIap = exports.Format = void 0;
4
- exports.TidDamageMultiplier = exports.PlayerEffectName = exports.FgVfxScreenEffectname = exports.FgVfxNodeName = exports.EffectTid = exports.PurpleEffectName = exports.DragonLife = exports.DragonAnimation = exports.DestroySkill = exports.CounterAttackEffectName = exports.BgVfxNodeName = exports.BenchTargetMode = exports.AvoidSkillElement = exports.AuraType = exports.Level1_EffectName = exports.DeployText = exports.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = exports.SlideType = exports.Style = exports.SpineAsset = exports.Key = exports.AnimationPlace = exports.IslandTidName = exports.FluffySoundTag = exports.CollectibleType = exports.ItemType = exports.Tag = exports.ItemGroupType = exports.SpinRewardType = exports.NodesPositionType = exports.MissionType = exports.RewardCellType = exports.PurpleSoundTag = exports.IslandTitleTid = exports.ContentLocalizedKey = exports.AnimationNameEnum = exports.PopupType = exports.WallSuffix = exports.Wall = exports.CanvasBackground = exports.ViewTypeEnum = exports.FightBackgroundID = void 0;
5
- exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = exports.VfxTextEffectname = exports.Vfx = void 0;
4
+ exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = exports.VfxTextEffectname = exports.Vfx = exports.TidDamageMultiplier = exports.PlayerEffectName = exports.FgVfxScreenEffectname = exports.FgVfxNodeName = exports.EffectTid = exports.PurpleEffectName = exports.DragonLife = exports.DragonAnimation = exports.DestroySkill = exports.CounterAttackEffectName = exports.BgVfxNodeName = exports.BenchTargetMode = exports.AvoidSkillElement = exports.AuraType = exports.Level1_EffectName = exports.DeployText = exports.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = exports.IslandTidName = exports.FluffySoundTag = exports.CollectibleType = exports.ItemType = exports.Tag = exports.ItemGroupType = exports.SpinRewardType = exports.NodesPositionType = exports.MissionType = exports.RewardCellType = exports.PurpleSoundTag = exports.IslandTitleTid = exports.ContentLocalizedKey = exports.PopupType = exports.WallSuffix = exports.Wall = exports.CanvasBackground = exports.ViewTypeEnum = exports.FightBackgroundID = void 0;
5
+ exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -437,10 +437,6 @@ var PopupType;
437
437
  PopupType["DefaultCustomSlides"] = "DefaultCustomSlides";
438
438
  PopupType["HelpViewDeityWorld"] = "/HelpView/DeityWorld";
439
439
  })(PopupType || (exports.PopupType = PopupType = {}));
440
- var AnimationNameEnum;
441
- (function (AnimationNameEnum) {
442
- AnimationNameEnum["Anim1"] = "anim1";
443
- })(AnimationNameEnum || (exports.AnimationNameEnum = AnimationNameEnum = {}));
444
440
  var ContentLocalizedKey;
445
441
  (function (ContentLocalizedKey) {
446
442
  ContentLocalizedKey["Empty"] = "";
@@ -592,29 +588,6 @@ var IslandTidName;
592
588
  (function (IslandTidName) {
593
589
  IslandTidName["TidMiGenericName"] = "tid_mi_generic_name";
594
590
  })(IslandTidName || (exports.IslandTidName = IslandTidName = {}));
595
- var AnimationPlace;
596
- (function (AnimationPlace) {
597
- AnimationPlace["Foreground"] = "Foreground";
598
- })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
599
- var Key;
600
- (function (Key) {
601
- Key["Empty"] = "";
602
- Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
603
- })(Key || (exports.Key = Key = {}));
604
- var SpineAsset;
605
- (function (SpineAsset) {
606
- SpineAsset["Empty"] = "";
607
- SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
608
- })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
609
- var Style;
610
- (function (Style) {
611
- Style["BlueLarge"] = "BlueLarge";
612
- Style["Transparent"] = "Transparent";
613
- })(Style || (exports.Style = Style = {}));
614
- var SlideType;
615
- (function (SlideType) {
616
- SlideType["FullImage"] = "FullImage";
617
- })(SlideType || (exports.SlideType = SlideType = {}));
618
591
  var AbilityType;
619
592
  (function (AbilityType) {
620
593
  AbilityType["DragonAttackBoost"] = "dragon_attack_boost";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",