@dchighs/dc-config 0.0.6 → 0.0.8

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.
@@ -1073,10 +1073,10 @@ export interface MatchReward {
1073
1073
  "album_pack.temp"?: number;
1074
1074
  w_token?: number;
1075
1075
  keys?: number;
1076
+ li_token?: number;
1076
1077
  wd_token?: number;
1077
1078
  el_token?: number;
1078
1079
  m_token?: number;
1079
- li_token?: number;
1080
1080
  "rank_up_coin.common"?: number;
1081
1081
  "rank_up_coin.rare"?: number;
1082
1082
  "rank_up_coin.very_rare"?: number;
@@ -2159,18 +2159,21 @@ export interface MazeIslandReward {
2159
2159
  export interface News {
2160
2160
  "0": The0;
2161
2161
  "1": The1;
2162
- "2": The12;
2162
+ "2": The2;
2163
2163
  "3": The11;
2164
- "4": The11;
2165
- "5": The11;
2166
- "6": The12;
2164
+ "4": The10;
2165
+ "5": The10;
2166
+ "6": The10;
2167
2167
  "7": The11;
2168
2168
  "8": The8;
2169
- "9": The12;
2169
+ "9": The10;
2170
2170
  "10": The10;
2171
2171
  "11": The11;
2172
- "12": The12;
2173
- "13": The13;
2172
+ "12": The10;
2173
+ "13": The10;
2174
+ "14": The11;
2175
+ "15": The15;
2176
+ "16": The11;
2174
2177
  canvas: Canva[];
2175
2178
  }
2176
2179
  export interface The0 {
@@ -2179,19 +2182,24 @@ export interface The0 {
2179
2182
  assets_name: string;
2180
2183
  direct_to_shop: number;
2181
2184
  end_ts: string;
2185
+ hud_button: The0_HudButton;
2182
2186
  id: number;
2183
2187
  min_level: number;
2184
2188
  popup_frequency: string;
2185
- popup_is_critical: boolean;
2186
2189
  popup_type: string;
2187
2190
  show_on_startup: number;
2188
2191
  slides: The0_Slide[];
2189
2192
  start_ts: string;
2190
2193
  }
2194
+ export interface The0_HudButton {
2195
+ file: string;
2196
+ title: string;
2197
+ viral_icon_tier: number;
2198
+ }
2191
2199
  export interface The0_Slide {
2192
- content_localized_key?: string;
2200
+ content_localized_key: string;
2193
2201
  custom_title_localized_key: string;
2194
- header_localized_key?: string;
2202
+ header_localized_key: string;
2195
2203
  image_url: string;
2196
2204
  link: string;
2197
2205
  link_button_key: string;
@@ -2199,24 +2207,23 @@ export interface The0_Slide {
2199
2207
  slide_type_2: string;
2200
2208
  timer?: string;
2201
2209
  times_to_show?: number;
2210
+ link_item_id?: number;
2202
2211
  }
2203
2212
  export interface The1 {
2204
2213
  active_platforms: ValueClass;
2205
2214
  allow_island_tutorial: number;
2206
2215
  assets_name: string;
2216
+ direct_to_shop: number;
2207
2217
  end_ts: string;
2208
- hud_button: The1_HudButton;
2209
2218
  id: number;
2210
2219
  min_level: number;
2220
+ popup_frequency: string;
2221
+ popup_is_critical: boolean;
2211
2222
  popup_type: string;
2212
2223
  show_on_startup: number;
2213
2224
  slides: The0_Slide[];
2214
2225
  start_ts: string;
2215
2226
  }
2216
- export interface The1_HudButton {
2217
- file: string;
2218
- title: string;
2219
- }
2220
2227
  export interface The10 {
2221
2228
  active_platforms: ValueClass;
2222
2229
  allow_island_tutorial: number;
@@ -2232,31 +2239,35 @@ export interface The10 {
2232
2239
  start_ts: string;
2233
2240
  }
2234
2241
  export interface The10_Slide {
2235
- content_localized_key: string;
2242
+ content_localized_key?: string;
2236
2243
  custom_title_localized_key: string;
2237
- forceClose: boolean;
2238
2244
  header_localized_key: string;
2239
2245
  image_url: string;
2240
- multiple_buttons: PurpleMultipleButton[];
2246
+ multiple_buttons: MultipleButton[];
2241
2247
  times_to_show: number;
2242
2248
  type: SlideType;
2249
+ forceClose?: boolean;
2243
2250
  }
2244
- export interface PurpleMultipleButton {
2251
+ export interface MultipleButton {
2245
2252
  animation: AnimationNameEnum;
2246
2253
  animationPlace: AnimationPlace;
2247
2254
  forceClose: boolean;
2248
2255
  glint: boolean;
2249
- key: string;
2256
+ key: Key;
2250
2257
  link: string;
2251
- linkItemId?: number | string;
2252
2258
  normalizedPosition: NormalizedPosition;
2253
2259
  size: Size;
2254
2260
  spineAsset: SpineAsset;
2255
2261
  style: Style;
2262
+ linkItemId?: number | string;
2256
2263
  }
2257
2264
  export declare enum AnimationPlace {
2258
2265
  Foreground = "Foreground"
2259
2266
  }
2267
+ export declare enum Key {
2268
+ Empty = "",
2269
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2270
+ }
2260
2271
  export interface NormalizedPosition {
2261
2272
  x: number;
2262
2273
  y: number;
@@ -2266,9 +2277,11 @@ export interface Size {
2266
2277
  w: number;
2267
2278
  }
2268
2279
  export declare enum SpineAsset {
2280
+ Empty = "",
2269
2281
  PointerAnimationV2 = "pointer_animation_v2"
2270
2282
  }
2271
2283
  export declare enum Style {
2284
+ BlueLarge = "BlueLarge",
2272
2285
  Transparent = "Transparent"
2273
2286
  }
2274
2287
  export declare enum SlideType {
@@ -2280,99 +2293,52 @@ export interface The11 {
2280
2293
  assets_name: string;
2281
2294
  direct_to_shop: number;
2282
2295
  end_ts: string;
2296
+ filter_category: null;
2283
2297
  id: number;
2298
+ label_text_tid: null;
2299
+ label_title_tid: null;
2284
2300
  min_level: number;
2285
- popup_frequency: string;
2286
2301
  popup_type: string;
2302
+ priority: number | null;
2287
2303
  show_on_startup: number;
2288
- slides: The11_Slide[];
2304
+ slides: The10_Slide[];
2289
2305
  start_ts: string;
2290
2306
  }
2291
- export interface The11_Slide {
2292
- content_localized_key?: string;
2293
- custom_title_localized_key: string;
2294
- forceClose?: boolean;
2295
- header_localized_key: string;
2296
- image_url: string;
2297
- multiple_buttons: FluffyMultipleButton[];
2298
- times_to_show: number;
2299
- type: SlideType;
2300
- }
2301
- export interface FluffyMultipleButton {
2302
- animation: AnimationNameEnum;
2303
- animationPlace: AnimationPlace;
2304
- forceClose: boolean;
2305
- glint: boolean;
2306
- key: string;
2307
- link: string;
2308
- linkItemId: number;
2309
- normalizedPosition: NormalizedPosition;
2310
- size: Size;
2311
- spineAsset: SpineAsset;
2312
- style: Style;
2313
- }
2314
- export interface The12 {
2307
+ export interface The15 {
2315
2308
  active_platforms: ValueClass;
2316
2309
  allow_island_tutorial: number;
2317
2310
  assets_name: string;
2318
2311
  direct_to_shop: number;
2319
2312
  end_ts: string;
2320
2313
  filter_category: null;
2314
+ hud_button: The0_HudButton;
2321
2315
  id: number;
2322
2316
  label_text_tid: null;
2323
2317
  label_title_tid: null;
2324
2318
  min_level: number;
2319
+ popup_frequency: string;
2325
2320
  popup_type: string;
2326
- priority: number | null;
2321
+ priority: null;
2327
2322
  show_on_startup: number;
2328
- slides: The11_Slide[];
2323
+ slides: The10_Slide[];
2329
2324
  start_ts: string;
2330
2325
  }
2331
- export interface The13 {
2326
+ export interface The2 {
2332
2327
  active_platforms: ValueClass;
2333
2328
  allow_island_tutorial: number;
2334
2329
  assets_name: string;
2335
- direct_to_shop: number;
2336
2330
  end_ts: string;
2337
- filter_category: null;
2338
- hud_button: The13_HudButton;
2331
+ hud_button: The2_HudButton;
2339
2332
  id: number;
2340
- label_text_tid: null;
2341
- label_title_tid: null;
2342
2333
  min_level: number;
2343
- popup_frequency: string;
2344
2334
  popup_type: string;
2345
- priority: null;
2346
2335
  show_on_startup: number;
2347
- slides: The13_Slide[];
2336
+ slides: The0_Slide[];
2348
2337
  start_ts: string;
2349
2338
  }
2350
- export interface The13_HudButton {
2339
+ export interface The2_HudButton {
2351
2340
  file: string;
2352
2341
  title: string;
2353
- viral_icon_tier: number;
2354
- }
2355
- export interface The13_Slide {
2356
- content_localized_key: string;
2357
- custom_title_localized_key: string;
2358
- forceClose?: boolean;
2359
- header_localized_key: string;
2360
- image_url: string;
2361
- multiple_buttons: TentacledMultipleButton[];
2362
- times_to_show: number;
2363
- type: SlideType;
2364
- }
2365
- export interface TentacledMultipleButton {
2366
- animation: AnimationNameEnum;
2367
- animationPlace: AnimationPlace;
2368
- forceClose: boolean;
2369
- glint: boolean;
2370
- key: string;
2371
- link: string;
2372
- normalizedPosition: NormalizedPosition;
2373
- size: Size;
2374
- spineAsset: string;
2375
- style: string;
2376
2342
  }
2377
2343
  export interface The8 {
2378
2344
  active_platforms: ValueClass;
@@ -2380,12 +2346,17 @@ export interface The8 {
2380
2346
  assets_name: string;
2381
2347
  direct_to_shop: number;
2382
2348
  end_ts: string;
2349
+ filter_category: null;
2350
+ hud_button: The0_HudButton;
2383
2351
  id: number;
2352
+ label_text_tid: null;
2353
+ label_title_tid: null;
2384
2354
  min_level: number;
2385
2355
  popup_frequency: string;
2386
2356
  popup_type: string;
2357
+ priority: null;
2387
2358
  show_on_startup: number;
2388
- slides: The13_Slide[];
2359
+ slides: The0_Slide[];
2389
2360
  start_ts: string;
2390
2361
  }
2391
2362
  export interface Canva {
@@ -2394,7 +2365,7 @@ export interface Canva {
2394
2365
  start_ts: number;
2395
2366
  end_ts: number;
2396
2367
  min_level: number;
2397
- slides: The11_Slide[];
2368
+ slides: The10_Slide[];
2398
2369
  show_on_startup: number;
2399
2370
  }
2400
2371
  export interface Perks {
@@ -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.TidName = 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.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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.FluffySoundTag = exports.ActivityType = exports.PerkType = exports.SlideType = exports.Style = exports.SpineAsset = exports.AnimationPlace = 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 = void 0;
4
+ 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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.FluffySoundTag = exports.ActivityType = exports.PerkType = exports.SlideType = exports.Style = exports.SpineAsset = exports.Key = exports.AnimationPlace = 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 = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -587,12 +587,19 @@ var AnimationPlace;
587
587
  (function (AnimationPlace) {
588
588
  AnimationPlace["Foreground"] = "Foreground";
589
589
  })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
590
+ var Key;
591
+ (function (Key) {
592
+ Key["Empty"] = "";
593
+ Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
594
+ })(Key || (exports.Key = Key = {}));
590
595
  var SpineAsset;
591
596
  (function (SpineAsset) {
597
+ SpineAsset["Empty"] = "";
592
598
  SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
593
599
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
594
600
  var Style;
595
601
  (function (Style) {
602
+ Style["BlueLarge"] = "BlueLarge";
596
603
  Style["Transparent"] = "Transparent";
597
604
  })(Style || (exports.Style = Style = {}));
598
605
  var SlideType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",