@dchighs/dc-config 0.1.3 → 0.1.5

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.
@@ -2169,33 +2169,31 @@ export interface MazeIslandReward {
2169
2169
  export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
- "2": The11;
2173
- "3": The10;
2174
- "4": The10;
2175
- "5": The11;
2176
- "6": The6;
2177
- "7": The10;
2178
- "8": The10;
2179
- "9": The11;
2180
- "10": The10;
2172
+ "2": The12;
2173
+ "3": The12;
2174
+ "4": The1;
2175
+ "5": The5;
2176
+ "6": The12;
2177
+ "7": The12;
2178
+ "8": The1;
2179
+ "9": The12;
2180
+ "10": The1;
2181
2181
  "11": The11;
2182
2182
  "12": The12;
2183
- "13": The10;
2184
- "14": The11;
2185
- "15": The11;
2186
- "16": The16;
2187
- "17": The10;
2188
- "18": The18;
2189
- "19": The10;
2190
- "20": The10;
2191
- "21": The10;
2183
+ "13": The1;
2184
+ "14": The1;
2185
+ "15": The15;
2186
+ "16": The12;
2187
+ "17": The17;
2188
+ "18": The12;
2189
+ "19": The12;
2190
+ "20": The12;
2192
2191
  canvas: Canva[];
2193
2192
  }
