@dchighs/dc-config 0.1.20 → 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,20 +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;
2196
- "15": The1;
2192
+ "11": The0;
2193
+ "12": The0;
2197
2194
  canvas: Canva[];
2198
2195
  }
2199
2196
  export interface The0 {
@@ -2202,69 +2199,32 @@ export interface The0 {
2202
2199
  assets_name: string;
2203
2200
  direct_to_shop: number;
2204
2201
  end_ts: string;
2205
- filter_category: null;
2206
- hud_button: The0_HudButton;
2207
2202
  id: number;
2208
- label_text_tid: null;
2209
- label_title_tid: null;
2210
2203
  min_level: number;
2211
2204
  popup_frequency: string;
2212
2205
  popup_type: string;
2213
- priority: null;
2214
2206
  show_on_startup: number;
2215
2207
  slides: The0_Slide[];
2216
2208
  start_ts: string;
2217
2209
  }
2218
- export interface The0_HudButton {
2219
- file: string;
2220
- title: string;
2221
- viral_icon_tier: number;
2222
- }
2223
2210
  export interface The0_Slide {
2224
- content_localized_key?: string;
2225
- custom_title_localized_key: string;
2226
- header_localized_key?: string;
2227
- image_url: string;
2228
- link: string;
2229
- link_button_key: string;
2230
- link_item_id?: number;
2231
- slide_type: string;
2232
- slide_type_2: string;
2233
- timer?: string;
2234
- times_to_show?: number;
2235
- }
2236
- export interface The1 {
2237
- active_platforms: ValueClass;
2238
- allow_island_tutorial: number;
2239
- assets_name: string;
2240
- direct_to_shop: number;
2241
- end_ts: string;
2242
- id: number;
2243
- min_level: number;
2244
- popup_frequency: string;
2245
- popup_type: string;
2246
- show_on_startup: number;
2247
- slides: The1_Slide[];
2248
- start_ts: string;
2249
- }
2250
- export interface The1_Slide {
2251
2211
  content_localized_key?: string;
2252
2212
  custom_title_localized_key: string;
2253
2213
  forceClose?: boolean;
2254
2214
  header_localized_key: string;
2255
2215
  image_url: string;
2256
- multiple_buttons: MultipleButton[];
2216
+ multiple_buttons: PurpleMultipleButton[];
2257
2217
  times_to_show: number;
2258
2218
  type: SlideType;
2259
2219
  }
2260
- export interface MultipleButton {
2220
+ export interface PurpleMultipleButton {
2261
2221
  animation: AnimationNameEnum;
2262
2222
  animationPlace: AnimationPlace;
2263
2223
  forceClose: boolean;
2264
2224
  glint: boolean;
2265
- key: Key;
2225
+ key: string;
2266
2226
  link: string;
2267
- linkItemId?: number | string;
2227
+ linkItemId: number;
2268
2228
  normalizedPosition: NormalizedPosition;
2269
2229
  size: Size;
2270
2230
  spineAsset: SpineAsset;
@@ -2273,11 +2233,6 @@ export interface MultipleButton {
2273
2233
  export declare enum AnimationPlace {
2274
2234
  Foreground = "Foreground"
2275
2235
  }
2276
- export declare enum Key {
2277
- Empty = "",
2278
- TidNewsPetsdaypassS1Button = "tid_news_petsdaypass_s1_button",
2279
- TidNewsPetsdaypassS3Button = "tid_news_petsdaypass_s3_button"
2280
- }
2281
2236
  export interface NormalizedPosition {
2282
2237
  x: number;
2283
2238
  y: number;
@@ -2287,18 +2242,15 @@ export interface Size {
2287
2242
  w: number;
2288
2243
  }
2289
2244
  export declare enum SpineAsset {
2290
- Empty = "",
2291
2245
  PointerAnimationV2 = "pointer_animation_v2"
2292
2246
  }
2293
2247
  export declare enum Style {
2294
- Blue = "Blue",
2295
- Empty = "",
2296
2248
  Transparent = "Transparent"
2297
2249
  }
2298
2250
  export declare enum SlideType {
2299
2251
  FullImage = "FullImage"
2300
2252
  }
2301
- export interface The13 {
2253
+ export interface The1 {
2302
2254
  active_platforms: ValueClass;
2303
2255
  allow_island_tutorial: number;
2304
2256
  assets_name: string;
@@ -2312,10 +2264,10 @@ export interface The13 {
2312
2264
  popup_type: string;
2313
2265
  priority: number | null;
2314
2266
  show_on_startup: number;
2315
- slides: The1_Slide[];
2267
+ slides: The0_Slide[];
2316
2268
  start_ts: string;
2317
2269
  }
2318
- export interface The2 {
2270
+ export interface The3 {
2319
2271
  active_platforms: ValueClass;
2320
2272
  allow_island_tutorial: number;
2321
2273
  assets_name: string;
@@ -2324,51 +2276,77 @@ export interface The2 {
2324
2276
  id: number;
2325
2277
  min_level: number;
2326
2278
  popup_frequency: string;
2279
+ popup_is_critical: boolean;
2327
2280
  popup_type: string;
2328
2281
  show_on_startup: number;
2329
- slides: The2_Slide[];
2282
+ slides: The3_Slide[];
2330
2283
  start_ts: string;
2331
2284
  }
2332
- export interface The2_Slide {
2333
- content_localized_key: string;
2285
+ export interface The3_Slide {
2286
+ content_localized_key?: string;
2334
2287
  custom_title_localized_key: string;
2335
- header_localized_key: string;
2288
+ header_localized_key?: string;
2336
2289
  image_url: string;
2337
- multiple_buttons: MultipleButton[];
2338
- times_to_show: number;
2339
- 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;
2340
2296
  }
2341
- export interface The5 {
2297
+ export interface The4 {
2342
2298
  active_platforms: ValueClass;
2343
2299
  allow_island_tutorial: number;
2344
2300
  assets_name: string;
2345
- direct_to_shop: number;
2346
2301
  end_ts: string;
2302
+ hud_button: HudButton;
2347
2303
  id: number;
2348
2304
  min_level: number;
2349
- popup_frequency: string;
2350
- popup_is_critical: boolean;
2351
2305
  popup_type: string;
2352
2306
  show_on_startup: number;
2353
- slides: The0_Slide[];
2307
+ slides: The3_Slide[];
2354
2308
  start_ts: string;
2355
2309
  }
2356
- export interface The6 {
2310
+ export interface HudButton {
2311
+ file: string;
2312
+ title: string;
2313
+ }
2314
+ export interface The5 {
2357
2315
  active_platforms: ValueClass;
2358
2316
  allow_island_tutorial: number;
2359
2317
  assets_name: string;
2318
+ direct_to_shop: number;
2360
2319
  end_ts: string;
2361
- hud_button: The6_HudButton;
2362
2320
  id: number;
2363
2321
  min_level: number;
2322
+ popup_frequency: string;
2364
2323
  popup_type: string;
2365
2324
  show_on_startup: number;
2366
- slides: The0_Slide[];
2325
+ slides: The5_Slide[];
2367
2326
  start_ts: string;
2368
2327
  }
2369
- export interface The6_HudButton {
2370
- file: string;
2371
- 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;
2372
2350
  }
2373
2351
  export interface Canva {
2374
2352
  id: number;
@@ -2376,7 +2354,7 @@ export interface Canva {
2376
2354
  start_ts: number;
2377
2355
  end_ts: number;
2378
2356
  min_level: number;
2379
- slides: The1_Slide[];
2357
+ slides: The0_Slide[];
2380
2358
  show_on_startup: number;
2381
2359
  }
2382
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.20",
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",