@dchighs/dc-config 0.1.3 → 0.1.4

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,26 +2169,24 @@ 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;
2172
+ "2": The1;
2173
+ "3": The0;
2174
+ "4": The4;
2175
+ "5": The1;
2176
+ "6": The1;
2177
+ "7": The0;
2178
+ "8": The1;
2179
+ "9": The0;
2180
2180
  "10": The10;
2181
- "11": The11;
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;
2181
+ "11": The1;
2182
+ "12": The0;
2183
+ "13": The0;
2184
+ "14": The14;
2185
+ "15": The1;
2186
+ "16": The0;
2187
+ "17": The1;
2188
+ "18": The1;
2189
+ "19": The1;
2192
2190
  canvas: Canva[];
2193
2191
  }
2194
2192
  export interface The0 {
@@ -2197,72 +2195,26 @@ export interface The0 {
2197
2195
  assets_name: string;
2198
2196
  direct_to_shop: number;
2199
2197
  end_ts: string;
2200
- hud_button: The0_HudButton;
2198
+ filter_category: null;
2201
2199
  id: number;
2200
+ label_text_tid: null;
2201
+ label_title_tid: null;
2202
2202
  min_level: number;
2203
2203
  popup_type: string;
2204
+ priority: number | null;
2204
2205
  show_on_startup: number;
2205
2206
  slides: The0_Slide[];
2206
2207
  start_ts: string;
2207
2208
  }
2208
- export interface The0_HudButton {
2209
- file: string;
2210
- title: string;
2211
- viral_icon_tier: number;
2212
- }
2213
2209
  export interface The0_Slide {
2214
- content_localized_key: string;
2210
+ content_localized_key?: string;
2215
2211
  custom_title_localized_key: string;
2216
2212
  header_localized_key: string;
2217
2213
  image_url: string;
2218
- link: string;
2219
- link_button_key: string;
2220
- slide_type: string;
2221
- slide_type_2: string;
2222
- timer?: string;
2223
- times_to_show?: number;
2224
- link_item_id?: number;
2225
- }
2226
- 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
- active_platforms: ValueClass;
2245
- allow_island_tutorial: number;
2246
- assets_name: string;
2247
- direct_to_shop: number;
2248
- end_ts: string;
2249
- id: number;
2250
- min_level: number;
2251
- popup_frequency: string;
2252
- popup_type: string;
2253
- show_on_startup: number;
2254
- slides: The10_Slide[];
2255
- start_ts: string;
2256
- }
2257
- export interface The10_Slide {
2258
- content_localized_key: string;
2259
- custom_title_localized_key: string;
2260
- forceClose?: boolean;
2261
- header_localized_key: string;
2262
- image_url: string;
2263
2214
  multiple_buttons?: MultipleButton[];
2264
2215
  times_to_show: number;
2265
2216
  type: SlideType;
2217
+ forceClose?: boolean;
2266
2218
  }
2267
2219
  export interface MultipleButton {
2268
2220
  animation: AnimationNameEnum;
@@ -2303,31 +2255,28 @@ export declare enum Style {
2303
2255
  export declare enum SlideType {
2304
2256
  FullImage = "FullImage"
2305
2257
  }
2306
- export interface The11 {
2258
+ export interface The1 {
2307
2259
  active_platforms: ValueClass;
2308
2260
  allow_island_tutorial: number;
2309
2261
  assets_name: string;
2310
2262
  direct_to_shop: number;
2311
2263
  end_ts: string;
2312
- filter_category: null;
2313
2264
  id: number;
2314
- label_text_tid: null;
2315
- label_title_tid: null;
2316
2265
  min_level: number;
2266
+ popup_frequency: string;
2317
2267
  popup_type: string;
2318
- priority: number | null;
2319
2268
  show_on_startup: number;
2320
- slides: The10_Slide[];
2269
+ slides: The0_Slide[];
2321
2270
  start_ts: string;
2322
2271
  }
2323
- export interface The12 {
2272
+ export interface The10 {
2324
2273
  active_platforms: ValueClass;
2325
2274
  allow_island_tutorial: number;
2326
2275
  assets_name: string;
2327
2276
  direct_to_shop: number;
2328
2277
  end_ts: string;
2329
2278
  filter_category: null;
2330
- hud_button: The0_HudButton;
2279
+ hud_button: HudButton;
2331
2280
  id: number;
2332
2281
  label_text_tid: null;
2333
2282
  label_title_tid: null;
@@ -2336,10 +2285,15 @@ export interface The12 {
2336
2285
  popup_type: string;
2337
2286
  priority: null;
2338
2287
  show_on_startup: number;
2339
- slides: The10_Slide[];
2288
+ slides: The0_Slide[];
2340
2289
  start_ts: string;
2341
2290
  }
2342
- export interface The16 {
2291
+ export interface HudButton {
2292
+ file: string;
2293
+ title: string;
2294
+ viral_icon_tier: number;
2295
+ }
2296
+ export interface The14 {
2343
2297
  active_platforms: ValueClass;
2344
2298
  allow_island_tutorial: number;
2345
2299
  assets_name: string;
@@ -2351,34 +2305,28 @@ export interface The16 {
2351
2305
  popup_is_critical: boolean;
2352
2306
  popup_type: string;
2353
2307
  show_on_startup: number;
2354
- slides: The0_Slide[];
2308
+ slides: The14_Slide[];
2355
2309
  start_ts: string;
2356
2310
  }
2357
- export interface The18 {
2358
- active_platforms: ValueClass;
2359
- allow_island_tutorial: number;
2360
- assets_name: string;
2361
- direct_to_shop: number;
2362
- end_ts: string;
2363
- filter_category: null;
2364
- id: number;
2365
- label_text_tid: null;
2366
- label_title_tid: null;
2367
- min_level: number;
2368
- popup_type: string;
2369
- priority: null;
2370
- show_on_startup: number;
2371
- slides: The10_Slide[];
2372
- start_ts: string;
2311
+ export interface The14_Slide {
2312
+ content_localized_key: string;
2313
+ custom_title_localized_key: string;
2314
+ header_localized_key: string;
2315
+ image_url: string;
2316
+ link: string;
2317
+ link_button_key: string;
2318
+ slide_type: string;
2319
+ slide_type_2: string;
2320
+ link_item_id?: number;
2373
2321
  }
2374
- export interface The6 {
2322
+ export interface The4 {
2375
2323
  active_platforms: ValueClass;
2376
2324
  allow_island_tutorial: number;
2377
2325
  assets_name: string;
2378
2326
  direct_to_shop: number;
2379
2327
  end_ts: string;
2380
2328
  filter_category: null;
2381
- hud_button: The0_HudButton;
2329
+ hud_button: HudButton;
2382
2330
  id: number;
2383
2331
  label_text_tid: null;
2384
2332
  label_title_tid: null;
@@ -2387,46 +2335,17 @@ export interface The6 {
2387
2335
  popup_type: string;
2388
2336
  priority: null;
2389
2337
  show_on_startup: number;
2390
- slides: The0_Slide[];
2338
+ slides: The14_Slide[];
2391
2339
  start_ts: string;
2392
2340
  }
2393
2341
  export interface Canva {
2394
2342
  id: number;
2395
2343
  assets_name: string;
2396
- start_ts: number | string;
2397
- end_ts: number | string;
2344
+ start_ts: number;
2345
+ end_ts: number;
2398
2346
  min_level: number;
2399
- slides: CanvaSlide[];
2347
+ slides: The0_Slide[];
2400
2348
  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
2349
  }
2431
2350
  export interface Perks {
2432
2351
  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.4",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",