@dchighs/dc-config 0.1.10 → 0.1.12

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.
@@ -1519,7 +1519,10 @@ export interface HelpViewSlide {
1519
1519
  image_path?: string;
1520
1520
  custom_title_localized_tidkey?: string;
1521
1521
  animatedAssetName?: string;
1522
- animationName?: string;
1522
+ animationName?: AnimationNameEnum;
1523
+ }
1524
+ export declare enum AnimationNameEnum {
1525
+ Anim1 = "anim1"
1523
1526
  }
1524
1527
  export declare enum ContentLocalizedKey {
1525
1528
  Empty = "",
@@ -2168,18 +2171,18 @@ export interface MazeIslandReward {
2168
2171
  export interface News {
2169
2172
  "0": The0;
2170
2173
  "1": The1;
2171
- "2": The11;
2174
+ "2": The10;
2172
2175
  "3": The3;
2173
2176
  "4": The4;
2174
- "5": The13;
2177
+ "5": The12;
2175
2178
  "6": The6;
2176
2179
  "7": The0;
2177
- "8": The11;
2178
- "9": The4;
2180
+ "8": The10;
2181
+ "9": The9;
2179
2182
  "10": The10;
2180
- "11": The11;
2181
- "12": The0;
2182
- "13": The13;
2183
+ "11": The0;
2184
+ "12": The12;
2185
+ "13": The10;
2183
2186
  canvas: Canva[];
2184
2187
  }
2185
2188
  export interface The0 {
@@ -2207,8 +2210,8 @@ export interface The0_Slide {
2207
2210
  multiple_buttons?: PurpleMultipleButton[];
2208
2211
  }
2209
2212
  export interface PurpleMultipleButton {
2210
- animation: string;
2211
- animationPlace: string;
2213
+ animation: AnimationNameEnum;
2214
+ animationPlace: AnimationPlace;
2212
2215
  forceClose: boolean;
2213
2216
  glint: boolean;
2214
2217
  key: string;
@@ -2216,9 +2219,12 @@ export interface PurpleMultipleButton {
2216
2219
  linkItemId?: number | string;
2217
2220
  normalizedPosition: NormalizedPosition;
2218
2221
  size: Size;
2219
- spineAsset: string;
2222
+ spineAsset: SpineAsset;
2220
2223
  style: string;
2221
2224
  }
2225
+ export declare enum AnimationPlace {
2226
+ Foreground = "Foreground"
2227
+ }
2222
2228
  export interface NormalizedPosition {
2223
2229
  x: number;
2224
2230
  y: number;
@@ -2227,6 +2233,10 @@ export interface Size {
2227
2233
  h: number;
2228
2234
  w: number;
2229
2235
  }
2236
+ export declare enum SpineAsset {
2237
+ Empty = "",
2238
+ PointerAnimationV2 = "pointer_animation_v2"
2239
+ }
2230
2240
  export interface The1 {
2231
2241
  active_platforms: ValueClass;
2232
2242
  allow_island_tutorial: number;
@@ -2252,9 +2262,9 @@ export interface The1_HudButton {
2252
2262
  viral_icon_tier: number;
2253
2263
  }
2254
2264
  export interface The1_Slide {
2255
- content_localized_key: string;
2265
+ content_localized_key?: string;
2256
2266
  custom_title_localized_key: string;
2257
- header_localized_key: string;
2267
+ header_localized_key?: string;
2258
2268
  image_url: string;
2259
2269
  link: string;
2260
2270
  link_button_key: string;
@@ -2262,37 +2272,9 @@ export interface The1_Slide {
2262
2272
  slide_type: string;
2263
2273
  slide_type_2: string;
2264
2274
  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
2275
  times_to_show?: number;
2292
- content_localized_key?: string;
2293
- header_localized_key?: string;
2294
2276
  }
2295
- export interface The11 {
2277
+ export interface The10 {
2296
2278
  active_platforms: ValueClass;
2297
2279
  allow_island_tutorial: number;
2298
2280
  assets_name: string;
@@ -2303,10 +2285,10 @@ export interface The11 {
2303
2285
  popup_frequency: string;
2304
2286
  popup_type: string;
2305
2287
  show_on_startup: number;
2306
- slides: The11_Slide[];
2288
+ slides: The10_Slide[];
2307
2289
  start_ts: string;
2308
2290
  }
2309
- export interface The11_Slide {
2291
+ export interface The10_Slide {
2310
2292
  content_localized_key: string;
2311
2293
  custom_title_localized_key: string;
2312
2294
  header_localized_key: string;
@@ -2317,8 +2299,8 @@ export interface The11_Slide {
2317
2299
  forceClose?: boolean;
2318
2300
  }
2319
2301
  export interface FluffyMultipleButton {
2320
- animation: string;
2321
- animationPlace: string;
2302
+ animation: AnimationNameEnum;
2303
+ animationPlace: AnimationPlace;
2322
2304
  forceClose: boolean;
2323
2305
  glint: boolean;
2324
2306
  key: string;
@@ -2326,10 +2308,13 @@ export interface FluffyMultipleButton {
2326
2308
  linkItemId: number;
2327
2309
  normalizedPosition: NormalizedPosition;
2328
2310
  size: Size;
2329
- spineAsset: string;
2330
- style: string;
2311
+ spineAsset: SpineAsset;
2312
+ style: Style;
2331
2313
  }
2332
- export interface The13 {
2314
+ export declare enum Style {
2315
+ Transparent = "Transparent"
2316
+ }
2317
+ export interface The12 {
2333
2318
  active_platforms: ValueClass;
2334
2319
  allow_island_tutorial: number;
2335
2320
  assets_name: string;
@@ -2343,7 +2328,7 @@ export interface The13 {
2343
2328
  popup_type: string;
2344
2329
  priority: null;
2345
2330
  show_on_startup: number;
2346
- slides: The11_Slide[];
2331
+ slides: The10_Slide[];
2347
2332
  start_ts: string;
2348
2333
  }
2349
2334
  export interface The3 {
@@ -2378,23 +2363,12 @@ export interface The4 {
2378
2363
  hud_button: The1_HudButton;
2379
2364
  id: number;
2380
2365
  min_level: number;
2381
- popup_frequency?: string;
2366
+ popup_frequency: string;
2382
2367
  popup_type: string;
2383
2368
  show_on_startup: number;
2384
- slides: The4_Slide[];
2369
+ slides: The1_Slide[];
2385
2370
  start_ts: string;
2386
2371
  }
2387
- export interface The4_Slide {
2388
- content_localized_key: string;
2389
- custom_title_localized_key: string;
2390
- header_localized_key: string;
2391
- image_url: string;
2392
- link: string;
2393
- link_button_key: string;
2394
- slide_type: string;
2395
- slide_type_2: string;
2396
- timer: string;
2397
- }
2398
2372
  export interface The6 {
2399
2373
  active_platforms: ValueClass;
2400
2374
  allow_island_tutorial: number;
@@ -2407,9 +2381,26 @@ export interface The6 {
2407
2381
  popup_is_critical: boolean;
2408
2382
  popup_type: string;
2409
2383
  show_on_startup: number;
2410
- slides: The10_Slide[];
2384
+ slides: The1_Slide[];
2411
2385
  start_ts: string;
2412
2386
  }
2387
+ export interface The9 {
2388
+ active_platforms: ValueClass;
2389
+ allow_island_tutorial: number;
2390
+ assets_name: string;
2391
+ end_ts: string;
2392
+ hud_button: The9_HudButton;
2393
+ id: number;
2394
+ min_level: number;
2395
+ popup_type: string;
2396
+ show_on_startup: number;
2397
+ slides: The1_Slide[];
2398
+ start_ts: string;
2399
+ }
2400
+ export interface The9_HudButton {
2401
+ file: string;
2402
+ title: string;
2403
+ }
2413
2404
  export interface Canva {
2414
2405
  id: number;
2415
2406
  assets_name: string;
@@ -2418,7 +2409,6 @@ export interface Canva {
2418
2409
  min_level?: number;
2419
2410
  slides: CanvaSlide[];
2420
2411
  show_on_startup?: number;
2421
- priority?: string;
2422
2412
  }
2423
2413
  export interface CanvaSlide {
2424
2414
  custom_title_localized_key?: string;
@@ -2426,7 +2416,7 @@ export interface CanvaSlide {
2426
2416
  image_url?: string;
2427
2417
  times_to_show?: number;
2428
2418
  type?: string;
2429
- multiple_buttons?: PurpleMultipleButton[];
2419
+ multiple_buttons?: FluffyMultipleButton[];
2430
2420
  bg?: string;
2431
2421
  content?: Content[];
2432
2422
  edit_mode?: number;
@@ -2436,19 +2426,15 @@ export interface CanvaSlide {
2436
2426
  viral_icon_timer?: string;
2437
2427
  }
2438
2428
  export interface Content {
2429
+ action: ContentAction;
2439
2430
  height: number;
2440
2431
  rotation: number;
2441
- stroke?: string;
2442
- text_color?: string;
2432
+ style: string;
2443
2433
  text_key: string;
2444
- text_size?: number;
2445
- timer?: number;
2446
2434
  type: string;
2447
2435
  width: number;
2448
2436
  x: number;
2449
2437
  y: number;
2450
- action?: ContentAction;
2451
- style?: string;
2452
2438
  }
2453
2439
  export interface ContentAction {
2454
2440
  itemId: string;
@@ -3322,7 +3308,7 @@ export interface TreeOfLifeRaritySeed {
3322
3308
  }
3323
3309
  export interface TreeOfLifePowerup {
3324
3310
  parameters: BattlesConfigElement[];
3325
- animation: Animation[];
3311
+ animation: AnimationElement[];
3326
3312
  grades_by_rarity: GradesBy[];
3327
3313
  grades_by_dragon: GradesBy[];
3328
3314
  visuals: Visual[];
@@ -3331,7 +3317,7 @@ export interface TreeOfLifePowerup {
3331
3317
  rarity_seeds: TreeOfLifePowerupRaritySeed[];
3332
3318
  gold_boost: GoldBoost[];
3333
3319
  }
3334
- export interface Animation {
3320
+ export interface AnimationElement {
3335
3321
  dragon_grade: number;
3336
3322
  background_color: string;
3337
3323
  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.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;
4
+ 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.Style = exports.SpineAsset = 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 = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -437,6 +437,10 @@ 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 = {}));
440
444
  var ContentLocalizedKey;
441
445
  (function (ContentLocalizedKey) {
442
446
  ContentLocalizedKey["Empty"] = "";
@@ -588,6 +592,19 @@ var IslandTidName;
588
592
  (function (IslandTidName) {
589
593
  IslandTidName["TidMiGenericName"] = "tid_mi_generic_name";
590
594
  })(IslandTidName || (exports.IslandTidName = IslandTidName = {}));
595
+ var AnimationPlace;
596
+ (function (AnimationPlace) {
597
+ AnimationPlace["Foreground"] = "Foreground";
598
+ })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
599
+ var SpineAsset;
600
+ (function (SpineAsset) {
601
+ SpineAsset["Empty"] = "";
602
+ SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
603
+ })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
604
+ var Style;
605
+ (function (Style) {
606
+ Style["Transparent"] = "Transparent";
607
+ })(Style || (exports.Style = Style = {}));
591
608
  var AbilityType;
592
609
  (function (AbilityType) {
593
610
  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.10",
3
+ "version": "0.1.12",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",