@dchighs/dc-config 0.1.4 → 0.1.6

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,27 +2169,54 @@ export interface MazeIslandReward {
2169
2169
  export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
- "2": The1;
2173
- "3": The0;
2174
- "4": The4;
2175
- "5": The1;
2176
- "6": The1;
2177
- "7": The0;
2178
- "8": The1;
2179
- "9": The0;
2172
+ "2": The10;
2173
+ "3": The1;
2174
+ "4": The10;
2175
+ "5": The10;
2176
+ "6": The10;
2177
+ "7": The1;
2178
+ "8": The8;
2179
+ "9": The1;
2180
2180
  "10": The10;
2181
2181
  "11": The1;
2182
- "12": The0;
2183
- "13": The0;
2182
+ "12": The1;
2183
+ "13": The13;
2184
2184
  "14": The14;
2185
2185
  "15": The1;
2186
- "16": The0;
2187
- "17": The1;
2188
- "18": The1;
2189
- "19": The1;
2186
+ "16": The10;
2187
+ "17": The10;
2190
2188
  canvas: Canva[];
2191
2189
  }
2192
2190
  export interface The0 {
2191
+ active_platforms: ValueClass;
2192
+ allow_island_tutorial: number;
2193
+ assets_name: string;
2194
+ end_ts: string;
2195
+ hud_button: The0_HudButton;
2196
+ id: number;
2197
+ min_level: number;
2198
+ popup_type: string;
2199
+ show_on_startup: number;
2200
+ slides: The0_Slide[];
2201
+ start_ts: string;
2202
+ }
2203
+ export interface The0_HudButton {
2204
+ file: string;
2205
+ title: string;
2206
+ }
2207
+ export interface The0_Slide {
2208
+ custom_title_localized_key: string;
2209
+ image_url: string;
2210
+ link: string;
2211
+ link_button_key: string;
2212
+ slide_type: string;
2213
+ slide_type_2: string;
2214
+ timer?: string;
2215
+ times_to_show?: number;
2216
+ content_localized_key?: string;
2217
+ header_localized_key?: string;
2218
+ }
2219
+ export interface The1 {
2193
2220
  active_platforms: ValueClass;
2194
2221
  allow_island_tutorial: number;
2195
2222
  assets_name: string;
@@ -2203,27 +2230,27 @@ export interface The0 {
2203
2230
  popup_type: string;
2204
2231
  priority: number | null;
2205
2232
  show_on_startup: number;
2206
- slides: The0_Slide[];
2233
+ slides: The1_Slide[];
2207
2234
  start_ts: string;
2208
2235
  }
2209
- export interface The0_Slide {
2236
+ export interface The1_Slide {
2210
2237
  content_localized_key?: string;
2211
2238
  custom_title_localized_key: string;
2212
2239
  header_localized_key: string;
2213
2240
  image_url: string;
2214
- multiple_buttons?: MultipleButton[];
2241
+ multiple_buttons?: PurpleMultipleButton[];
2215
2242
  times_to_show: number;
2216
2243
  type: SlideType;
2217
2244
  forceClose?: boolean;
2218
2245
  }
2219
- export interface MultipleButton {
2246
+ export interface PurpleMultipleButton {
2220
2247
  animation: AnimationNameEnum;
2221
2248
  animationPlace: AnimationPlace;
2222
2249
  forceClose: boolean;
2223
2250
  glint: boolean;
2224
2251
  key: Key;
2225
2252
  link: string;
2226
- linkItemId?: number | string;
2253
+ linkItemId?: number;
2227
2254
  normalizedPosition: NormalizedPosition;
2228
2255
  size: Size;
2229
2256
  spineAsset: SpineAsset;
@@ -2255,7 +2282,7 @@ export declare enum Style {
2255
2282
  export declare enum SlideType {
2256
2283
  FullImage = "FullImage"
2257
2284
  }
2258
- export interface The1 {
2285
+ export interface The10 {
2259
2286
  active_platforms: ValueClass;
2260
2287
  allow_island_tutorial: number;
2261
2288
  assets_name: string;
@@ -2266,33 +2293,24 @@ export interface The1 {
2266
2293
  popup_frequency: string;
2267
2294
  popup_type: string;
2268
2295
  show_on_startup: number;
2269
- slides: The0_Slide[];
2296
+ slides: The1_Slide[];
2270
2297
  start_ts: string;
2271
2298
  }
2272
- export interface The10 {
2299
+ export interface The13 {
2273
2300
  active_platforms: ValueClass;
2274
2301
  allow_island_tutorial: number;
2275
2302
  assets_name: string;
2276
2303
  direct_to_shop: number;
2277
2304
  end_ts: string;
2278
- filter_category: null;
2279
- hud_button: HudButton;
2280
2305
  id: number;
2281
- label_text_tid: null;
2282
- label_title_tid: null;
2283
2306
  min_level: number;
2284
2307
  popup_frequency: string;
2308
+ popup_is_critical: boolean;
2285
2309
  popup_type: string;
2286
- priority: null;
2287
2310
  show_on_startup: number;
2288
2311
  slides: The0_Slide[];
2289
2312
  start_ts: string;
2290
2313
  }
2291
- export interface HudButton {
2292
- file: string;
2293
- title: string;
2294
- viral_icon_tier: number;
2295
- }
2296
2314
  export interface The14 {
2297
2315
  active_platforms: ValueClass;
2298
2316
  allow_island_tutorial: number;
@@ -2302,7 +2320,6 @@ export interface The14 {
2302
2320
  id: number;
2303
2321
  min_level: number;
2304
2322
  popup_frequency: string;
2305
- popup_is_critical: boolean;
2306
2323
  popup_type: string;
2307
2324
  show_on_startup: number;
2308
2325
  slides: The14_Slide[];
@@ -2311,22 +2328,34 @@ export interface The14 {
2311
2328
  export interface The14_Slide {
2312
2329
  content_localized_key: string;
2313
2330
  custom_title_localized_key: string;
2331
+ forceClose: boolean;
2314
2332
  header_localized_key: string;
2315
2333
  image_url: string;
2334
+ multiple_buttons: FluffyMultipleButton[];
2335
+ times_to_show: number;
2336
+ type: SlideType;
2337
+ }
2338
+ export interface FluffyMultipleButton {
2339
+ animation: AnimationNameEnum;
2340
+ animationPlace: AnimationPlace;
2341
+ forceClose: boolean;
2342
+ glint: boolean;
2343
+ key: Key;
2316
2344
  link: string;
2317
- link_button_key: string;
2318
- slide_type: string;
2319
- slide_type_2: string;
2320
- link_item_id?: number;
2345
+ linkItemId?: number | string;
2346
+ normalizedPosition: NormalizedPosition;
2347
+ size: Size;
2348
+ spineAsset: SpineAsset;
2349
+ style: Style;
2321
2350
  }
2322
- export interface The4 {
2351
+ export interface The8 {
2323
2352
  active_platforms: ValueClass;
2324
2353
  allow_island_tutorial: number;
2325
2354
  assets_name: string;
2326
2355
  direct_to_shop: number;
2327
2356
  end_ts: string;
2328
2357
  filter_category: null;
2329
- hud_button: HudButton;
2358
+ hud_button: The8_HudButton;
2330
2359
  id: number;
2331
2360
  label_text_tid: null;
2332
2361
  label_title_tid: null;
@@ -2335,16 +2364,21 @@ export interface The4 {
2335
2364
  popup_type: string;
2336
2365
  priority: null;
2337
2366
  show_on_startup: number;
2338
- slides: The14_Slide[];
2367
+ slides: The1_Slide[];
2339
2368
  start_ts: string;
2340
2369
  }
2370
+ export interface The8_HudButton {
2371
+ file: string;
2372
+ title: string;
2373
+ viral_icon_tier: number;
2374
+ }
2341
2375
  export interface Canva {
2342
2376
  id: number;
2343
2377
  assets_name: string;
2344
2378
  start_ts: number;
2345
2379
  end_ts: number;
2346
2380
  min_level: number;
2347
- slides: The0_Slide[];
2381
+ slides: The1_Slide[];
2348
2382
  show_on_startup: number;
2349
2383
  }
2350
2384
  export interface Perks {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",