@dchighs/dc-config 0.1.1 → 0.1.3

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 {
@@ -2075,7 +2075,7 @@ export interface MazeIsland {
2075
2075
  encounters: Encounter[];
2076
2076
  enemies: GridIslandEnemy[];
2077
2077
  happy_hours: any[];
2078
- actions: ActionElement[];
2078
+ actions: Action[];
2079
2079
  clouds: Cloud[];
2080
2080
  currencies: Currency[];
2081
2081
  parameters: FogIslandParameter[];
@@ -2169,21 +2169,26 @@ export interface MazeIslandReward {
2169
2169
  export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
- "2": The10;
2173
- "3": The12;
2174
- "4": The12;
2175
- "5": The10;
2176
- "6": The12;
2172
+ "2": The11;
2173
+ "3": The10;
2174
+ "4": The10;
2175
+ "5": The11;
2176
+ "6": The6;
2177
2177
  "7": The10;
2178
- "8": The12;
2179
- "9": The12;
2178
+ "8": The10;
2179
+ "9": The11;
2180
2180
  "10": The10;
2181
2181
  "11": The11;
2182
2182
  "12": The12;
2183
2183
  "13": The10;
2184
- "14": The10;
2185
- "15": The15;
2184
+ "14": The11;
2185
+ "15": The11;
2186
2186
  "16": The16;
2187
+ "17": The10;
2188
+ "18": The18;
2189
+ "19": The10;
2190
+ "20": The10;
2191
+ "21": The10;
2187
2192
  canvas: Canva[];
2188
2193
  }
2189
2194
  export interface The0 {
@@ -2216,6 +2221,7 @@ export interface The0_Slide {
2216
2221
  slide_type_2: string;
2217
2222
  timer?: string;
2218
2223
  times_to_show?: number;
2224
+ link_item_id?: number;
2219
2225
  }
2220
2226
  export interface The1 {
2221
2227
  active_platforms: ValueClass;
@@ -2240,13 +2246,10 @@ export interface The10 {
2240
2246
  assets_name: string;
2241
2247
  direct_to_shop: number;
2242
2248
  end_ts: string;
2243
- filter_category: null;
2244
2249
  id: number;
2245
- label_text_tid: null;
2246
- label_title_tid: null;
2247
2250
  min_level: number;
2251
+ popup_frequency: string;
2248
2252
  popup_type: string;
2249
- priority: number | null;
2250
2253
  show_on_startup: number;
2251
2254
  slides: The10_Slide[];
2252
2255
  start_ts: string;
@@ -2254,9 +2257,10 @@ export interface The10 {
2254
2257
  export interface The10_Slide {
2255
2258
  content_localized_key: string;
2256
2259
  custom_title_localized_key: string;
2260
+ forceClose?: boolean;
2257
2261
  header_localized_key: string;
2258
2262
  image_url: string;
2259
- multiple_buttons: MultipleButton[];
2263
+ multiple_buttons?: MultipleButton[];
2260
2264
  times_to_show: number;
2261
2265
  type: SlideType;
2262
2266
  }
@@ -2306,43 +2310,36 @@ export interface The11 {
2306
2310
  direct_to_shop: number;
2307
2311
  end_ts: string;
2308
2312
  filter_category: null;
2309
- hud_button: The0_HudButton;
2310
2313
  id: number;
2311
2314
  label_text_tid: null;
2312
2315
  label_title_tid: null;
2313
2316
  min_level: number;
2314
- popup_frequency: string;
2315
2317
  popup_type: string;
2316
- priority: null;
2318
+ priority: number | null;
2317
2319
  show_on_startup: number;
2318
- slides: The11_Slide[];
2320
+ slides: The10_Slide[];
2319
2321
  start_ts: string;
2320
2322
  }
2321
- export interface The11_Slide {
2322
- content_localized_key: string;
2323
- custom_title_localized_key: string;
2324
- forceClose?: boolean;
2325
- header_localized_key: string;
2326
- image_url: string;
2327
- multiple_buttons?: MultipleButton[];
2328
- times_to_show: number;
2329
- type: SlideType;
2330
- }
2331
2323
  export interface The12 {
2332
2324
  active_platforms: ValueClass;
2333
2325
  allow_island_tutorial: number;
2334
2326
  assets_name: string;
2335
2327
  direct_to_shop: number;
2336
2328
  end_ts: string;
2329
+ filter_category: null;
2330
+ hud_button: The0_HudButton;
2337
2331
  id: number;
2332
+ label_text_tid: null;
2333
+ label_title_tid: null;
2338
2334
  min_level: number;
2339
2335
  popup_frequency: string;
2340
2336
  popup_type: string;
2337
+ priority: null;
2341
2338
  show_on_startup: number;
2342
- slides: The11_Slide[];
2339
+ slides: The10_Slide[];
2343
2340
  start_ts: string;
2344
2341
  }
2345
- export interface The15 {
2342
+ export interface The16 {
2346
2343
  active_platforms: ValueClass;
2347
2344
  allow_island_tutorial: number;
2348
2345
  assets_name: string;
@@ -2357,7 +2354,7 @@ export interface The15 {
2357
2354
  slides: The0_Slide[];
2358
2355
  start_ts: string;
2359
2356
  }
2360
- export interface The16 {
2357
+ export interface The18 {
2361
2358
  active_platforms: ValueClass;
2362
2359
  allow_island_tutorial: number;
2363
2360
  assets_name: string;
@@ -2371,7 +2368,26 @@ export interface The16 {
2371
2368
  popup_type: string;
2372
2369
  priority: null;
2373
2370
  show_on_startup: number;
2374
- slides: The11_Slide[];
2371
+ slides: The10_Slide[];
2372
+ start_ts: string;
2373
+ }
2374
+ export interface The6 {
2375
+ active_platforms: ValueClass;
2376
+ allow_island_tutorial: number;
2377
+ assets_name: string;
2378
+ direct_to_shop: number;
2379
+ end_ts: string;
2380
+ filter_category: null;
2381
+ hud_button: The0_HudButton;
2382
+ id: number;
2383
+ label_text_tid: null;
2384
+ label_title_tid: null;
2385
+ min_level: number;
2386
+ popup_frequency: string;
2387
+ popup_type: string;
2388
+ priority: null;
2389
+ show_on_startup: number;
2390
+ slides: The0_Slide[];
2375
2391
  start_ts: string;
2376
2392
  }
2377
2393
  export interface Canva {
@@ -2379,9 +2395,10 @@ export interface Canva {
2379
2395
  assets_name: string;
2380
2396
  start_ts: number | string;
2381
2397
  end_ts: number | string;
2382
- min_level?: number;
2398
+ min_level: number;
2383
2399
  slides: CanvaSlide[];
2384
- show_on_startup?: number;
2400
+ show_on_startup: number;
2401
+ priority?: string;
2385
2402
  }
2386
2403
  export interface CanvaSlide {
2387
2404
  custom_title_localized_key?: string;
@@ -2401,22 +2418,15 @@ export interface CanvaSlide {
2401
2418
  export interface Content {
2402
2419
  height: number;
2403
2420
  rotation: number;
2404
- stroke?: string;
2405
- text_color?: string;
2421
+ stroke: string;
2422
+ text_color: string;
2406
2423
  text_key: string;
2407
- text_size?: number;
2408
- timer?: number;
2424
+ text_size: number;
2425
+ timer: number;
2409
2426
  type: string;
2410
2427
  width: number;
2411
2428
  x: number;
2412
2429
  y: number;
2413
- action?: ContentAction;
2414
- style?: string;
2415
- }
2416
- export interface ContentAction {
2417
- itemId: string;
2418
- storeCategory: number;
2419
- type: string;
2420
2430
  }
2421
2431
  export interface Perks {
2422
2432
  abilities: Ability[];
@@ -3134,7 +3144,7 @@ export interface TowerIsland {
3134
3144
  happy_hours: HappyHour[];
3135
3145
  parameters: FogIslandParameter[];
3136
3146
  currencies: Currency[];
3137
- actions: ActionElement[];
3147
+ actions: Action[];
3138
3148
  }
3139
3149
  export interface Floor {
3140
3150
  id: number;
@@ -3324,8 +3334,8 @@ export interface MultiplierTime {
3324
3334
  multiplier_time: number;
3325
3335
  }
3326
3336
  export interface TreeOfLifePowerupRaritySeed {
3327
- max_rarity_seeds_per_grade: number[];
3328
3337
  rarity: Rarity;
3338
+ max_rarity_seeds_per_grade: number[];
3329
3339
  }
3330
3340
  export interface Visual {
3331
3341
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",