@dchighs/dc-config 0.1.19 → 0.1.21

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.
@@ -2180,19 +2180,17 @@ export interface MazeIslandReward {
2180
2180
  export interface News {
2181
2181
  "0": The0;
2182
2182
  "1": The1;
2183
- "2": The2;
2184
- "3": The13;
2185
- "4": The13;
2183
+ "2": The1;
2184
+ "3": The3;
2185
+ "4": The4;
2186
2186
  "5": The5;
2187
- "6": The6;
2188
- "7": The1;
2189
- "8": The1;
2190
- "9": The1;
2187
+ "6": The5;
2188
+ "7": The0;
2189
+ "8": The0;
2190
+ "9": The0;
2191
2191
  "10": The1;
2192
- "11": The1;
2193
- "12": The1;
2194
- "13": The13;
2195
- "14": The1;
2192
+ "11": The0;
2193
+ "12": The0;
2196
2194
  canvas: Canva[];
2197
2195
  }
2198
2196
  export interface The0 {
@@ -2201,69 +2199,32 @@ export interface The0 {
2201
2199
  assets_name: string;
2202
2200
  direct_to_shop: number;
2203
2201
  end_ts: string;
2204
- filter_category: null;
2205
- hud_button: The0_HudButton;
2206
2202
  id: number;
2207
- label_text_tid: null;
2208
- label_title_tid: null;
2209
2203
  min_level: number;
2210
2204
  popup_frequency: string;
2211
2205
  popup_type: string;
2212
- priority: null;
2213
2206
  show_on_startup: number;
2214
2207
  slides: The0_Slide[];
2215
2208
  start_ts: string;
2216
2209
  }
2217
- export interface The0_HudButton {
2218
- file: string;
2219
- title: string;
2220
- viral_icon_tier: number;
2221
- }
2222
2210
  export interface The0_Slide {
2223
- content_localized_key: string;
2224
- custom_title_localized_key: string;
2225
- header_localized_key: string;
2226
- image_url: string;
2227
- link: string;
2228
- link_button_key: string;
2229
- link_item_id?: number;
2230
- slide_type: string;
2231
- slide_type_2: string;
2232
- timer?: string;
2233
- times_to_show?: number;
2234
- }
2235
- export interface The1 {
2236
- active_platforms: ValueClass;
2237
- allow_island_tutorial: number;
2238
- assets_name: string;
2239
- direct_to_shop: number;
2240
- end_ts: string;
2241
- id: number;
2242
- min_level: number;
2243
- popup_frequency: string;
2244
- popup_type: string;
2245
- show_on_startup: number;
2246
- slides: The1_Slide[];
2247
- start_ts: string;
2248
- }
2249
- export interface The1_Slide {
2250
2211
  content_localized_key?: string;
2251
2212
  custom_title_localized_key: string;
2252
2213
  forceClose?: boolean;
2253
2214
  header_localized_key: string;
2254
2215
  image_url: string;
2255
- multiple_buttons: MultipleButton[];
2216
+ multiple_buttons: PurpleMultipleButton[];
2256
2217
  times_to_show: number;
2257
2218
  type: SlideType;
2258
2219
  }
2259
- export interface MultipleButton {
2220
+ export interface PurpleMultipleButton {
2260
2221
  animation: AnimationNameEnum;
2261
2222
  animationPlace: AnimationPlace;
2262
2223
  forceClose: boolean;
2263
2224
  glint: boolean;
2264
- key: Key;
2225
+ key: string;
2265
2226
  link: string;
2266
- linkItemId?: number | string;
2227
+ linkItemId: number;
2267
2228
  normalizedPosition: NormalizedPosition;
2268
2229
  size: Size;
2269
2230
  spineAsset: SpineAsset;
@@ -2272,11 +2233,6 @@ export interface MultipleButton {
2272
2233
  export declare enum AnimationPlace {
2273
2234
  Foreground = "Foreground"
2274
2235
  }
2275
- export declare enum Key {
2276
- Empty = "",
2277
- TidNewsPetsdaypassS1Button = "tid_news_petsdaypass_s1_button",
2278
- TidNewsPetsdaypassS3Button = "tid_news_petsdaypass_s3_button"
2279
- }
2280
2236
  export interface NormalizedPosition {
2281
2237
  x: number;
2282
2238
  y: number;
@@ -2286,18 +2242,15 @@ export interface Size {
2286
2242
  w: number;
2287
2243
  }
2288
2244
  export declare enum SpineAsset {
2289
- Empty = "",
2290
2245
  PointerAnimationV2 = "pointer_animation_v2"
2291
2246
  }
2292
2247
  export declare enum Style {
2293
- Blue = "Blue",
2294
- Empty = "",
2295
2248
  Transparent = "Transparent"
2296
2249
  }
2297
2250
  export declare enum SlideType {
2298
2251
  FullImage = "FullImage"
2299
2252
  }
2300
- export interface The13 {
2253
+ export interface The1 {
2301
2254
  active_platforms: ValueClass;
2302
2255
  allow_island_tutorial: number;
2303
2256
  assets_name: string;
@@ -2311,10 +2264,10 @@ export interface The13 {
2311
2264
  popup_type: string;
2312
2265
  priority: number | null;
2313
2266
  show_on_startup: number;
2314
- slides: The1_Slide[];
2267
+ slides: The0_Slide[];
2315
2268
  start_ts: string;
2316
2269
  }
2317
- export interface The2 {
2270
+ export interface The3 {
2318
2271
  active_platforms: ValueClass;
2319
2272
  allow_island_tutorial: number;
2320
2273
  assets_name: string;
@@ -2323,51 +2276,77 @@ export interface The2 {
2323
2276
  id: number;
2324
2277
  min_level: number;
2325
2278
  popup_frequency: string;
2279
+ popup_is_critical: boolean;
2326
2280
  popup_type: string;
2327
2281
  show_on_startup: number;
2328
- slides: The2_Slide[];
2282
+ slides: The3_Slide[];
2329
2283
  start_ts: string;
2330
2284
  }
2331
- export interface The2_Slide {
2332
- content_localized_key: string;
2285
+ export interface The3_Slide {
2286
+ content_localized_key?: string;
2333
2287
  custom_title_localized_key: string;
2334
- header_localized_key: string;
2288
+ header_localized_key?: string;
2335
2289
  image_url: string;
2336
- multiple_buttons: MultipleButton[];
2337
- times_to_show: number;
2338
- type: SlideType;
2290
+ link: string;
2291
+ link_button_key: string;
2292
+ slide_type: string;
2293
+ slide_type_2: string;
2294
+ timer?: string;
2295
+ times_to_show?: number;
2339
2296
  }
2340
- export interface The5 {
2297
+ export interface The4 {
2341
2298
  active_platforms: ValueClass;
2342
2299
  allow_island_tutorial: number;
2343
2300
  assets_name: string;
2344
- direct_to_shop: number;
2345
2301
  end_ts: string;
2302
+ hud_button: HudButton;
2346
2303
  id: number;
2347
2304
  min_level: number;
2348
- popup_frequency: string;
2349
- popup_is_critical: boolean;
2350
2305
  popup_type: string;
2351
2306
  show_on_startup: number;
2352
- slides: The0_Slide[];
2307
+ slides: The3_Slide[];
2353
2308
  start_ts: string;
2354
2309
  }
2355
- export interface The6 {
2310
+ export interface HudButton {
2311
+ file: string;
2312
+ title: string;
2313
+ }
2314
+ export interface The5 {
2356
2315
  active_platforms: ValueClass;
2357
2316
  allow_island_tutorial: number;
2358
2317
  assets_name: string;
2318
+ direct_to_shop: number;
2359
2319
  end_ts: string;
2360
- hud_button: The6_HudButton;
2361
2320
  id: number;
2362
2321
  min_level: number;
2322
+ popup_frequency: string;
2363
2323
  popup_type: string;
2364
2324
  show_on_startup: number;
2365
- slides: The0_Slide[];
2325
+ slides: The5_Slide[];
2366
2326
  start_ts: string;
2367
2327
  }
2368
- export interface The6_HudButton {
2369
- file: string;
2370
- title: string;
2328
+ export interface The5_Slide {
2329
+ content_localized_key: string;
2330
+ custom_title_localized_key: string;
2331
+ forceClose: boolean;
2332
+ header_localized_key: string;
2333
+ image_url: string;
2334
+ multiple_buttons: FluffyMultipleButton[];
2335
+ times_to_show: number;
2336
+ type: SlideType;
2337
+ }
2338
+ export interface FluffyMultipleButton {
2339
+ animation: AnimationNameEnum;
2340
+ animationPlace: AnimationPlace;
2341
+ forceClose: boolean;
2342
+ glint: boolean;
2343
+ key: string;
2344
+ link: string;
2345
+ linkItemId: number | string;
2346
+ normalizedPosition: NormalizedPosition;
2347
+ size: Size;
2348
+ spineAsset: SpineAsset;
2349
+ style: Style;
2371
2350
  }
2372
2351
  export interface Canva {
2373
2352
  id: number;
@@ -2375,7 +2354,7 @@ export interface Canva {
2375
2354
  start_ts: number;
2376
2355
  end_ts: number;
2377
2356
  min_level: number;
2378
- slides: The1_Slide[];
2357
+ slides: The0_Slide[];
2379
2358
  show_on_startup: number;
2380
2359
  }
2381
2360
  export interface Perks {
@@ -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.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;
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.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.FightBackgroundID = exports.File = 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";
@@ -600,21 +600,12 @@ var AnimationPlace;
600
600
  (function (AnimationPlace) {
601
601
  AnimationPlace["Foreground"] = "Foreground";
602
602
  })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
603
- var Key;
604
- (function (Key) {
605
- Key["Empty"] = "";
606
- Key["TidNewsPetsdaypassS1Button"] = "tid_news_petsdaypass_s1_button";
607
- Key["TidNewsPetsdaypassS3Button"] = "tid_news_petsdaypass_s3_button";
608
- })(Key || (exports.Key = Key = {}));
609
603
  var SpineAsset;
610
604
  (function (SpineAsset) {
611
- SpineAsset["Empty"] = "";
612
605
  SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
613
606
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
614
607
  var Style;
615
608
  (function (Style) {
616
- Style["Blue"] = "Blue";
617
- Style["Empty"] = "";
618
609
  Style["Transparent"] = "Transparent";
619
610
  })(Style || (exports.Style = Style = {}));
620
611
  var SlideType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",