@dchighs/dc-config 0.1.5 → 0.1.7

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.
@@ -2169,25 +2169,22 @@ export interface MazeIslandReward {
2169
2169
  export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
- "2": The12;
2173
- "3": The12;
2174
- "4": The1;
2172
+ "2": The11;
2173
+ "3": The1;
2174
+ "4": The11;
2175
2175
  "5": The5;
2176
- "6": The12;
2177
- "7": The12;
2178
- "8": The1;
2179
- "9": The12;
2176
+ "6": The11;
2177
+ "7": The1;
2178
+ "8": The8;
2179
+ "9": The11;
2180
2180
  "10": The1;
2181
2181
  "11": The11;
2182
- "12": The12;
2182
+ "12": The1;
2183
2183
  "13": The1;
2184
- "14": The1;
2184
+ "14": The14;
2185
2185
  "15": The15;
2186
- "16": The12;
2187
- "17": The17;
2188
- "18": The12;
2189
- "19": The12;
2190
- "20": The12;
2186
+ "16": The11;
2187
+ "17": The11;
2191
2188
  canvas: Canva[];
2192
2189
  }
2193
2190
  export interface The0 {
@@ -2218,7 +2215,6 @@ export interface The0_Slide {
2218
2215
  times_to_show?: number;
2219
2216
  content_localized_key?: string;
2220
2217
  header_localized_key?: string;
2221
- link_item_id?: number;
2222
2218
  }
2223
2219
  export interface The1 {
2224
2220
  active_platforms: ValueClass;
@@ -2242,19 +2238,19 @@ export interface The1_Slide {
2242
2238
  custom_title_localized_key: string;
2243
2239
  header_localized_key: string;
2244
2240
  image_url: string;
2245
- multiple_buttons?: MultipleButton[];
2241
+ multiple_buttons: PurpleMultipleButton[];
2246
2242
  times_to_show: number;
2247
2243
  type: SlideType;
2248
2244
  forceClose?: boolean;
2249
2245
  }
2250
- export interface MultipleButton {
2246
+ export interface PurpleMultipleButton {
2251
2247
  animation: AnimationNameEnum;
2252
2248
  animationPlace: AnimationPlace;
2253
2249
  forceClose: boolean;
2254
2250
  glint: boolean;
2255
- key: Key;
2251
+ key: string;
2256
2252
  link: string;
2257
- linkItemId?: number | string;
2253
+ linkItemId: number;
2258
2254
  normalizedPosition: NormalizedPosition;
2259
2255
  size: Size;
2260
2256
  spineAsset: SpineAsset;
@@ -2263,10 +2259,6 @@ export interface MultipleButton {
2263
2259
  export declare enum AnimationPlace {
2264
2260
  Foreground = "Foreground"
2265
2261
  }
2266
- export declare enum Key {
2267
- Empty = "",
2268
- TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2269
- }
2270
2262
  export interface NormalizedPosition {
2271
2263
  x: number;
2272
2264
  y: number;
@@ -2292,25 +2284,15 @@ export interface The11 {
2292
2284
  assets_name: string;
2293
2285
  direct_to_shop: number;
2294
2286
  end_ts: string;
2295
- filter_category: null;
2296
- hud_button: The11_HudButton;
2297
2287
  id: number;
2298
- label_text_tid: null;
2299
- label_title_tid: null;
2300
2288
  min_level: number;
2301
2289
  popup_frequency: string;
2302
2290
  popup_type: string;
2303
- priority: null;
2304
2291
  show_on_startup: number;
2305
2292
  slides: The1_Slide[];
2306
2293
  start_ts: string;
2307
2294
  }
2308
- export interface The11_HudButton {
2309
- file: string;
2310
- title: string;
2311
- viral_icon_tier: number;
2312
- }
2313
- export interface The12 {
2295
+ export interface The14 {
2314
2296
  active_platforms: ValueClass;
2315
2297
  allow_island_tutorial: number;
2316
2298
  assets_name: string;
@@ -2319,9 +2301,10 @@ export interface The12 {
2319
2301
  id: number;
2320
2302
  min_level: number;
2321
2303
  popup_frequency: string;
2304
+ popup_is_critical: boolean;
2322
2305
  popup_type: string;
2323
2306
  show_on_startup: number;
2324
- slides: The1_Slide[];
2307
+ slides: The0_Slide[];
2325
2308
  start_ts: string;
2326
2309
  }
2327
2310
  export interface The15 {
@@ -2333,37 +2316,82 @@ export interface The15 {
2333
2316
  id: number;
2334
2317
  min_level: number;
2335
2318
  popup_frequency: string;
2336
- popup_is_critical: boolean;
2337
2319
  popup_type: string;
2338
2320
  show_on_startup: number;
2339
- slides: The0_Slide[];
2321
+ slides: The15_Slide[];
2340
2322
  start_ts: string;
2341
2323
  }
2342
- export interface The17 {
2324
+ export interface The15_Slide {
2325
+ content_localized_key: string;
2326
+ custom_title_localized_key: string;
2327
+ forceClose: boolean;
2328
+ header_localized_key: string;
2329
+ image_url: string;
2330
+ multiple_buttons: FluffyMultipleButton[];
2331
+ times_to_show: number;
2332
+ type: SlideType;
2333
+ }
2334
+ export interface FluffyMultipleButton {
2335
+ animation: AnimationNameEnum;
2336
+ animationPlace: AnimationPlace;
2337
+ forceClose: boolean;
2338
+ glint: boolean;
2339
+ key: Key;
2340
+ link: string;
2341
+ linkItemId?: number | string;
2342
+ normalizedPosition: NormalizedPosition;
2343
+ size: Size;
2344
+ spineAsset: SpineAsset;
2345
+ style: Style;
2346
+ }
2347
+ export declare enum Key {
2348
+ Empty = "",
2349
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2350
+ }
2351
+ export interface The5 {
2343
2352
  active_platforms: ValueClass;
2344
2353
  allow_island_tutorial: number;
2345
2354
  assets_name: string;
2346
2355
  direct_to_shop: number;
2347
2356
  end_ts: string;
2348
- filter_category: null;
2349
2357
  id: number;
2350
- label_text_tid: null;
2351
- label_title_tid: null;
2352
2358
  min_level: number;
2359
+ popup_frequency: string;
2353
2360
  popup_type: string;
2354
- priority: null;
2355
2361
  show_on_startup: number;
2356
- slides: The1_Slide[];
2362
+ slides: The5_Slide[];
2357
2363
  start_ts: string;
2358
2364
  }
2359
- export interface The5 {
2365
+ export interface The5_Slide {
2366
+ content_localized_key: string;
2367
+ custom_title_localized_key: string;
2368
+ header_localized_key: string;
2369
+ image_url: string;
2370
+ multiple_buttons: TentacledMultipleButton[];
2371
+ times_to_show: number;
2372
+ type: SlideType;
2373
+ forceClose?: boolean;
2374
+ }
2375
+ export interface TentacledMultipleButton {
2376
+ animation: AnimationNameEnum;
2377
+ animationPlace: AnimationPlace;
2378
+ forceClose: boolean;
2379
+ glint: boolean;
2380
+ key: Key;
2381
+ link: string;
2382
+ normalizedPosition: NormalizedPosition;
2383
+ size: Size;
2384
+ spineAsset: SpineAsset;
2385
+ style: Style;
2386
+ }
2387
+ export interface The8 {
2360
2388
  active_platforms: ValueClass;
2361
2389
  allow_island_tutorial: number;
2362
2390
  assets_name: string;
2363
2391
  direct_to_shop: number;
2364
2392
  end_ts: string;
2365
2393
  filter_category: null;
2366
- hud_button: The11_HudButton;
2394
+ hud_button: The8_HudButton;
2367
2395
  id: number;
2368
2396
  label_text_tid: null;
2369
2397
  label_title_tid: null;
@@ -2372,9 +2400,14 @@ export interface The5 {
2372
2400
  popup_type: string;
2373
2401
  priority: null;
2374
2402
  show_on_startup: number;
2375
- slides: The0_Slide[];
2403
+ slides: The5_Slide[];
2376
2404
  start_ts: string;
2377
2405
  }
2406
+ export interface The8_HudButton {
2407
+ file: string;
2408
+ title: string;
2409
+ viral_icon_tier: number;
2410
+ }
2378
2411
  export interface Canva {
2379
2412
  id: number;
2380
2413
  assets_name: string;
@@ -1,7 +1,7 @@
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.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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = 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;
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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.Key = exports.SlideType = 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
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) {
@@ -596,11 +596,6 @@ var AnimationPlace;
596
596
  (function (AnimationPlace) {
597
597
  AnimationPlace["Foreground"] = "Foreground";
598
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
599
  var SpineAsset;
605
600
  (function (SpineAsset) {
606
601
  SpineAsset["Empty"] = "";
@@ -615,6 +610,11 @@ var SlideType;
615
610
  (function (SlideType) {
616
611
  SlideType["FullImage"] = "FullImage";
617
612
  })(SlideType || (exports.SlideType = SlideType = {}));
613
+ var Key;
614
+ (function (Key) {
615
+ Key["Empty"] = "";
616
+ Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
617
+ })(Key || (exports.Key = Key = {}));
618
618
  var PerkType;
619
619
  (function (PerkType) {
620
620
  PerkType["Character"] = "character";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",