@dchighs/dc-config 0.0.6 → 0.0.7

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.
@@ -2159,18 +2159,22 @@ export interface MazeIslandReward {
2159
2159
  export interface News {
2160
2160
  "0": The0;
2161
2161
  "1": The1;
2162
- "2": The12;
2163
- "3": The11;
2164
- "4": The11;
2165
- "5": The11;
2166
- "6": The12;
2167
- "7": The11;
2168
- "8": The8;
2169
- "9": The12;
2162
+ "2": The0;
2163
+ "3": The3;
2164
+ "4": The12;
2165
+ "5": The10;
2166
+ "6": The10;
2167
+ "7": The10;
2168
+ "8": The12;
2169
+ "9": The9;
2170
2170
  "10": The10;
2171
- "11": The11;
2171
+ "11": The10;
2172
2172
  "12": The12;
2173
- "13": The13;
2173
+ "13": The10;
2174
+ "14": The10;
2175
+ "15": The12;
2176
+ "16": The16;
2177
+ "17": The12;
2174
2178
  canvas: Canva[];
2175
2179
  }
2176
2180
  export interface The0 {
@@ -2179,15 +2183,20 @@ export interface The0 {
2179
2183
  assets_name: string;
2180
2184
  direct_to_shop: number;
2181
2185
  end_ts: string;
2186
+ hud_button: The0_HudButton;
2182
2187
  id: number;
2183
2188
  min_level: number;
2184
- popup_frequency: string;
2185
- popup_is_critical: boolean;
2189
+ popup_frequency?: string;
2186
2190
  popup_type: string;
2187
2191
  show_on_startup: number;
2188
2192
  slides: The0_Slide[];
2189
2193
  start_ts: string;
2190
2194
  }
2195
+ export interface The0_HudButton {
2196
+ file: string;
2197
+ title: string;
2198
+ viral_icon_tier: number;
2199
+ }
2191
2200
  export interface The0_Slide {
2192
2201
  content_localized_key?: string;
2193
2202
  custom_title_localized_key: string;
@@ -2199,24 +2208,23 @@ export interface The0_Slide {
2199
2208
  slide_type_2: string;
2200
2209
  timer?: string;
2201
2210
  times_to_show?: number;
2211
+ link_item_id?: number;
2202
2212
  }
2203
2213
  export interface The1 {
2204
2214
  active_platforms: ValueClass;
2205
2215
  allow_island_tutorial: number;
2206
2216
  assets_name: string;
2217
+ direct_to_shop: number;
2207
2218
  end_ts: string;
2208
- hud_button: The1_HudButton;
2209
2219
  id: number;
2210
2220
  min_level: number;
2221
+ popup_frequency: string;
2222
+ popup_is_critical: boolean;
2211
2223
  popup_type: string;
2212
2224
  show_on_startup: number;
2213
2225
  slides: The0_Slide[];
2214
2226
  start_ts: string;
2215
2227
  }
2216
- export interface The1_HudButton {
2217
- file: string;
2218
- title: string;
2219
- }
2220
2228
  export interface The10 {
2221
2229
  active_platforms: ValueClass;
2222
2230
  allow_island_tutorial: number;
@@ -2232,21 +2240,21 @@ export interface The10 {
2232
2240
  start_ts: string;
2233
2241
  }
2234
2242
  export interface The10_Slide {
2235
- content_localized_key: string;
2236
2243
  custom_title_localized_key: string;
2237
- forceClose: boolean;
2238
2244
  header_localized_key: string;
2239
2245
  image_url: string;
2240
- multiple_buttons: PurpleMultipleButton[];
2246
+ multiple_buttons: MultipleButton[];
2241
2247
  times_to_show: number;
2242
2248
  type: SlideType;
2249
+ content_localized_key?: string;
2250
+ forceClose?: boolean;
2243
2251
  }
2244
- export interface PurpleMultipleButton {
2252
+ export interface MultipleButton {
2245
2253
  animation: AnimationNameEnum;
2246
2254
  animationPlace: AnimationPlace;
2247
2255
  forceClose: boolean;
2248
2256
  glint: boolean;
2249
- key: string;
2257
+ key: Key;
2250
2258
  link: string;
2251
2259
  linkItemId?: number | string;
2252
2260
  normalizedPosition: NormalizedPosition;
@@ -2257,6 +2265,10 @@ export interface PurpleMultipleButton {
2257
2265
  export declare enum AnimationPlace {
2258
2266
  Foreground = "Foreground"
2259
2267
  }
2268
+ export declare enum Key {
2269
+ Empty = "",
2270
+ TidNewsApocalypsepathButton = "tid_news_apocalypsepath_button"
2271
+ }
2260
2272
  export interface NormalizedPosition {
2261
2273
  x: number;
2262
2274
  y: number;
@@ -2266,136 +2278,125 @@ export interface Size {
2266
2278
  w: number;
2267
2279
  }
2268
2280
  export declare enum SpineAsset {
2281
+ Empty = "",
2269
2282
  PointerAnimationV2 = "pointer_animation_v2"
2270
2283
  }
2271
2284
  export declare enum Style {
2285
+ BlueLarge = "BlueLarge",
2272
2286
  Transparent = "Transparent"
2273
2287
  }
2274
2288
  export declare enum SlideType {
2275
2289
  FullImage = "FullImage"
2276
2290
  }
2277
- export interface The11 {
2291
+ export interface The12 {
2278
2292
  active_platforms: ValueClass;
2279
2293
  allow_island_tutorial: number;
2280
2294
  assets_name: string;
2281
2295
  direct_to_shop: number;
2282
2296
  end_ts: string;
2297
+ filter_category: null;
2283
2298
  id: number;
2299
+ label_text_tid: null;
2300
+ label_title_tid: null;
2284
2301
  min_level: number;
2285
- popup_frequency: string;
2286
2302
  popup_type: string;
2303
+ priority: number | null;
2287
2304
  show_on_startup: number;
2288
- slides: The11_Slide[];
2305
+ slides: The10_Slide[];
2289
2306
  start_ts: string;
2290
2307
  }
2291
- export interface The11_Slide {
2292
- content_localized_key?: string;
2293
- custom_title_localized_key: string;
2294
- forceClose?: boolean;
2295
- header_localized_key: string;
2296
- image_url: string;
2297
- multiple_buttons: FluffyMultipleButton[];
2298
- times_to_show: number;
2299
- type: SlideType;
2300
- }
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 interface The12 {
2308
+ export interface The16 {
2315
2309
  active_platforms: ValueClass;
2316
2310
  allow_island_tutorial: number;
2317
2311
  assets_name: string;
2318
2312
  direct_to_shop: number;
2319
2313
  end_ts: string;
2320
2314
  filter_category: null;
2315
+ hud_button: The0_HudButton;
2321
2316
  id: number;
2322
2317
  label_text_tid: null;
2323
2318
  label_title_tid: null;
2324
2319
  min_level: number;
2320
+ popup_frequency: string;
2325
2321
  popup_type: string;
2326
- priority: number | null;
2322
+ priority: null;
2327
2323
  show_on_startup: number;
2328
- slides: The11_Slide[];
2324
+ slides: The10_Slide[];
2329
2325
  start_ts: string;
2330
2326
  }
2331
- export interface The13 {
2327
+ export interface The3 {
2332
2328
  active_platforms: ValueClass;
2333
2329
  allow_island_tutorial: number;
2334
2330
  assets_name: string;
2335
- direct_to_shop: number;
2336
2331
  end_ts: string;
2337
- filter_category: null;
2338
- hud_button: The13_HudButton;
2332
+ hud_button: The3_HudButton;
2339
2333
  id: number;
2340
- label_text_tid: null;
2341
- label_title_tid: null;
2342
2334
  min_level: number;
2343
- popup_frequency: string;
2344
2335
  popup_type: string;
2345
- priority: null;
2346
2336
  show_on_startup: number;
2347
- slides: The13_Slide[];
2337
+ slides: The0_Slide[];
2348
2338
  start_ts: string;
2349
2339
  }
2350
- export interface The13_HudButton {
2340
+ export interface The3_HudButton {
2351
2341
  file: string;
2352
2342
  title: string;
2353
- viral_icon_tier: number;
2354
2343
  }
2355
- export interface The13_Slide {
2356
- content_localized_key: string;
2357
- custom_title_localized_key: string;
2358
- forceClose?: boolean;
2359
- header_localized_key: string;
2360
- image_url: string;
2361
- multiple_buttons: TentacledMultipleButton[];
2362
- times_to_show: number;
2363
- type: SlideType;
2364
- }
2365
- export interface TentacledMultipleButton {
2366
- animation: AnimationNameEnum;
2367
- animationPlace: AnimationPlace;
2368
- forceClose: boolean;
2369
- glint: boolean;
2370
- key: string;
2371
- link: string;
2372
- normalizedPosition: NormalizedPosition;
2373
- size: Size;
2374
- spineAsset: string;
2375
- style: string;
2376
- }
2377
- export interface The8 {
2344
+ export interface The9 {
2378
2345
  active_platforms: ValueClass;
2379
2346
  allow_island_tutorial: number;
2380
2347
  assets_name: string;
2381
2348
  direct_to_shop: number;
2382
2349
  end_ts: string;
2350
+ filter_category: null;
2351
+ hud_button: The0_HudButton;
2383
2352
  id: number;
2353
+ label_text_tid: null;
2354
+ label_title_tid: null;
2384
2355
  min_level: number;
2385
2356
  popup_frequency: string;
2386
2357
  popup_type: string;
2358
+ priority: null;
2387
2359
  show_on_startup: number;
2388
- slides: The13_Slide[];
2360
+ slides: The0_Slide[];
2389
2361
  start_ts: string;
2390
2362
  }
2391
2363
  export interface Canva {
2392
2364
  id: number;
2393
2365
  assets_name: string;
2394
- start_ts: number;
2395
- end_ts: number;
2366
+ start_ts: number | string;
2367
+ end_ts: number | string;
2396
2368
  min_level: number;
2397
- slides: The11_Slide[];
2369
+ slides: CanvaSlide[];
2398
2370
  show_on_startup: number;
2371
+ priority?: string;
2372
+ }
2373
+ export interface CanvaSlide {
2374
+ custom_title_localized_key?: string;
2375
+ header_localized_key?: string;
2376
+ image_url?: string;
2377
+ times_to_show?: number;
2378
+ type?: SlideType;
2379
+ multiple_buttons?: MultipleButton[];
2380
+ bg?: string;
2381
+ content?: Content[];
2382
+ edit_mode?: number;
2383
+ id?: number;
2384
+ title_key?: string;
2385
+ viral_icon_key?: string;
2386
+ viral_icon_timer?: string;
2387
+ }
2388
+ export interface Content {
2389
+ height: number;
2390
+ rotation: number;
2391
+ stroke: string;
2392
+ text_color: string;
2393
+ text_key: string;
2394
+ text_size: number;
2395
+ timer: number;
2396
+ type: string;
2397
+ width: number;
2398
+ x: number;
2399
+ y: number;
2399
2400
  }
2400
2401
  export interface Perks {
2401
2402
  abilities: Ability[];
@@ -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.TidName = 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.Target = exports.StatusEffectDataEffectName = exports.EffectVfxEnum = 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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.FluffySoundTag = exports.ActivityType = exports.PerkType = exports.SlideType = exports.Style = exports.SpineAsset = exports.AnimationPlace = 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 = void 0;
4
+ exports.StatusEffectDataEffectName = exports.EffectVfxEnum = 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.AuraCenterMode = exports.AttackType = exports.Texture = exports.RewardEnum = exports.ZipFile = exports.FluffySoundTag = exports.ActivityType = exports.PerkType = exports.SlideType = exports.Style = exports.SpineAsset = exports.Key = exports.AnimationPlace = 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 = void 0;
6
6
  var Format;
7
7
  (function (Format) {
8
8
  Format["Efk"] = "efk";
@@ -587,12 +587,19 @@ var AnimationPlace;
587
587
  (function (AnimationPlace) {
588
588
  AnimationPlace["Foreground"] = "Foreground";
589
589
  })(AnimationPlace || (exports.AnimationPlace = AnimationPlace = {}));
590
+ var Key;
591
+ (function (Key) {
592
+ Key["Empty"] = "";
593
+ Key["TidNewsApocalypsepathButton"] = "tid_news_apocalypsepath_button";
594
+ })(Key || (exports.Key = Key = {}));
590
595
  var SpineAsset;
591
596
  (function (SpineAsset) {
597
+ SpineAsset["Empty"] = "";
592
598
  SpineAsset["PointerAnimationV2"] = "pointer_animation_v2";
593
599
  })(SpineAsset || (exports.SpineAsset = SpineAsset = {}));
594
600
  var Style;
595
601
  (function (Style) {
602
+ Style["BlueLarge"] = "BlueLarge";
596
603
  Style["Transparent"] = "Transparent";
597
604
  })(Style || (exports.Style = Style = {}));
598
605
  var SlideType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",