@dchighs/dc-config 0.1.13 → 0.1.15

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.
@@ -1181,11 +1181,11 @@ export interface FogIsland {
1181
1181
  squares: FogIslandSquare[];
1182
1182
  currencies: Currency[];
1183
1183
  rewards: FogIslandReward[];
1184
- actions: ActionElement[];
1184
+ actions: Action[];
1185
1185
  hints: Hint[];
1186
1186
  parameters: FogIslandParameter[];
1187
1187
  }
1188
- export interface ActionElement {
1188
+ export interface Action {
1189
1189
  id: number;
1190
1190
  type: ActionType;
1191
1191
  tid_name: ActionTidName;
@@ -1383,7 +1383,7 @@ export interface GridIsland {
1383
1383
  encounters: Encounter[];
1384
1384
  enemies: GridIslandEnemy[];
1385
1385
  currencies: Currency[];
1386
- actions: ActionElement[];
1386
+ actions: Action[];
1387
1387
  parameters: FogIslandParameter[];
1388
1388
  }
1389
1389
  export interface Decoration {
@@ -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;
@@ -2077,7 +2078,7 @@ export interface MazeIsland {
2077
2078
  encounters: Encounter[];
2078
2079
  enemies: GridIslandEnemy[];
2079
2080
  happy_hours: any[];
2080
- actions: ActionElement[];
2081
+ actions: Action[];
2081
2082
  clouds: Cloud[];
2082
2083
  currencies: Currency[];
2083
2084
  parameters: FogIslandParameter[];
@@ -2172,12 +2173,14 @@ export interface News {
2172
2173
  "0": The0;
2173
2174
  "1": The1;
2174
2175
  "2": The2;
2175
- "3": The3;
2176
+ "3": The10;
2176
2177
  "4": The4;
2177
- "5": The3;
2178
- "6": The3;
2179
- "7": The1;
2180
- "8": The3;
2178
+ "5": The5;
2179
+ "6": The10;
2180
+ "7": The10;
2181
+ "8": The10;
2182
+ "9": The1;
2183
+ "10": The10;
2181
2184
  canvas: Canva[];
2182
2185
  }
2183
2186
  export interface The0 {
@@ -2201,14 +2204,14 @@ export interface The0_Slide {
2201
2204
  image_url: string;
2202
2205
  multiple_buttons: MultipleButton[];
2203
2206
  times_to_show: number;
2204
- type: string;
2207
+ type: SlideType;
2205
2208
  }
2206
2209
  export interface MultipleButton {
2207
2210
  animation: AnimationNameEnum;
2208
2211
  animationPlace: AnimationPlace;
2209
2212
  forceClose: boolean;
2210
2213
  glint: boolean;
2211
- key: Key;
2214
+ key: string;
2212
2215
  link: string;
2213
2216
  normalizedPosition: NormalizedPosition;
2214
2217
  size: Size;
@@ -2219,10 +2222,6 @@ export interface MultipleButton {
2219
2222
  export declare enum AnimationPlace {
2220
2223
  Foreground = "Foreground"
2221
2224
  }
2222
- export declare enum Key {
2223
- Empty = "",
2224
- TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2225
- }
2226
2225
  export interface NormalizedPosition {
2227
2226
  x: number;
2228
2227
  y: number;
@@ -2236,9 +2235,13 @@ export declare enum SpineAsset {
2236
2235
  PointerAnimationV2 = "pointer_animation_v2"
2237
2236
  }
2238
2237
  export declare enum Style {
2238
+ Blue = "Blue",
2239
2239
  BlueLarge = "BlueLarge",
2240
2240
  Transparent = "Transparent"
2241
2241
  }
2242
+ export declare enum SlideType {
2243
+ FullImage = "FullImage"
2244
+ }
2242
2245
  export interface The1 {
2243
2246
  active_platforms: ValueClass;
2244
2247
  allow_island_tutorial: number;
@@ -2257,15 +2260,29 @@ export interface The1 {
2257
2260
  start_ts: string;
2258
2261
  }
2259
2262
  export interface The1_Slide {
2260
- content_localized_key: string;
2263
+ content_localized_key?: string;
2261
2264
  custom_title_localized_key: string;
2262
2265
  header_localized_key: string;
2263
2266
  image_url: string;
2264
2267
  multiple_buttons: MultipleButton[];
2265
2268
  times_to_show: number;
2266
- type: string;
2269
+ type: SlideType;
2267
2270
  forceClose?: boolean;
2268
2271
  }
2272
+ export interface The10 {
2273
+ active_platforms: ValueClass;
2274
+ allow_island_tutorial: number;
2275
+ assets_name: string;
2276
+ direct_to_shop: number;
2277
+ end_ts: string;
2278
+ id: number;
2279
+ min_level: number;
2280
+ popup_frequency: string;
2281
+ popup_type: string;
2282
+ show_on_startup: number;
2283
+ slides: The1_Slide[];
2284
+ start_ts: string;
2285
+ }
2269
2286
  export interface The2 {
2270
2287
  active_platforms: ValueClass;
2271
2288
  allow_island_tutorial: number;
@@ -2282,9 +2299,9 @@ export interface The2 {
2282
2299
  start_ts: string;
2283
2300
  }
2284
2301
  export interface The2_Slide {
2285
- content_localized_key?: string;
2302
+ content_localized_key: string;
2286
2303
  custom_title_localized_key: string;
2287
- header_localized_key?: string;
2304
+ header_localized_key: string;
2288
2305
  image_url: string;
2289
2306
  link: string;
2290
2307
  link_button_key: string;
@@ -2293,26 +2310,31 @@ export interface The2_Slide {
2293
2310
  timer?: string;
2294
2311
  times_to_show?: number;
2295
2312
  }
2296
- export interface The3 {
2313
+ export interface The4 {
2297
2314
  active_platforms: ValueClass;
2298
2315
  allow_island_tutorial: number;
2299
2316
  assets_name: string;
2300
2317
  direct_to_shop: number;
2301
2318
  end_ts: string;
2319
+ hud_button: The4_HudButton;
2302
2320
  id: number;
2303
2321
  min_level: number;
2304
- popup_frequency: string;
2305
2322
  popup_type: string;
2306
2323
  show_on_startup: number;
2307
- slides: The1_Slide[];
2324
+ slides: The2_Slide[];
2308
2325
  start_ts: string;
2309
2326
  }
2310
- export interface The4 {
2327
+ export interface The4_HudButton {
2328
+ file: string;
2329
+ title: string;
2330
+ viral_icon_tier: number;
2331
+ }
2332
+ export interface The5 {
2311
2333
  active_platforms: ValueClass;
2312
2334
  allow_island_tutorial: number;
2313
2335
  assets_name: string;
2314
2336
  end_ts: string;
2315
- hud_button: HudButton;
2337
+ hud_button: The5_HudButton;
2316
2338
  id: number;
2317
2339
  min_level: number;
2318
2340
  popup_type: string;
@@ -2320,49 +2342,18 @@ export interface The4 {
2320
2342
  slides: The2_Slide[];
2321
2343
  start_ts: string;
2322
2344
  }
2323
- export interface HudButton {
2345
+ export interface The5_HudButton {
2324
2346
  file: string;
2325
2347
  title: string;
2326
2348
  }
2327
2349
  export interface Canva {
2328
2350
  id: number;
2329
2351
  assets_name: string;
2330
- start_ts: number | string;
2331
- end_ts: number | string;
2332
- min_level?: number;
2333
- slides: CanvaSlide[];
2334
- show_on_startup?: number;
2335
- }
2336
- export interface CanvaSlide {
2337
- custom_title_localized_key?: string;
2338
- header_localized_key?: string;
2339
- image_url?: string;
2340
- times_to_show?: number;
2341
- type?: string;
2342
- multiple_buttons?: MultipleButton[];
2343
- bg?: string;
2344
- content?: Content[];
2345
- edit_mode?: number;
2346
- id?: number;
2347
- title_key?: string;
2348
- viral_icon_key?: string;
2349
- viral_icon_timer?: string;
2350
- }
2351
- export interface Content {
2352
- action: ContentAction;
2353
- height: number;
2354
- rotation: number;
2355
- style: string;
2356
- text_key: string;
2357
- type: string;
2358
- width: number;
2359
- x: number;
2360
- y: number;
2361
- }
2362
- export interface ContentAction {
2363
- itemId: string;
2364
- storeCategory: number;
2365
- type: string;
2352
+ start_ts: number;
2353
+ end_ts: number;
2354
+ min_level: number;
2355
+ slides: The1_Slide[];
2356
+ show_on_startup: number;
2366
2357
  }
2367
2358
  export interface Perks {
2368
2359
  abilities: Ability[];
@@ -3090,7 +3081,7 @@ export interface TowerIsland {
3090
3081
  happy_hours: HappyHour[];
3091
3082
  parameters: FogIslandParameter[];
3092
3083
  currencies: Currency[];
3093
- actions: ActionElement[];
3084
+ actions: Action[];
3094
3085
  }
3095
3086
  export interface Floor {
3096
3087
  id: number;
@@ -3280,8 +3271,8 @@ export interface MultiplierTime {
3280
3271
  multiplier_time: number;
3281
3272
  }
3282
3273
  export interface TreeOfLifePowerupRaritySeed {
3283
- rarity: Rarity;
3284
3274
  max_rarity_seeds_per_grade: number[];
3275
+ rarity: Rarity;
3285
3276
  }
3286
3277
  export interface Visual {
3287
3278
  id: number;
@@ -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.15",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",