@dchighs/dc-config 0.1.12 → 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;
@@ -2171,18 +2172,14 @@ export interface MazeIslandReward {
2171
2172
  export interface News {
2172
2173
  "0": The0;
2173
2174
  "1": The1;
2174
- "2": The10;
2175
+ "2": The2;
2175
2176
  "3": The3;
2176
2177
  "4": The4;
2177
- "5": The12;
2178
- "6": The6;
2179
- "7": The0;
2180
- "8": The10;
2181
- "9": The9;
2182
- "10": The10;
2183
- "11": The0;
2184
- "12": The12;
2185
- "13": The10;
2178
+ "5": The3;
2179
+ "6": The3;
2180
+ "7": The3;
2181
+ "8": The1;
2182
+ "9": The3;
2186
2183
  canvas: Canva[];
2187
2184
  }
2188
2185
  export interface The0 {
@@ -2200,27 +2197,26 @@ export interface The0 {
2200
2197
  start_ts: string;
2201
2198
  }
2202
2199
  export interface The0_Slide {
2200
+ content_localized_key: string;
2203
2201
  custom_title_localized_key: string;
2204
- forceClose: boolean;
2205
2202
  header_localized_key: string;
2206
2203
  image_url: string;
2204
+ multiple_buttons: MultipleButton[];
2207
2205
  times_to_show: number;
2208
- type: string;
2209
- content_localized_key?: string;
2210
- multiple_buttons?: PurpleMultipleButton[];
2206
+ type: SlideType;
2211
2207
  }
2212
- export interface PurpleMultipleButton {
2208
+ export interface MultipleButton {
2213
2209
  animation: AnimationNameEnum;
2214
2210
  animationPlace: AnimationPlace;
2215
2211
  forceClose: boolean;
2216
2212
  glint: boolean;
2217
2213
  key: string;
2218
2214
  link: string;
2219
- linkItemId?: number | string;
2220
2215
  normalizedPosition: NormalizedPosition;
2221
2216
  size: Size;
2222
2217
  spineAsset: SpineAsset;
2223
- style: string;
2218
+ style: Style;
2219
+ linkItemId?: number | string;
2224
2220
  }
2225
2221
  export declare enum AnimationPlace {
2226
2222
  Foreground = "Foreground"
@@ -2237,6 +2233,14 @@ export declare enum SpineAsset {
2237
2233
  Empty = "",
2238
2234
  PointerAnimationV2 = "pointer_animation_v2"
2239
2235
  }
2236
+ export declare enum Style {
2237
+ Blue = "Blue",
2238
+ BlueLarge = "BlueLarge",
2239
+ Transparent = "Transparent"
2240
+ }
2241
+ export declare enum SlideType {
2242
+ FullImage = "FullImage"
2243
+ }
2240
2244
  export interface The1 {
2241
2245
  active_platforms: ValueClass;
2242
2246
  allow_island_tutorial: number;
@@ -2244,94 +2248,27 @@ export interface The1 {
2244
2248
  direct_to_shop: number;
2245
2249
  end_ts: string;
2246
2250
  filter_category: null;
2247
- hud_button: The1_HudButton;
2248
2251
  id: number;
2249
2252
  label_text_tid: null;
2250
2253
  label_title_tid: null;
2251
2254
  min_level: number;
2252
- popup_frequency: string;
2253
2255
  popup_type: string;
2254
2256
  priority: null;
2255
2257
  show_on_startup: number;
2256
2258
  slides: The1_Slide[];
2257
2259
  start_ts: string;
2258
2260
  }
2259
- export interface The1_HudButton {
2260
- file: string;
2261
- title: string;
2262
- viral_icon_tier: number;
2263
- }
2264
2261
  export interface The1_Slide {
2265
- content_localized_key?: string;
2266
- custom_title_localized_key: string;
2267
- header_localized_key?: string;
2268
- image_url: string;
2269
- link: string;
2270
- link_button_key: string;
2271
- link_item_id?: number;
2272
- slide_type: string;
2273
- slide_type_2: string;
2274
- timer?: string;
2275
- times_to_show?: number;
2276
- }
2277
- export interface The10 {
2278
- active_platforms: ValueClass;
2279
- allow_island_tutorial: number;
2280
- assets_name: string;
2281
- direct_to_shop: number;
2282
- end_ts: string;
2283
- id: number;
2284
- min_level: number;
2285
- popup_frequency: string;
2286
- popup_type: string;
2287
- show_on_startup: number;
2288
- slides: The10_Slide[];
2289
- start_ts: string;
2290
- }
2291
- export interface The10_Slide {
2292
2262
  content_localized_key: string;
2293
2263
  custom_title_localized_key: string;
2294
2264
  header_localized_key: string;
2295
2265
  image_url: string;
2296
- multiple_buttons: FluffyMultipleButton[];
2266
+ multiple_buttons: MultipleButton[];
2297
2267
  times_to_show: number;
2298
- type: string;
2268
+ type: SlideType;
2299
2269
  forceClose?: boolean;
2300
2270
  }
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 declare enum Style {
2315
- Transparent = "Transparent"
2316
- }
2317
- export interface The12 {
2318
- active_platforms: ValueClass;
2319
- allow_island_tutorial: number;
2320
- assets_name: string;
2321
- direct_to_shop: number;
2322
- end_ts: string;
2323
- filter_category: null;
2324
- id: number;
2325
- label_text_tid: null;
2326
- label_title_tid: null;
2327
- min_level: number;
2328
- popup_type: string;
2329
- priority: null;
2330
- show_on_startup: number;
2331
- slides: The10_Slide[];
2332
- start_ts: string;
2333
- }
2334
- export interface The3 {
2271
+ export interface The2 {
2335
2272
  active_platforms: ValueClass;
2336
2273
  allow_island_tutorial: number;
2337
2274
  assets_name: string;
@@ -2340,36 +2277,25 @@ export interface The3 {
2340
2277
  id: number;
2341
2278
  min_level: number;
2342
2279
  popup_frequency: string;
2280
+ popup_is_critical: boolean;
2343
2281
  popup_type: string;
2344
2282
  show_on_startup: number;
2345
- slides: The3_Slide[];
2283
+ slides: The2_Slide[];
2346
2284
  start_ts: string;
2347
2285
  }
2348
- export interface The3_Slide {
2286
+ export interface The2_Slide {
2349
2287
  content_localized_key: string;
2350
2288
  custom_title_localized_key: string;
2351
2289
  header_localized_key: string;
2352
2290
  image_url: string;
2353
- multiple_buttons: PurpleMultipleButton[];
2354
- times_to_show: number;
2355
- type: string;
2356
- }
2357
- export interface The4 {
2358
- active_platforms: ValueClass;
2359
- allow_island_tutorial: number;
2360
- assets_name: string;
2361
- direct_to_shop: number;
2362
- end_ts: string;
2363
- hud_button: The1_HudButton;
2364
- id: number;
2365
- min_level: number;
2366
- popup_frequency: string;
2367
- popup_type: string;
2368
- show_on_startup: number;
2369
- slides: The1_Slide[];
2370
- start_ts: string;
2291
+ link: string;
2292
+ link_button_key: string;
2293
+ slide_type: string;
2294
+ slide_type_2: string;
2295
+ timer?: string;
2296
+ times_to_show?: number;
2371
2297
  }
2372
- export interface The6 {
2298
+ export interface The3 {
2373
2299
  active_platforms: ValueClass;
2374
2300
  allow_island_tutorial: number;
2375
2301
  assets_name: string;
@@ -2378,26 +2304,25 @@ export interface The6 {
2378
2304
  id: number;
2379
2305
  min_level: number;
2380
2306
  popup_frequency: string;
2381
- popup_is_critical: boolean;
2382
2307
  popup_type: string;
2383
2308
  show_on_startup: number;
2384
2309
  slides: The1_Slide[];
2385
2310
  start_ts: string;
2386
2311
  }
2387
- export interface The9 {
2312
+ export interface The4 {
2388
2313
  active_platforms: ValueClass;
2389
2314
  allow_island_tutorial: number;
2390
2315
  assets_name: string;
2391
2316
  end_ts: string;
2392
- hud_button: The9_HudButton;
2317
+ hud_button: HudButton;
2393
2318
  id: number;
2394
2319
  min_level: number;
2395
2320
  popup_type: string;
2396
2321
  show_on_startup: number;
2397
- slides: The1_Slide[];
2322
+ slides: The2_Slide[];
2398
2323
  start_ts: string;
2399
2324
  }
2400
- export interface The9_HudButton {
2325
+ export interface HudButton {
2401
2326
  file: string;
2402
2327
  title: string;
2403
2328
  }
@@ -2415,8 +2340,8 @@ export interface CanvaSlide {
2415
2340
  header_localized_key?: string;
2416
2341
  image_url?: string;
2417
2342
  times_to_show?: number;
2418
- type?: string;
2419
- multiple_buttons?: FluffyMultipleButton[];
2343
+ type?: SlideType;
2344
+ multiple_buttons?: MultipleButton[];
2420
2345
  bg?: string;
2421
2346
  content?: Content[];
2422
2347
  edit_mode?: number;
@@ -2426,15 +2351,19 @@ export interface CanvaSlide {
2426
2351
  viral_icon_timer?: string;
2427
2352
  }
2428
2353
  export interface Content {
2429
- action: ContentAction;
2430
2354
  height: number;
2431
2355
  rotation: number;
2432
- style: string;
2356
+ stroke?: string;
2357
+ text_color?: string;
2433
2358
  text_key: string;
2359
+ text_size?: number;
2360
+ timer?: number;
2434
2361
  type: string;
2435
2362
  width: number;
2436
2363
  x: number;
2437
2364
  y: number;
2365
+ action?: ContentAction;
2366
+ style?: string;
2438
2367
  }
2439
2368
  export interface ContentAction {
2440
2369
  itemId: string;
@@ -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.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.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.DeployText = exports.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.TentacledSoundTag = exports.ActivityType = exports.PerkType = exports.AbilityType = 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
- exports.TreasureItemType = exports.Feature = exports.PurpleType = exports.FloorImage = exports.Name = exports.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = 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
+ 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";
@@ -603,8 +603,14 @@ var SpineAsset;
603
603
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
604
604
  var Style;
605
605
  (function (Style) {
606
+ Style["Blue"] = "Blue";
607
+ Style["BlueLarge"] = "BlueLarge";
606
608
  Style["Transparent"] = "Transparent";
607
609
  })(Style || (exports.Style = Style = {}));
610
+ var SlideType;
611
+ (function (SlideType) {
612
+ SlideType["FullImage"] = "FullImage";
613
+ })(SlideType || (exports.SlideType = SlideType = {}));
608
614
  var AbilityType;
609
615
  (function (AbilityType) {
610
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.12",
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",