@dchighs/dc-config 0.1.13 → 0.1.14

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.
@@ -1832,6 +1832,7 @@ export interface BoostModifierClass {
1832
1832
  pr?: number;
1833
1833
  wd?: number;
1834
1834
  wr?: number;
1835
+ mg?: number;
1835
1836
  }
1836
1837
  export interface CostsCh {
1837
1838
  g?: number;
@@ -2176,8 +2177,9 @@ export interface News {
2176
2177
  "4": The4;
2177
2178
  "5": The3;
2178
2179
  "6": The3;
2179
- "7": The1;
2180
- "8": The3;
2180
+ "7": The3;
2181
+ "8": The1;
2182
+ "9": The3;
2181
2183
  canvas: Canva[];
2182
2184
  }
2183
2185
  export interface The0 {
@@ -2201,14 +2203,14 @@ export interface The0_Slide {
2201
2203
  image_url: string;
2202
2204
  multiple_buttons: MultipleButton[];
2203
2205
  times_to_show: number;
2204
- type: string;
2206
+ type: SlideType;
2205
2207
  }
2206
2208
  export interface MultipleButton {
2207
2209
  animation: AnimationNameEnum;
2208
2210
  animationPlace: AnimationPlace;
2209
2211
  forceClose: boolean;
2210
2212
  glint: boolean;
2211
- key: Key;
2213
+ key: string;
2212
2214
  link: string;
2213
2215
  normalizedPosition: NormalizedPosition;
2214
2216
  size: Size;
@@ -2219,10 +2221,6 @@ export interface MultipleButton {
2219
2221
  export declare enum AnimationPlace {
2220
2222
  Foreground = "Foreground"
2221
2223
  }
2222
- export declare enum Key {
2223
- Empty = "",
2224
- TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2225
- }
2226
2224
  export interface NormalizedPosition {
2227
2225
  x: number;
2228
2226
  y: number;
@@ -2236,9 +2234,13 @@ export declare enum SpineAsset {
2236
2234
  PointerAnimationV2 = "pointer_animation_v2"
2237
2235
  }
2238
2236
  export declare enum Style {
2237
+ Blue = "Blue",
2239
2238
  BlueLarge = "BlueLarge",
2240
2239
  Transparent = "Transparent"
2241
2240
  }
2241
+ export declare enum SlideType {
2242
+ FullImage = "FullImage"
2243
+ }
2242
2244
  export interface The1 {
2243
2245
  active_platforms: ValueClass;
2244
2246
  allow_island_tutorial: number;
@@ -2263,7 +2265,7 @@ export interface The1_Slide {
2263
2265
  image_url: string;
2264
2266
  multiple_buttons: MultipleButton[];
2265
2267
  times_to_show: number;
2266
- type: string;
2268
+ type: SlideType;
2267
2269
  forceClose?: boolean;
2268
2270
  }
2269
2271
  export interface The2 {
@@ -2282,9 +2284,9 @@ export interface The2 {
2282
2284
  start_ts: string;
2283
2285
  }
2284
2286
  export interface The2_Slide {
2285
- content_localized_key?: string;
2287
+ content_localized_key: string;
2286
2288
  custom_title_localized_key: string;
2287
- header_localized_key?: string;
2289
+ header_localized_key: string;
2288
2290
  image_url: string;
2289
2291
  link: string;
2290
2292
  link_button_key: string;
@@ -2338,7 +2340,7 @@ export interface CanvaSlide {
2338
2340
  header_localized_key?: string;
2339
2341
  image_url?: string;
2340
2342
  times_to_show?: number;
2341
- type?: string;
2343
+ type?: SlideType;
2342
2344
  multiple_buttons?: MultipleButton[];
2343
2345
  bg?: string;
2344
2346
  content?: Content[];
@@ -2349,15 +2351,19 @@ export interface CanvaSlide {
2349
2351
  viral_icon_timer?: string;
2350
2352
  }
2351
2353
  export interface Content {
2352
- action: ContentAction;
2353
2354
  height: number;
2354
2355
  rotation: number;
2355
- style: string;
2356
+ stroke?: string;
2357
+ text_color?: string;
2356
2358
  text_key: string;
2359
+ text_size?: number;
2360
+ timer?: number;
2357
2361
  type: string;
2358
2362
  width: number;
2359
2363
  x: number;
2360
2364
  y: number;
2365
+ action?: ContentAction;
2366
+ style?: string;
2361
2367
  }
2362
2368
  export interface ContentAction {
2363
2369
  itemId: 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.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;
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.ViewTypeEnum = exports.FightBackgroundID = void 0;
5
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) {
@@ -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"] = "";
@@ -608,9 +603,14 @@ var SpineAsset;
608
603
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
609
604
  var Style;
610
605
  (function (Style) {
606
+ Style["Blue"] = "Blue";
611
607
  Style["BlueLarge"] = "BlueLarge";
612
608
  Style["Transparent"] = "Transparent";
613
609
  })(Style || (exports.Style = Style = {}));
610
+ var SlideType;
611
+ (function (SlideType) {
612
+ SlideType["FullImage"] = "FullImage";
613
+ })(SlideType || (exports.SlideType = SlideType = {}));
614
614
  var AbilityType;
615
615
  (function (AbilityType) {
616
616
  AbilityType["DragonAttackBoost"] = "dragon_attack_boost";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",