@dchighs/dc-config 0.1.17 → 0.1.19

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: ActionElement[];
1184
+ actions: Action[];
1185
1185
  hints: Hint[];
1186
1186
  parameters: FogIslandParameter[];
1187
1187
  }
1188
- export interface ActionElement {
1188
+ export interface Action {
1189
1189
  id: number;
1190
1190
  type: ActionType;
1191
1191
  tid_name: ActionTidName;
@@ -1395,7 +1395,7 @@ export interface GridIsland {
1395
1395
  encounters: Encounter[];
1396
1396
  enemies: GridIslandEnemy[];
1397
1397
  currencies: Currency[];
1398
- actions: ActionElement[];
1398
+ actions: Action[];
1399
1399
  parameters: FogIslandParameter[];
1400
1400
  }
1401
1401
  export interface Decoration {
@@ -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",
@@ -2086,7 +2086,7 @@ export interface MazeIsland {
2086
2086
  encounters: Encounter[];
2087
2087
  enemies: GridIslandEnemy[];
2088
2088
  happy_hours: any[];
2089
- actions: ActionElement[];
2089
+ actions: Action[];
2090
2090
  clouds: Cloud[];
2091
2091
  currencies: Currency[];
2092
2092
  parameters: FogIslandParameter[];
@@ -2185,13 +2185,14 @@ export interface News {
2185
2185
  "4": The13;
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
2193
  "12": The1;
2194
2194
  "13": The13;
2195
+ "14": The1;
2195
2196
  canvas: Canva[];
2196
2197
  }
2197
2198
  export interface The0 {
@@ -2219,9 +2220,9 @@ export interface The0_HudButton {
2219
2220
  viral_icon_tier: number;
2220
2221
  }
2221
2222
  export interface The0_Slide {
2222
- content_localized_key?: string;
2223
+ content_localized_key: string;
2223
2224
  custom_title_localized_key: string;
2224
- header_localized_key?: string;
2225
+ header_localized_key: string;
2225
2226
  image_url: string;
2226
2227
  link: string;
2227
2228
  link_button_key: string;
@@ -2246,28 +2247,23 @@ export interface The1 {
2246
2247
  start_ts: string;
2247
2248
  }
2248
2249
  export interface The1_Slide {
2249
- content_localized_key: FluffyContentLocalizedKey;
2250
+ content_localized_key?: string;
2250
2251
  custom_title_localized_key: string;
2251
2252
  forceClose?: boolean;
2252
2253
  header_localized_key: string;
2253
2254
  image_url: string;
2254
- multiple_buttons: PurpleMultipleButton[];
2255
+ multiple_buttons: MultipleButton[];
2255
2256
  times_to_show: number;
2256
2257
  type: SlideType;
2257
2258
  }
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 {
2259
+ export interface MultipleButton {
2264
2260
  animation: AnimationNameEnum;
2265
2261
  animationPlace: AnimationPlace;
2266
2262
  forceClose: boolean;
2267
2263
  glint: boolean;
2268
2264
  key: Key;
2269
2265
  link: string;
2270
- linkItemId: number;
2266
+ linkItemId?: number | string;
2271
2267
  normalizedPosition: NormalizedPosition;
2272
2268
  size: Size;
2273
2269
  spineAsset: SpineAsset;
@@ -2290,52 +2286,17 @@ export interface Size {
2290
2286
  w: number;
2291
2287
  }
2292
2288
  export declare enum SpineAsset {
2289
+ Empty = "",
2293
2290
  PointerAnimationV2 = "pointer_animation_v2"
2294
2291
  }
2295
2292
  export declare enum Style {
2296
2293
  Blue = "Blue",
2294
+ Empty = "",
2297
2295
  Transparent = "Transparent"
2298
2296
  }
2299
2297
  export declare enum SlideType {
2300
2298
  FullImage = "FullImage"
2301
2299
  }
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
2300
  export interface The13 {
2340
2301
  active_platforms: ValueClass;
2341
2302
  allow_island_tutorial: number;
@@ -2372,7 +2333,7 @@ export interface The2_Slide {
2372
2333
  custom_title_localized_key: string;
2373
2334
  header_localized_key: string;
2374
2335
  image_url: string;
2375
- multiple_buttons: FluffyMultipleButton[];
2336
+ multiple_buttons: MultipleButton[];
2376
2337
  times_to_show: number;
2377
2338
  type: SlideType;
2378
2339
  }
@@ -2392,25 +2353,11 @@ export interface The5 {
2392
2353
  start_ts: string;
2393
2354
  }
2394
2355
  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
2356
  active_platforms: ValueClass;
2410
2357
  allow_island_tutorial: number;
2411
2358
  assets_name: string;
2412
2359
  end_ts: string;
2413
- hud_button: The7_HudButton;
2360
+ hud_button: The6_HudButton;
2414
2361
  id: number;
2415
2362
  min_level: number;
2416
2363
  popup_type: string;
@@ -2418,54 +2365,18 @@ export interface The7 {
2418
2365
  slides: The0_Slide[];
2419
2366
  start_ts: string;
2420
2367
  }
2421
- export interface The7_HudButton {
2368
+ export interface The6_HudButton {
2422
2369
  file: string;
2423
2370
  title: string;
2424
2371
  }
2425
2372
  export interface Canva {
2426
2373
  id: number;
2427
2374
  assets_name: string;
2428
- start_ts: number | string;
2429
- end_ts: number | string;
2430
- min_level?: number;
2431
- slides: CanvaSlide[];
2432
- show_on_startup?: number;
2433
- priority?: string;
2434
- }
2435
- export interface CanvaSlide {
2436
- custom_title_localized_key?: string;
2437
- header_localized_key?: string;
2438
- image_url?: string;
2439
- times_to_show?: number;
2440
- type?: SlideType;
2441
- multiple_buttons?: PurpleMultipleButton[];
2442
- bg?: string;
2443
- content?: Content[];
2444
- edit_mode?: number;
2445
- id?: number;
2446
- title_key?: string;
2447
- viral_icon_key?: string;
2448
- viral_icon_timer?: string;
2449
- }
2450
- export interface Content {
2451
- height: number;
2452
- rotation: number;
2453
- stroke?: string;
2454
- text_color?: string;
2455
- text_key: string;
2456
- text_size?: number;
2457
- timer?: number;
2458
- type: string;
2459
- width: number;
2460
- x: number;
2461
- y: number;
2462
- action?: ContentAction;
2463
- style?: string;
2464
- }
2465
- export interface ContentAction {
2466
- itemId: string;
2467
- storeCategory: number;
2468
- type: string;
2375
+ start_ts: number;
2376
+ end_ts: number;
2377
+ min_level: number;
2378
+ slides: The1_Slide[];
2379
+ show_on_startup: number;
2469
2380
  }
2470
2381
  export interface Perks {
2471
2382
  abilities: Ability[];
@@ -3193,7 +3104,7 @@ export interface TowerIsland {
3193
3104
  happy_hours: HappyHour[];
3194
3105
  parameters: FogIslandParameter[];
3195
3106
  currencies: Currency[];
3196
- actions: ActionElement[];
3107
+ actions: Action[];
3197
3108
  }
3198
3109
  export interface Floor {
3199
3110
  id: 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.19",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",