@dchighs/dc-config 0.1.11 → 0.1.13

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.
@@ -2171,17 +2171,13 @@ export interface MazeIslandReward {
2171
2171
  export interface News {
2172
2172
  "0": The0;
2173
2173
  "1": The1;
2174
- "2": The10;
2174
+ "2": The2;
2175
2175
  "3": The3;
2176
2176
  "4": The4;
2177
- "5": The12;
2178
- "6": The6;
2179
- "7": The0;
2180
- "8": The10;
2181
- "9": The9;
2182
- "10": The10;
2183
- "11": The0;
2184
- "12": The12;
2177
+ "5": The3;
2178
+ "6": The3;
2179
+ "7": The1;
2180
+ "8": The3;
2185
2181
  canvas: Canva[];
2186
2182
  }
2187
2183
  export interface The0 {
@@ -2199,31 +2195,34 @@ export interface The0 {
2199
2195
  start_ts: string;
2200
2196
  }
2201
2197
  export interface The0_Slide {
2198
+ content_localized_key: string;
2202
2199
  custom_title_localized_key: string;
2203
- forceClose: boolean;
2204
2200
  header_localized_key: string;
2205
2201
  image_url: string;
2202
+ multiple_buttons: MultipleButton[];
2206
2203
  times_to_show: number;
2207
2204
  type: string;
2208
- content_localized_key?: string;
2209
- multiple_buttons?: PurpleMultipleButton[];
2210
2205
  }
2211
- export interface PurpleMultipleButton {
2206
+ export interface MultipleButton {
2212
2207
  animation: AnimationNameEnum;
2213
2208
  animationPlace: AnimationPlace;
2214
2209
  forceClose: boolean;
2215
2210
  glint: boolean;
2216
- key: string;
2211
+ key: Key;
2217
2212
  link: string;
2218
- linkItemId?: number | string;
2219
2213
  normalizedPosition: NormalizedPosition;
2220
2214
  size: Size;
2221
2215
  spineAsset: SpineAsset;
2222
- style: string;
2216
+ style: Style;
2217
+ linkItemId?: number | string;
2223
2218
  }
2224
2219
  export declare enum AnimationPlace {
2225
2220
  Foreground = "Foreground"
2226
2221
  }
2222
+ export declare enum Key {
2223
+ Empty = "",
2224
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2225
+ }
2227
2226
  export interface NormalizedPosition {
2228
2227
  x: number;
2229
2228
  y: number;
@@ -2236,6 +2235,10 @@ export declare enum SpineAsset {
2236
2235
  Empty = "",
2237
2236
  PointerAnimationV2 = "pointer_animation_v2"
2238
2237
  }
2238
+ export declare enum Style {
2239
+ BlueLarge = "BlueLarge",
2240
+ Transparent = "Transparent"
2241
+ }
2239
2242
  export interface The1 {
2240
2243
  active_platforms: ValueClass;
2241
2244
  allow_island_tutorial: number;
@@ -2243,94 +2246,27 @@ export interface The1 {
2243
2246
  direct_to_shop: number;
2244
2247
  end_ts: string;
2245
2248
  filter_category: null;
2246
- hud_button: The1_HudButton;
2247
2249
  id: number;
2248
2250
  label_text_tid: null;
2249
2251
  label_title_tid: null;
2250
2252
  min_level: number;
2251
- popup_frequency: string;
2252
2253
  popup_type: string;
2253
2254
  priority: null;
2254
2255
  show_on_startup: number;
2255
2256
  slides: The1_Slide[];
2256
2257
  start_ts: string;
2257
2258
  }
2258
- export interface The1_HudButton {
2259
- file: string;
2260
- title: string;
2261
- viral_icon_tier: number;
2262
- }
2263
2259
  export interface The1_Slide {
2264
- content_localized_key?: string;
2265
- custom_title_localized_key: string;
2266
- header_localized_key?: string;
2267
- image_url: string;
2268
- link: string;
2269
- link_button_key: string;
2270
- link_item_id?: number;
2271
- slide_type: string;
2272
- slide_type_2: string;
2273
- timer?: string;
2274
- times_to_show?: number;
2275
- }
2276
- export interface The10 {
2277
- active_platforms: ValueClass;
2278
- allow_island_tutorial: number;
2279
- assets_name: string;
2280
- direct_to_shop: number;
2281
- end_ts: string;
2282
- id: number;
2283
- min_level: number;
2284
- popup_frequency: string;
2285
- popup_type: string;
2286
- show_on_startup: number;
2287
- slides: The10_Slide[];
2288
- start_ts: string;
2289
- }
2290
- export interface The10_Slide {
2291
2260
  content_localized_key: string;
2292
2261
  custom_title_localized_key: string;
2293
2262
  header_localized_key: string;
2294
2263
  image_url: string;
2295
- multiple_buttons: FluffyMultipleButton[];
2264
+ multiple_buttons: MultipleButton[];
2296
2265
  times_to_show: number;
2297
2266
  type: string;
2298
2267
  forceClose?: boolean;
2299
2268
  }
2300
- export interface FluffyMultipleButton {
2301
- animation: AnimationNameEnum;
2302
- animationPlace: AnimationPlace;
2303
- forceClose: boolean;
2304
- glint: boolean;
2305
- key: string;
2306
- link: string;
2307
- linkItemId: number;
2308
- normalizedPosition: NormalizedPosition;
2309
- size: Size;
2310
- spineAsset: SpineAsset;
2311
- style: Style;
2312
- }
2313
- export declare enum Style {
2314
- Transparent = "Transparent"
2315
- }
2316
- export interface The12 {
2317
- active_platforms: ValueClass;
2318
- allow_island_tutorial: number;
2319
- assets_name: string;
2320
- direct_to_shop: number;
2321
- end_ts: string;
2322
- filter_category: null;
2323
- id: number;
2324
- label_text_tid: null;
2325
- label_title_tid: null;
2326
- min_level: number;
2327
- popup_type: string;
2328
- priority: null;
2329
- show_on_startup: number;
2330
- slides: The10_Slide[];
2331
- start_ts: string;
2332
- }
2333
- export interface The3 {
2269
+ export interface The2 {
2334
2270
  active_platforms: ValueClass;
2335
2271
  allow_island_tutorial: number;
2336
2272
  assets_name: string;
@@ -2339,36 +2275,25 @@ export interface The3 {
2339
2275
  id: number;
2340
2276
  min_level: number;
2341
2277
  popup_frequency: string;
2278
+ popup_is_critical: boolean;
2342
2279
  popup_type: string;
2343
2280
  show_on_startup: number;
2344
- slides: The3_Slide[];
2281
+ slides: The2_Slide[];
2345
2282
  start_ts: string;
2346
2283
  }
2347
- export interface The3_Slide {
2348
- content_localized_key: string;
2284
+ export interface The2_Slide {
2285
+ content_localized_key?: string;
2349
2286
  custom_title_localized_key: string;
2350
- header_localized_key: string;
2287
+ header_localized_key?: string;
2351
2288
  image_url: string;
2352
- multiple_buttons: PurpleMultipleButton[];
2353
- times_to_show: number;
2354
- type: string;
2355
- }
2356
- export interface The4 {
2357
- active_platforms: ValueClass;
2358
- allow_island_tutorial: number;
2359
- assets_name: string;
2360
- direct_to_shop: number;
2361
- end_ts: string;
2362
- hud_button: The1_HudButton;
2363
- id: number;
2364
- min_level: number;
2365
- popup_frequency: string;
2366
- popup_type: string;
2367
- show_on_startup: number;
2368
- slides: The1_Slide[];
2369
- start_ts: string;
2289
+ link: string;
2290
+ link_button_key: string;
2291
+ slide_type: string;
2292
+ slide_type_2: string;
2293
+ timer?: string;
2294
+ times_to_show?: number;
2370
2295
  }
2371
- export interface The6 {
2296
+ export interface The3 {
2372
2297
  active_platforms: ValueClass;
2373
2298
  allow_island_tutorial: number;
2374
2299
  assets_name: string;
@@ -2377,26 +2302,25 @@ export interface The6 {
2377
2302
  id: number;
2378
2303
  min_level: number;
2379
2304
  popup_frequency: string;
2380
- popup_is_critical: boolean;
2381
2305
  popup_type: string;
2382
2306
  show_on_startup: number;
2383
2307
  slides: The1_Slide[];
2384
2308
  start_ts: string;
2385
2309
  }
2386
- export interface The9 {
2310
+ export interface The4 {
2387
2311
  active_platforms: ValueClass;
2388
2312
  allow_island_tutorial: number;
2389
2313
  assets_name: string;
2390
2314
  end_ts: string;
2391
- hud_button: The9_HudButton;
2315
+ hud_button: HudButton;
2392
2316
  id: number;
2393
2317
  min_level: number;
2394
2318
  popup_type: string;
2395
2319
  show_on_startup: number;
2396
- slides: The1_Slide[];
2320
+ slides: The2_Slide[];
2397
2321
  start_ts: string;
2398
2322
  }
2399
- export interface The9_HudButton {
2323
+ export interface HudButton {
2400
2324
  file: string;
2401
2325
  title: string;
2402
2326
  }
@@ -2415,7 +2339,7 @@ export interface CanvaSlide {
2415
2339
  image_url?: string;
2416
2340
  times_to_show?: number;
2417
2341
  type?: string;
2418
- multiple_buttons?: FluffyMultipleButton[];
2342
+ multiple_buttons?: MultipleButton[];
2419
2343
  bg?: string;
2420
2344
  content?: Content[];
2421
2345
  edit_mode?: number;
@@ -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.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;
4
+ 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.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 = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -596,6 +596,11 @@ 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 = {}));
599
604
  var SpineAsset;
600
605
  (function (SpineAsset) {
601
606
  SpineAsset["Empty"] = "";
@@ -603,6 +608,7 @@ var SpineAsset;
603
608
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
604
609
  var Style;
605
610
  (function (Style) {
611
+ Style["BlueLarge"] = "BlueLarge";
606
612
  Style["Transparent"] = "Transparent";
607
613
  })(Style || (exports.Style = Style = {}));
608
614
  var AbilityType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",