@dchighs/dc-config 0.1.17 → 0.1.18

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.
@@ -1520,7 +1520,7 @@ export declare enum PopupType {
1520
1520
  }
1521
1521
  export interface HelpViewSlide {
1522
1522
  header_localized_key?: string;
1523
- content_localized_key?: PurpleContentLocalizedKey;
1523
+ content_localized_key?: ContentLocalizedKey;
1524
1524
  image_url?: string;
1525
1525
  custom_title_localized_key?: string;
1526
1526
  slide_type: string;
@@ -1532,7 +1532,7 @@ export interface HelpViewSlide {
1532
1532
  export declare enum AnimationNameEnum {
1533
1533
  Anim1 = "anim1"
1534
1534
  }
1535
- export declare enum PurpleContentLocalizedKey {
1535
+ export declare enum ContentLocalizedKey {
1536
1536
  Empty = "",
1537
1537
  TidDBCollectionsHelpScreen1 = "tid_db_collections_help_screen_1",
1538
1538
  TidDBCollectionsHelpScreen2 = "tid_db_collections_help_screen_2",
@@ -2181,17 +2181,16 @@ export interface News {
2181
2181
  "0": The0;
2182
2182
  "1": The1;
2183
2183
  "2": The2;
2184
- "3": The13;
2185
- "4": The13;
2184
+ "3": The12;
2185
+ "4": The12;
2186
2186
  "5": The5;
2187
2187
  "6": The6;
2188
- "7": The7;
2188
+ "7": The1;
2189
2189
  "8": The1;
2190
- "9": The10;
2191
- "10": The10;
2190
+ "9": The1;
2191
+ "10": The1;
2192
2192
  "11": The1;
2193
- "12": The1;
2194
- "13": The13;
2193
+ "12": The12;
2195
2194
  canvas: Canva[];
2196
2195
  }
2197
2196
  export interface The0 {
@@ -2219,9 +2218,9 @@ export interface The0_HudButton {
2219
2218
  viral_icon_tier: number;
2220
2219
  }
2221
2220
  export interface The0_Slide {
2222
- content_localized_key?: string;
2221
+ content_localized_key: string;
2223
2222
  custom_title_localized_key: string;
2224
- header_localized_key?: string;
2223
+ header_localized_key: string;
2225
2224
  image_url: string;
2226
2225
  link: string;
2227
2226
  link_button_key: string;
@@ -2246,28 +2245,23 @@ export interface The1 {
2246
2245
  start_ts: string;
2247
2246
  }
2248
2247
  export interface The1_Slide {
2249
- content_localized_key: FluffyContentLocalizedKey;
2248
+ content_localized_key: string;
2250
2249
  custom_title_localized_key: string;
2251
2250
  forceClose?: boolean;
2252
2251
  header_localized_key: string;
2253
2252
  image_url: string;
2254
- multiple_buttons: PurpleMultipleButton[];
2253
+ multiple_buttons: MultipleButton[];
2255
2254
  times_to_show: number;
2256
2255
  type: SlideType;
2257
2256
  }
2258
- export declare enum FluffyContentLocalizedKey {
2259
- Empty = "",
2260
- TidNewsEasterraceDesc = "tid_news_easterrace_desc",
2261
- TidNewsMdsEventDesc = "tid_news_mds_event_desc"
2262
- }
2263
- export interface PurpleMultipleButton {
2257
+ export interface MultipleButton {
2264
2258
  animation: AnimationNameEnum;
2265
2259
  animationPlace: AnimationPlace;
2266
2260
  forceClose: boolean;
2267
2261
  glint: boolean;
2268
2262
  key: Key;
2269
2263
  link: string;
2270
- linkItemId: number;
2264
+ linkItemId?: number | string;
2271
2265
  normalizedPosition: NormalizedPosition;
2272
2266
  size: Size;
2273
2267
  spineAsset: SpineAsset;
@@ -2290,53 +2284,18 @@ export interface Size {
2290
2284
  w: number;
2291
2285
  }
2292
2286
  export declare enum SpineAsset {
2287
+ Empty = "",
2293
2288
  PointerAnimationV2 = "pointer_animation_v2"
2294
2289
  }
2295
2290
  export declare enum Style {
2296
2291
  Blue = "Blue",
2292
+ Empty = "",
2297
2293
  Transparent = "Transparent"
2298
2294
  }
2299
2295
  export declare enum SlideType {
2300
2296
  FullImage = "FullImage"
2301
2297
  }
2302
- export interface The10 {
2303
- active_platforms: ValueClass;
2304
- allow_island_tutorial: number;
2305
- assets_name: string;
2306
- direct_to_shop: number;
2307
- end_ts: string;
2308
- id: number;
2309
- min_level: number;
2310
- popup_frequency: string;
2311
- popup_type: string;
2312
- show_on_startup: number;
2313
- slides: The10_Slide[];
2314
- start_ts: string;
2315
- }
2316
- export interface The10_Slide {
2317
- content_localized_key: string;
2318
- custom_title_localized_key: string;
2319
- forceClose: boolean;
2320
- header_localized_key: string;
2321
- image_url: string;
2322
- multiple_buttons: FluffyMultipleButton[];
2323
- times_to_show: number;
2324
- type: SlideType;
2325
- }
2326
- export interface FluffyMultipleButton {
2327
- animation: AnimationNameEnum;
2328
- animationPlace: AnimationPlace;
2329
- forceClose: boolean;
2330
- glint: boolean;
2331
- key: string;
2332
- link: string;
2333
- linkItemId?: number | string;
2334
- normalizedPosition: NormalizedPosition;
2335
- size: Size;
2336
- spineAsset: string;
2337
- style: string;
2338
- }
2339
- export interface The13 {
2298
+ export interface The12 {
2340
2299
  active_platforms: ValueClass;
2341
2300
  allow_island_tutorial: number;
2342
2301
  assets_name: string;
@@ -2372,7 +2331,7 @@ export interface The2_Slide {
2372
2331
  custom_title_localized_key: string;
2373
2332
  header_localized_key: string;
2374
2333
  image_url: string;
2375
- multiple_buttons: FluffyMultipleButton[];
2334
+ multiple_buttons: MultipleButton[];
2376
2335
  times_to_show: number;
2377
2336
  type: SlideType;
2378
2337
  }
@@ -2392,25 +2351,11 @@ export interface The5 {
2392
2351
  start_ts: string;
2393
2352
  }
2394
2353
  export interface The6 {
2395
- active_platforms: ValueClass;
2396
- allow_island_tutorial: number;
2397
- assets_name: string;
2398
- direct_to_shop: number;
2399
- end_ts: string;
2400
- hud_button: The0_HudButton;
2401
- id: number;
2402
- min_level: number;
2403
- popup_type: string;
2404
- show_on_startup: number;
2405
- slides: The0_Slide[];
2406
- start_ts: string;
2407
- }
2408
- export interface The7 {
2409
2354
  active_platforms: ValueClass;
2410
2355
  allow_island_tutorial: number;
2411
2356
  assets_name: string;
2412
2357
  end_ts: string;
2413
- hud_button: The7_HudButton;
2358
+ hud_button: The6_HudButton;
2414
2359
  id: number;
2415
2360
  min_level: number;
2416
2361
  popup_type: string;
@@ -2418,7 +2363,7 @@ export interface The7 {
2418
2363
  slides: The0_Slide[];
2419
2364
  start_ts: string;
2420
2365
  }
2421
- export interface The7_HudButton {
2366
+ export interface The6_HudButton {
2422
2367
  file: string;
2423
2368
  title: string;
2424
2369
  }
@@ -2430,7 +2375,6 @@ export interface Canva {
2430
2375
  min_level?: number;
2431
2376
  slides: CanvaSlide[];
2432
2377
  show_on_startup?: number;
2433
- priority?: string;
2434
2378
  }
2435
2379
  export interface CanvaSlide {
2436
2380
  custom_title_localized_key?: string;
@@ -2438,7 +2382,7 @@ export interface CanvaSlide {
2438
2382
  image_url?: string;
2439
2383
  times_to_show?: number;
2440
2384
  type?: SlideType;
2441
- multiple_buttons?: PurpleMultipleButton[];
2385
+ multiple_buttons?: MultipleButton[];
2442
2386
  bg?: string;
2443
2387
  content?: Content[];
2444
2388
  edit_mode?: number;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ViewTypeEnum = exports.CurrencyTidName = 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.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.FluffyContentLocalizedKey = 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.PurpleContentLocalizedKey = exports.AnimationNameEnum = exports.PopupType = exports.WallSuffix = exports.Wall = exports.CanvasBackground = exports.FightBackgroundID = exports.File = void 0;
5
- exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = exports.VfxTextEffectname = exports.Vfx = exports.TidDamageMultiplier = 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.FightBackgroundID = exports.File = 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;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -445,14 +445,14 @@ var AnimationNameEnum;
445
445
  (function (AnimationNameEnum) {
446
446
  AnimationNameEnum["Anim1"] = "anim1";
447
447
  })(AnimationNameEnum || (exports.AnimationNameEnum = AnimationNameEnum = {}));
448
- var PurpleContentLocalizedKey;
449
- (function (PurpleContentLocalizedKey) {
450
- PurpleContentLocalizedKey["Empty"] = "";
451
- PurpleContentLocalizedKey["TidDBCollectionsHelpScreen1"] = "tid_db_collections_help_screen_1";
452
- PurpleContentLocalizedKey["TidDBCollectionsHelpScreen2"] = "tid_db_collections_help_screen_2";
453
- PurpleContentLocalizedKey["TidDBMasteryHelpScreen1"] = "tid_db_mastery_help_screen_1";
454
- PurpleContentLocalizedKey["TidPiggyBankBestDealMessage"] = "tid_piggy_bank_best_deal_message";
455
- })(PurpleContentLocalizedKey || (exports.PurpleContentLocalizedKey = PurpleContentLocalizedKey = {}));
448
+ var ContentLocalizedKey;
449
+ (function (ContentLocalizedKey) {
450
+ ContentLocalizedKey["Empty"] = "";
451
+ ContentLocalizedKey["TidDBCollectionsHelpScreen1"] = "tid_db_collections_help_screen_1";
452
+ ContentLocalizedKey["TidDBCollectionsHelpScreen2"] = "tid_db_collections_help_screen_2";
453
+ ContentLocalizedKey["TidDBMasteryHelpScreen1"] = "tid_db_mastery_help_screen_1";
454
+ ContentLocalizedKey["TidPiggyBankBestDealMessage"] = "tid_piggy_bank_best_deal_message";
455
+ })(ContentLocalizedKey || (exports.ContentLocalizedKey = ContentLocalizedKey = {}));
456
456
  var IslandTitleTid;
457
457
  (function (IslandTitleTid) {
458
458
  IslandTitleTid["TidHeroicRaceTitle"] = "tid_heroic_race_title";
@@ -596,12 +596,6 @@ var IslandTidName;
596
596
  (function (IslandTidName) {
597
597
  IslandTidName["TidMiGenericName"] = "tid_mi_generic_name";
598
598
  })(IslandTidName || (exports.IslandTidName = IslandTidName = {}));
599
- var FluffyContentLocalizedKey;
600
- (function (FluffyContentLocalizedKey) {
601
- FluffyContentLocalizedKey["Empty"] = "";
602
- FluffyContentLocalizedKey["TidNewsEasterraceDesc"] = "tid_news_easterrace_desc";
603
- FluffyContentLocalizedKey["TidNewsMdsEventDesc"] = "tid_news_mds_event_desc";
604
- })(FluffyContentLocalizedKey || (exports.FluffyContentLocalizedKey = FluffyContentLocalizedKey = {}));
605
599
  var AnimationPlace;
606
600
  (function (AnimationPlace) {
607
601
  AnimationPlace["Foreground"] = "Foreground";
@@ -614,11 +608,13 @@ var Key;
614
608
  })(Key || (exports.Key = Key = {}));
615
609
  var SpineAsset;
616
610
  (function (SpineAsset) {
611
+ SpineAsset["Empty"] = "";
617
612
  SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
618
613
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
619
614
  var Style;
620
615
  (function (Style) {
621
616
  Style["Blue"] = "Blue";
617
+ Style["Empty"] = "";
622
618
  Style["Transparent"] = "Transparent";
623
619
  })(Style || (exports.Style = Style = {}));
624
620
  var SlideType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",