@dchighs/dc-config 0.1.2 → 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[];
@@ -2170,27 +2170,32 @@ export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
2172
  "2": The11;
2173
- "3": The11;
2174
- "4": The1;
2173
+ "3": The10;
2174
+ "4": The10;
2175
2175
  "5": The11;
2176
- "6": The11;
2177
- "7": The1;
2178
- "8": The11;
2179
- "9": The1;
2176
+ "6": The6;
2177
+ "7": The10;
2178
+ "8": The10;
2179
+ "9": The11;
2180
2180
  "10": The10;
2181
2181
  "11": The11;
2182
- "12": The1;
2183
- "13": The1;
2184
- "14": The14;
2182
+ "12": The12;
2183
+ "13": The10;
2184
+ "14": The11;
2185
2185
  "15": The11;
2186
2186
  "16": The16;
2187
- "17": The11;
2187
+ "17": The10;
2188
+ "18": The18;
2189
+ "19": The10;
2190
+ "20": The10;
2191
+ "21": The10;
2188
2192
  canvas: Canva[];
2189
2193
  }
2190
2194
  export interface The0 {
2191
2195
  active_platforms: ValueClass;
2192
2196
  allow_island_tutorial: number;
2193
2197
  assets_name: string;
2198
+ direct_to_shop: number;
2194
2199
  end_ts: string;
2195
2200
  hud_button: The0_HudButton;
2196
2201
  id: number;
@@ -2203,6 +2208,7 @@ export interface The0 {
2203
2208
  export interface The0_HudButton {
2204
2209
  file: string;
2205
2210
  title: string;
2211
+ viral_icon_tier: number;
2206
2212
  }
2207
2213
  export interface The0_Slide {
2208
2214
  content_localized_key: string;
@@ -2215,33 +2221,48 @@ export interface The0_Slide {
2215
2221
  slide_type_2: string;
2216
2222
  timer?: string;
2217
2223
  times_to_show?: number;
2224
+ link_item_id?: number;
2218
2225
  }
2219
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 {
2220
2244
  active_platforms: ValueClass;
2221
2245
  allow_island_tutorial: number;
2222
2246
  assets_name: string;
2223
2247
  direct_to_shop: number;
2224
2248
  end_ts: string;
2225
- filter_category: null;
2226
2249
  id: number;
2227
- label_text_tid: null;
2228
- label_title_tid: null;
2229
2250
  min_level: number;
2251
+ popup_frequency: string;
2230
2252
  popup_type: string;
2231
- priority: number | null;
2232
2253
  show_on_startup: number;
2233
- slides: The1_Slide[];
2254
+ slides: The10_Slide[];
2234
2255
  start_ts: string;
2235
2256
  }
2236
- export interface The1_Slide {
2257
+ export interface The10_Slide {
2237
2258
  content_localized_key: string;
2238
2259
  custom_title_localized_key: string;
2260
+ forceClose?: boolean;
2239
2261
  header_localized_key: string;
2240
2262
  image_url: string;
2241
2263
  multiple_buttons?: MultipleButton[];
2242
2264
  times_to_show: number;
2243
2265
  type: SlideType;
2244
- forceClose?: boolean;
2245
2266
  }
2246
2267
  export interface MultipleButton {
2247
2268
  animation: AnimationNameEnum;
@@ -2282,45 +2303,43 @@ export declare enum Style {
2282
2303
  export declare enum SlideType {
2283
2304
  FullImage = "FullImage"
2284
2305
  }
2285
- export interface The10 {
2306
+ export interface The11 {
2286
2307
  active_platforms: ValueClass;
2287
2308
  allow_island_tutorial: number;
2288
2309
  assets_name: string;
2289
2310
  direct_to_shop: number;
2290
2311
  end_ts: string;
2291
2312
  filter_category: null;
2292
- hud_button: The10_HudButton;
2293
2313
  id: number;
2294
2314
  label_text_tid: null;
2295
2315
  label_title_tid: null;
2296
2316
  min_level: number;
2297
- popup_frequency: string;
2298
2317
  popup_type: string;
2299
- priority: null;
2318
+ priority: number | null;
2300
2319
  show_on_startup: number;
2301
- slides: The1_Slide[];
2320
+ slides: The10_Slide[];
2302
2321
  start_ts: string;
2303
2322
  }
2304
- export interface The10_HudButton {
2305
- file: string;
2306
- title: string;
2307
- viral_icon_tier: number;
2308
- }
2309
- export interface The11 {
2323
+ export interface The12 {
2310
2324
  active_platforms: ValueClass;
2311
2325
  allow_island_tutorial: number;
2312
2326
  assets_name: string;
2313
2327
  direct_to_shop: number;
2314
2328
  end_ts: string;
2329
+ filter_category: null;
2330
+ hud_button: The0_HudButton;
2315
2331
  id: number;
2332
+ label_text_tid: null;
2333
+ label_title_tid: null;
2316
2334
  min_level: number;
2317
2335
  popup_frequency: string;
2318
2336
  popup_type: string;
2337
+ priority: null;
2319
2338
  show_on_startup: number;
2320
- slides: The1_Slide[];
2339
+ slides: The10_Slide[];
2321
2340
  start_ts: string;
2322
2341
  }
2323
- export interface The14 {
2342
+ export interface The16 {
2324
2343
  active_platforms: ValueClass;
2325
2344
  allow_island_tutorial: number;
2326
2345
  assets_name: string;
@@ -2335,21 +2354,40 @@ export interface The14 {
2335
2354
  slides: The0_Slide[];
2336
2355
  start_ts: string;
2337
2356
  }
2338
- export interface The16 {
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;
2373
+ }
2374
+ export interface The6 {
2339
2375
  active_platforms: ValueClass;
2340
2376
  allow_island_tutorial: number;
2341
2377
  assets_name: string;
2342
2378
  direct_to_shop: number;
2343
2379
  end_ts: string;
2344
2380
  filter_category: null;
2381
+ hud_button: The0_HudButton;
2345
2382
  id: number;
2346
2383
  label_text_tid: null;
2347
2384
  label_title_tid: null;
2348
2385
  min_level: number;
2386
+ popup_frequency: string;
2349
2387
  popup_type: string;
2350
2388
  priority: null;
2351
2389
  show_on_startup: number;
2352
- slides: The1_Slide[];
2390
+ slides: The0_Slide[];
2353
2391
  start_ts: string;
2354
2392
  }
2355
2393
  export interface Canva {
@@ -2357,9 +2395,10 @@ export interface Canva {
2357
2395
  assets_name: string;
2358
2396
  start_ts: number | string;
2359
2397
  end_ts: number | string;
2360
- min_level?: number;
2398
+ min_level: number;
2361
2399
  slides: CanvaSlide[];
2362
- show_on_startup?: number;
2400
+ show_on_startup: number;
2401
+ priority?: string;
2363
2402
  }
2364
2403
  export interface CanvaSlide {
2365
2404
  custom_title_localized_key?: string;
@@ -2379,22 +2418,15 @@ export interface CanvaSlide {
2379
2418
  export interface Content {
2380
2419
  height: number;
2381
2420
  rotation: number;
2382
- stroke?: string;
2383
- text_color?: string;
2421
+ stroke: string;
2422
+ text_color: string;
2384
2423
  text_key: string;
2385
- text_size?: number;
2386
- timer?: number;
2424
+ text_size: number;
2425
+ timer: number;
2387
2426
  type: string;
2388
2427
  width: number;
2389
2428
  x: number;
2390
2429
  y: number;
2391
- action?: ContentAction;
2392
- style?: string;
2393
- }
2394
- export interface ContentAction {
2395
- itemId: string;
2396
- storeCategory: number;
2397
- type: string;
2398
2430
  }
2399
2431
  export interface Perks {
2400
2432
  abilities: Ability[];
@@ -3112,7 +3144,7 @@ export interface TowerIsland {
3112
3144
  happy_hours: HappyHour[];
3113
3145
  parameters: FogIslandParameter[];
3114
3146
  currencies: Currency[];
3115
- actions: ActionElement[];
3147
+ actions: Action[];
3116
3148
  }
3117
3149
  export interface Floor {
3118
3150
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.2",
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",