@dchighs/dc-config 0.1.14 → 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 {
@@ -2078,7 +2078,7 @@ export interface MazeIsland {
2078
2078
  encounters: Encounter[];
2079
2079
  enemies: GridIslandEnemy[];
2080
2080
  happy_hours: any[];
2081
- actions: ActionElement[];
2081
+ actions: Action[];
2082
2082
  clouds: Cloud[];
2083
2083
  currencies: Currency[];
2084
2084
  parameters: FogIslandParameter[];
@@ -2173,13 +2173,14 @@ export interface News {
2173
2173
  "0": The0;
2174
2174
  "1": The1;
2175
2175
  "2": The2;
2176
- "3": The3;
2176
+ "3": The10;
2177
2177
  "4": The4;
2178
- "5": The3;
2179
- "6": The3;
2180
- "7": The3;
2181
- "8": The1;
2182
- "9": The3;
2178
+ "5": The5;
2179
+ "6": The10;
2180
+ "7": The10;
2181
+ "8": The10;
2182
+ "9": The1;
2183
+ "10": The10;
2183
2184
  canvas: Canva[];
2184
2185
  }
2185
2186
  export interface The0 {
@@ -2259,7 +2260,7 @@ export interface The1 {
2259
2260
  start_ts: string;
2260
2261
  }
2261
2262
  export interface The1_Slide {
2262
- content_localized_key: string;
2263
+ content_localized_key?: string;
2263
2264
  custom_title_localized_key: string;
2264
2265
  header_localized_key: string;
2265
2266
  image_url: string;
@@ -2268,6 +2269,20 @@ export interface The1_Slide {
2268
2269
  type: SlideType;
2269
2270
  forceClose?: boolean;
2270
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
+ }
2271
2286
  export interface The2 {
2272
2287
  active_platforms: ValueClass;
2273
2288
  allow_island_tutorial: number;
@@ -2295,26 +2310,31 @@ export interface The2_Slide {
2295
2310
  timer?: string;
2296
2311
  times_to_show?: number;
2297
2312
  }
2298
- export interface The3 {
2313
+ export interface The4 {
2299
2314
  active_platforms: ValueClass;
2300
2315
  allow_island_tutorial: number;
2301
2316
  assets_name: string;
2302
2317
  direct_to_shop: number;
2303
2318
  end_ts: string;
2319
+ hud_button: The4_HudButton;
2304
2320
  id: number;
2305
2321
  min_level: number;
2306
- popup_frequency: string;
2307
2322
  popup_type: string;
2308
2323
  show_on_startup: number;
2309
- slides: The1_Slide[];
2324
+ slides: The2_Slide[];
2310
2325
  start_ts: string;
2311
2326
  }
2312
- export interface The4 {
2327
+ export interface The4_HudButton {
2328
+ file: string;
2329
+ title: string;
2330
+ viral_icon_tier: number;
2331
+ }
2332
+ export interface The5 {
2313
2333
  active_platforms: ValueClass;
2314
2334
  allow_island_tutorial: number;
2315
2335
  assets_name: string;
2316
2336
  end_ts: string;
2317
- hud_button: HudButton;
2337
+ hud_button: The5_HudButton;
2318
2338
  id: number;
2319
2339
  min_level: number;
2320
2340
  popup_type: string;
@@ -2322,53 +2342,18 @@ export interface The4 {
2322
2342
  slides: The2_Slide[];
2323
2343
  start_ts: string;
2324
2344
  }
2325
- export interface HudButton {
2345
+ export interface The5_HudButton {
2326
2346
  file: string;
2327
2347
  title: string;
2328
2348
  }
2329
2349
  export interface Canva {
2330
2350
  id: number;
2331
2351
  assets_name: string;
2332
- start_ts: number | string;
2333
- end_ts: number | string;
2334
- min_level?: number;
2335
- slides: CanvaSlide[];
2336
- show_on_startup?: number;
2337
- }
2338
- export interface CanvaSlide {
2339
- custom_title_localized_key?: string;
2340
- header_localized_key?: string;
2341
- image_url?: string;
2342
- times_to_show?: number;
2343
- type?: SlideType;
2344
- multiple_buttons?: MultipleButton[];
2345
- bg?: string;
2346
- content?: Content[];
2347
- edit_mode?: number;
2348
- id?: number;
2349
- title_key?: string;
2350
- viral_icon_key?: string;
2351
- viral_icon_timer?: string;
2352
- }
2353
- export interface Content {
2354
- height: number;
2355
- rotation: number;
2356
- stroke?: string;
2357
- text_color?: string;
2358
- text_key: string;
2359
- text_size?: number;
2360
- timer?: number;
2361
- type: string;
2362
- width: number;
2363
- x: number;
2364
- y: number;
2365
- action?: ContentAction;
2366
- style?: string;
2367
- }
2368
- export interface ContentAction {
2369
- itemId: string;
2370
- storeCategory: number;
2371
- type: string;
2352
+ start_ts: number;
2353
+ end_ts: number;
2354
+ min_level: number;
2355
+ slides: The1_Slide[];
2356
+ show_on_startup: number;
2372
2357
  }
2373
2358
  export interface Perks {
2374
2359
  abilities: Ability[];
@@ -3096,7 +3081,7 @@ export interface TowerIsland {
3096
3081
  happy_hours: HappyHour[];
3097
3082
  parameters: FogIslandParameter[];
3098
3083
  currencies: Currency[];
3099
- actions: ActionElement[];
3084
+ actions: Action[];
3100
3085
  }
3101
3086
  export interface Floor {
3102
3087
  id: number;
@@ -3286,8 +3271,8 @@ export interface MultiplierTime {
3286
3271
  multiplier_time: number;
3287
3272
  }
3288
3273
  export interface TreeOfLifePowerupRaritySeed {
3289
- rarity: Rarity;
3290
3274
  max_rarity_seeds_per_grade: number[];
3275
+ rarity: Rarity;
3291
3276
  }
3292
3277
  export interface Visual {
3293
3278
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.14",
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",