@dchighs/dc-config 0.0.5 → 0.0.7

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.
@@ -2129,9 +2129,6 @@ export interface NodeReward {
2129
2129
  b?: number[] | number;
2130
2130
  chest?: number;
2131
2131
  f?: number;
2132
- "pet_food_pack.s"?: number;
2133
- "pet_food_pack.l"?: number;
2134
- "pet_food_pack.m"?: number;
2135
2132
  skin?: number;
2136
2133
  "album_pack.s"?: number;
2137
2134
  "album_pack.m"?: number;
@@ -2162,17 +2159,22 @@ export interface MazeIslandReward {
2162
2159
  export interface News {
2163
2160
  "0": The0;
2164
2161
  "1": The1;
2165
- "2": The10;
2162
+ "2": The0;
2166
2163
  "3": The3;
2167
- "4": The4;
2168
- "5": The5;
2169
- "6": The11;
2164
+ "4": The12;
2165
+ "5": The10;
2166
+ "6": The10;
2170
2167
  "7": The10;
2171
- "8": The10;
2172
- "9": The10;
2168
+ "8": The12;
2169
+ "9": The9;
2173
2170
  "10": The10;
2174
- "11": The11;
2175
- "12": The10;
2171
+ "11": The10;
2172
+ "12": The12;
2173
+ "13": The10;
2174
+ "14": The10;
2175
+ "15": The12;
2176
+ "16": The16;
2177
+ "17": The12;
2176
2178
  canvas: Canva[];
2177
2179
  }
2178
2180
  export interface The0 {
@@ -2181,15 +2183,11 @@ export interface The0 {
2181
2183
  assets_name: string;
2182
2184
  direct_to_shop: number;
2183
2185
  end_ts: string;
2184
- filter_category: null;
2185
2186
  hud_button: The0_HudButton;
2186
2187
  id: number;
2187
- label_text_tid: null;
2188
- label_title_tid: null;
2189
2188
  min_level: number;
2190
- popup_frequency: string;
2189
+ popup_frequency?: string;
2191
2190
  popup_type: string;
2192
- priority: null;
2193
2191
  show_on_startup: number;
2194
2192
  slides: The0_Slide[];
2195
2193
  start_ts: string;
@@ -2202,12 +2200,54 @@ export interface The0_HudButton {
2202
2200
  export interface The0_Slide {
2203
2201
  content_localized_key?: string;
2204
2202
  custom_title_localized_key: string;
2205
- forceClose?: boolean;
2203
+ header_localized_key?: string;
2204
+ image_url: string;
2205
+ link: string;
2206
+ link_button_key: string;
2207
+ slide_type: string;
2208
+ slide_type_2: string;
2209
+ timer?: string;
2210
+ times_to_show?: number;
2211
+ link_item_id?: number;
2212
+ }
2213
+ export interface The1 {
2214
+ active_platforms: ValueClass;
2215
+ allow_island_tutorial: number;
2216
+ assets_name: string;
2217
+ direct_to_shop: number;
2218
+ end_ts: string;
2219
+ id: number;
2220
+ min_level: number;
2221
+ popup_frequency: string;
2222
+ popup_is_critical: boolean;
2223
+ popup_type: string;
2224
+ show_on_startup: number;
2225
+ slides: The0_Slide[];
2226
+ start_ts: string;
2227
+ }
2228
+ export interface The10 {
2229
+ active_platforms: ValueClass;
2230
+ allow_island_tutorial: number;
2231
+ assets_name: string;
2232
+ direct_to_shop: number;
2233
+ end_ts: string;
2234
+ id: number;
2235
+ min_level: number;
2236
+ popup_frequency: string;
2237
+ popup_type: string;
2238
+ show_on_startup: number;
2239
+ slides: The10_Slide[];
2240
+ start_ts: string;
2241
+ }
2242
+ export interface The10_Slide {
2243
+ custom_title_localized_key: string;
2206
2244
  header_localized_key: string;
2207
2245
  image_url: string;
2208
2246
  multiple_buttons: MultipleButton[];
2209
2247
  times_to_show: number;
2210
2248
  type: SlideType;
2249
+ content_localized_key?: string;
2250
+ forceClose?: boolean;
2211
2251
  }
2212
2252
  export interface MultipleButton {
2213
2253
  animation: AnimationNameEnum;
@@ -2216,11 +2256,11 @@ export interface MultipleButton {
2216
2256
  glint: boolean;
2217
2257
  key: Key;
2218
2258
  link: string;
2259
+ linkItemId?: number | string;
2219
2260
  normalizedPosition: NormalizedPosition;
2220
2261
  size: Size;
2221
2262
  spineAsset: SpineAsset;
2222
2263
  style: Style;
2223
- linkItemId?: number | string;
2224
2264
  }
2225
2265
  export declare enum AnimationPlace {
2226
2266
  Foreground = "Foreground"
@@ -2248,48 +2288,7 @@ export declare enum Style {
2248
2288
  export declare enum SlideType {
2249
2289
  FullImage = "FullImage"
2250
2290
  }
2251
- export interface The1 {
2252
- active_platforms: ValueClass;
2253
- allow_island_tutorial: number;
2254
- assets_name: string;
2255
- direct_to_shop: number;
2256
- end_ts: string;
2257
- id: number;
2258
- min_level: number;
2259
- popup_frequency: string;
2260
- popup_is_critical: boolean;
2261
- popup_type: string;
2262
- show_on_startup: number;
2263
- slides: The1_Slide[];
2264
- start_ts: string;
2265
- }
2266
- export interface The1_Slide {
2267
- content_localized_key?: string;
2268
- custom_title_localized_key: string;
2269
- header_localized_key?: string;
2270
- image_url: string;
2271
- link: string;
2272
- link_button_key: string;
2273
- slide_type: string;
2274
- slide_type_2: string;
2275
- timer?: string;
2276
- times_to_show?: number;
2277
- }
2278
- export interface The10 {
2279
- active_platforms: ValueClass;
2280
- allow_island_tutorial: number;
2281
- assets_name: string;
2282
- direct_to_shop: number;
2283
- end_ts: string;
2284
- id: number;
2285
- min_level: number;
2286
- popup_frequency: string;
2287
- popup_type: string;
2288
- show_on_startup: number;
2289
- slides: The0_Slide[];
2290
- start_ts: string;
2291
- }
2292
- export interface The11 {
2291
+ export interface The12 {
2293
2292
  active_platforms: ValueClass;
2294
2293
  allow_island_tutorial: number;
2295
2294
  assets_name: string;
@@ -2301,12 +2300,12 @@ export interface The11 {
2301
2300
  label_title_tid: null;
2302
2301
  min_level: number;
2303
2302
  popup_type: string;
2304
- priority: null;
2303
+ priority: number | null;
2305
2304
  show_on_startup: number;
2306
- slides: The0_Slide[];
2305
+ slides: The10_Slide[];
2307
2306
  start_ts: string;
2308
2307
  }
2309
- export interface The3 {
2308
+ export interface The16 {
2310
2309
  active_platforms: ValueClass;
2311
2310
  allow_island_tutorial: number;
2312
2311
  assets_name: string;
@@ -2318,51 +2317,86 @@ export interface The3 {
2318
2317
  label_text_tid: null;
2319
2318
  label_title_tid: null;
2320
2319
  min_level: number;
2320
+ popup_frequency: string;
2321
2321
  popup_type: string;
2322
2322
  priority: null;
2323
2323
  show_on_startup: number;
2324
- slides: The0_Slide[];
2324
+ slides: The10_Slide[];
2325
2325
  start_ts: string;
2326
2326
  }
2327
- export interface The4 {
2327
+ export interface The3 {
2328
2328
  active_platforms: ValueClass;
2329
2329
  allow_island_tutorial: number;
2330
2330
  assets_name: string;
2331
2331
  end_ts: string;
2332
- hud_button: The4_HudButton;
2332
+ hud_button: The3_HudButton;
2333
2333
  id: number;
2334
2334
  min_level: number;
2335
2335
  popup_type: string;
2336
2336
  show_on_startup: number;
2337
- slides: The1_Slide[];
2337
+ slides: The0_Slide[];
2338
2338
  start_ts: string;
2339
2339
  }
2340
- export interface The4_HudButton {
2340
+ export interface The3_HudButton {
2341
2341
  file: string;
2342
2342
  title: string;
2343
2343
  }
2344
- export interface The5 {
2344
+ export interface The9 {
2345
2345
  active_platforms: ValueClass;
2346
2346
  allow_island_tutorial: number;
2347
2347
  assets_name: string;
2348
2348
  direct_to_shop: number;
2349
2349
  end_ts: string;
2350
+ filter_category: null;
2350
2351
  hud_button: The0_HudButton;
2351
2352
  id: number;
2353
+ label_text_tid: null;
2354
+ label_title_tid: null;
2352
2355
  min_level: number;
2356
+ popup_frequency: string;
2353
2357
  popup_type: string;
2358
+ priority: null;
2354
2359
  show_on_startup: number;
2355
- slides: The1_Slide[];
2360
+ slides: The0_Slide[];
2356
2361
  start_ts: string;
2357
2362
  }
2358
2363
  export interface Canva {
2359
2364
  id: number;
2360
2365
  assets_name: string;
2361
- start_ts: number;
2362
- end_ts: number;
2366
+ start_ts: number | string;
2367
+ end_ts: number | string;
2363
2368
  min_level: number;
2364
- slides: The0_Slide[];
2369
+ slides: CanvaSlide[];
2365
2370
  show_on_startup: number;
2371
+ priority?: string;
2372
+ }
2373
+ export interface CanvaSlide {
2374
+ custom_title_localized_key?: string;
2375
+ header_localized_key?: string;
2376
+ image_url?: string;
2377
+ times_to_show?: number;
2378
+ type?: SlideType;
2379
+ multiple_buttons?: MultipleButton[];
2380
+ bg?: string;
2381
+ content?: Content[];
2382
+ edit_mode?: number;
2383
+ id?: number;
2384
+ title_key?: string;
2385
+ viral_icon_key?: string;
2386
+ viral_icon_timer?: string;
2387
+ }
2388
+ export interface Content {
2389
+ height: number;
2390
+ rotation: number;
2391
+ stroke: string;
2392
+ text_color: string;
2393
+ text_key: string;
2394
+ text_size: number;
2395
+ timer: number;
2396
+ type: string;
2397
+ width: number;
2398
+ x: number;
2399
+ y: number;
2366
2400
  }
2367
2401
  export interface Perks {
2368
2402
  abilities: Ability[];
@@ -3270,8 +3304,8 @@ export interface MultiplierTime {
3270
3304
  multiplier_time: number;
3271
3305
  }
3272
3306
  export interface TreeOfLifePowerupRaritySeed {
3273
- max_rarity_seeds_per_grade: number[];
3274
3307
  rarity: Rarity;
3308
+ max_rarity_seeds_per_grade: number[];
3275
3309
  }
3276
3310
  export interface Visual {
3277
3311
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",