2194
2193
  export interface The0 {
2195
2194
  active_platforms: ValueClass;
2196
2195
  allow_island_tutorial: number;
2197
2196
  assets_name: string;
2198
- direct_to_shop: number;
2199
2197
  end_ts: string;
2200
2198
  hud_button: The0_HudButton;
2201
2199
  id: number;
@@ -2208,12 +2206,9 @@ export interface The0 {
2208
2206
  export interface The0_HudButton {
2209
2207
  file: string;
2210
2208
  title: string;
2211
- viral_icon_tier: number;
2212
2209
  }
2213
2210
  export interface The0_Slide {
2214
- content_localized_key: string;
2215
2211
  custom_title_localized_key: string;
2216
- header_localized_key: string;
2217
2212
  image_url: string;
2218
2213
  link: string;
2219
2214
  link_button_key: string;
@@ -2221,48 +2216,36 @@ export interface The0_Slide {
2221
2216
  slide_type_2: string;
2222
2217
  timer?: string;
2223
2218
  times_to_show?: number;
2219
+ content_localized_key?: string;
2220
+ header_localized_key?: string;
2224
2221
  link_item_id?: number;
2225
2222
  }
2226
2223
  export interface The1 {
2227
- active_platforms: ValueClass;
2228
- allow_island_tutorial: number;
2229
- assets_name: string;
2230
- end_ts: string;
2231
- hud_button: The1_HudButton;
2232
- id: number;
2233
- min_level: number;
2234
- popup_type: string;
2235
- show_on_startup: number;
2236
- slides: The0_Slide[];
2237
- start_ts: string;
2238
- }
2239
- export interface The1_HudButton {
2240
- file: string;
2241
- title: string;
2242
- }
2243
- export interface The10 {
2244
2224
  active_platforms: ValueClass;
2245
2225
  allow_island_tutorial: number;
2246
2226
  assets_name: string;
2247
2227
  direct_to_shop: number;
2248
2228
  end_ts: string;
2229
+ filter_category: null;
2249
2230
  id: number;
2231
+ label_text_tid: null;
2232
+ label_title_tid: null;
2250
2233
  min_level: number;
2251
- popup_frequency: string;
2252
2234
  popup_type: string;
2235
+ priority: number | null;
2253
2236
  show_on_startup: number;
2254
- slides: The10_Slide[];
2237
+ slides: The1_Slide[];
2255
2238
  start_ts: string;
2256
2239
  }
2257
- export interface The10_Slide {
2258
- content_localized_key: string;
2240
+ export interface The1_Slide {
2241
+ content_localized_key?: string;
2259
2242
  custom_title_localized_key: string;
2260
- forceClose?: boolean;
2261
2243
  header_localized_key: string;
2262
2244
  image_url: string;
2263
2245
  multiple_buttons?: MultipleButton[];
2264
2246
  times_to_show: number;
2265
2247
  type: SlideType;
2248
+ forceClose?: boolean;
2266
2249
  }
2267
2250
  export interface MultipleButton {
2268
2251
  animation: AnimationNameEnum;
@@ -2310,36 +2293,38 @@ export interface The11 {
2310
2293
  direct_to_shop: number;
2311
2294
  end_ts: string;
2312
2295
  filter_category: null;
2296
+ hud_button: The11_HudButton;
2313
2297
  id: number;
2314
2298
  label_text_tid: null;
2315
2299
  label_title_tid: null;
2316
2300
  min_level: number;
2301
+ popup_frequency: string;
2317
2302
  popup_type: string;
2318
- priority: number | null;
2303
+ priority: null;
2319
2304
  show_on_startup: number;
2320
- slides: The10_Slide[];
2305
+ slides: The1_Slide[];
2321
2306
  start_ts: string;
2322
2307
  }
2308
+ export interface The11_HudButton {
2309
+ file: string;
2310
+ title: string;
2311
+ viral_icon_tier: number;
2312
+ }
2323
2313
  export interface The12 {
2324
2314
  active_platforms: ValueClass;
2325
2315
  allow_island_tutorial: number;
2326
2316
  assets_name: string;
2327
2317
  direct_to_shop: number;
2328
2318
  end_ts: string;
2329
- filter_category: null;
2330
- hud_button: The0_HudButton;
2331
2319
  id: number;
2332
- label_text_tid: null;
2333
- label_title_tid: null;
2334
2320
  min_level: number;
2335
2321
  popup_frequency: string;
2336
2322
  popup_type: string;
2337
- priority: null;
2338
2323
  show_on_startup: number;
2339
- slides: The10_Slide[];
2324
+ slides: The1_Slide[];
2340
2325
  start_ts: string;
2341
2326
  }
2342
- export interface The16 {
2327
+ export interface The15 {
2343
2328
  active_platforms: ValueClass;
2344
2329
  allow_island_tutorial: number;
2345
2330
  assets_name: string;
@@ -2354,7 +2339,7 @@ export interface The16 {
2354
2339
  slides: The0_Slide[];
2355
2340
  start_ts: string;
2356
2341
  }
2357
- export interface The18 {
2342
+ export interface The17 {
2358
2343
  active_platforms: ValueClass;
2359
2344
  allow_island_tutorial: number;
2360
2345
  assets_name: string;
@@ -2368,17 +2353,17 @@ export interface The18 {
2368
2353
  popup_type: string;
2369
2354
  priority: null;
2370
2355
  show_on_startup: number;
2371
- slides: The10_Slide[];
2356
+ slides: The1_Slide[];
2372
2357
  start_ts: string;
2373
2358
  }
2374
- export interface The6 {
2359
+ export interface The5 {
2375
2360
  active_platforms: ValueClass;
2376
2361
  allow_island_tutorial: number;
2377
2362
  assets_name: string;
2378
2363
  direct_to_shop: number;
2379
2364
  end_ts: string;
2380
2365
  filter_category: null;
2381
- hud_button: The0_HudButton;
2366
+ hud_button: The11_HudButton;
2382
2367
  id: number;
2383
2368
  label_text_tid: null;
2384
2369
  label_title_tid: null;
@@ -2393,40 +2378,11 @@ export interface The6 {
2393
2378
  export interface Canva {
2394
2379
  id: number;
2395
2380
  assets_name: string;
2396
- start_ts: number | string;
2397
- end_ts: number | string;
2381
+ start_ts: number;
2382
+ end_ts: number;
2398
2383
  min_level: number;
2399
- slides: CanvaSlide[];
2384
+ slides: The1_Slide[];
2400
2385
  show_on_startup: number;
2401
- priority?: string;
2402
- }
2403
- export interface CanvaSlide {
2404
- custom_title_localized_key?: string;
2405
- header_localized_key?: string;
2406
- image_url?: string;
2407
- times_to_show?: number;
2408
- type?: SlideType;
2409
- multiple_buttons?: MultipleButton[];
2410
- bg?: string;
2411
- content?: Content[];
2412
- edit_mode?: number;
2413
- id?: number;
2414
- title_key?: string;
2415
- viral_icon_key?: string;
2416
- viral_icon_timer?: string;
2417
- }
2418
- export interface Content {
2419
- height: number;
2420
- rotation: number;
2421
- stroke: string;
2422
- text_color: string;
2423
- text_key: string;
2424
- text_size: number;
2425
- timer: number;
2426
- type: string;
2427
- width: number;
2428
- x: number;
2429
- y: number;
2430
2386
  }
2431
2387
  export interface Perks {
2432
2388
  abilities: Ability[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",