@dchighs/dc-config 0.1.2 → 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.
@@ -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[];
@@ -2169,54 +2169,27 @@ export interface MazeIslandReward {
2169
2169
  export interface News {
2170
2170
  "0": The0;
2171
2171
  "1": The1;
2172
- "2": The11;
2173
- "3": The11;
2174
- "4": The1;
2175
- "5": The11;
2176
- "6": The11;
2177
- "7": The1;
2178
- "8": The11;
2179
- "9": 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;
2180
2180
  "10": The10;
2181
- "11": The11;
2182
- "12": The1;
2183
- "13": The1;
2181
+ "11": The1;
2182
+ "12": The0;
2183
+ "13": The0;
2184
2184
  "14": The14;
2185
- "15": The11;
2186
- "16": The16;
2187
- "17": The11;
2185
+ "15": The1;
2186
+ "16": The0;
2187
+ "17": The1;
2188
+ "18": The1;
2189
+ "19": The1;
2188
2190
  canvas: Canva[];
2189
2191
  }
2190
2192
  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
- content_localized_key: string;
2209
- custom_title_localized_key: string;
2210
- header_localized_key: string;
2211
- image_url: string;
2212
- link: string;
2213
- link_button_key: string;
2214
- slide_type: string;
2215
- slide_type_2: string;
2216
- timer?: string;
2217
- times_to_show?: number;
2218
- }
2219
- export interface The1 {
2220
2193
  active_platforms: ValueClass;
2221
2194
  allow_island_tutorial: number;
2222
2195
  assets_name: string;
@@ -2230,11 +2203,11 @@ export interface The1 {
2230
2203
  popup_type: string;
2231
2204
  priority: number | null;
2232
2205
  show_on_startup: number;
2233
- slides: The1_Slide[];
2206
+ slides: The0_Slide[];
2234
2207
  start_ts: string;
2235
2208
  }
2236
- export interface The1_Slide {
2237
- content_localized_key: string;
2209
+ export interface The0_Slide {
2210
+ content_localized_key?: string;
2238
2211
  custom_title_localized_key: string;
2239
2212
  header_localized_key: string;
2240
2213
  image_url: string;
@@ -2282,44 +2255,44 @@ export declare enum Style {
2282
2255
  export declare enum SlideType {
2283
2256
  FullImage = "FullImage"
2284
2257
  }
2285
- export interface The10 {
2258
+ export interface The1 {
2286
2259
  active_platforms: ValueClass;
2287
2260
  allow_island_tutorial: number;
2288
2261
  assets_name: string;
2289
2262
  direct_to_shop: number;
2290
2263
  end_ts: string;
2291
- filter_category: null;
2292
- hud_button: The10_HudButton;
2293
2264
  id: number;
2294
- label_text_tid: null;
2295
- label_title_tid: null;
2296
2265
  min_level: number;
2297
2266
  popup_frequency: string;
2298
2267
  popup_type: string;
2299
- priority: null;
2300
2268
  show_on_startup: number;
2301
- slides: The1_Slide[];
2269
+ slides: The0_Slide[];
2302
2270
  start_ts: string;
2303
2271
  }
2304
- export interface The10_HudButton {
2305
- file: string;
2306
- title: string;
2307
- viral_icon_tier: number;
2308
- }
2309
- export interface The11 {
2272
+ export interface The10 {
2310
2273
  active_platforms: ValueClass;
2311
2274
  allow_island_tutorial: number;
2312
2275
  assets_name: string;
2313
2276
  direct_to_shop: number;
2314
2277
  end_ts: string;
2278
+ filter_category: null;
2279
+ hud_button: HudButton;
2315
2280
  id: number;
2281
+ label_text_tid: null;
2282
+ label_title_tid: null;
2316
2283
  min_level: number;
2317
2284
  popup_frequency: string;
2318
2285
  popup_type: string;
2286
+ priority: null;
2319
2287
  show_on_startup: number;
2320
- slides: The1_Slide[];
2288
+ slides: The0_Slide[];
2321
2289
  start_ts: string;
2322
2290
  }
2291
+ export interface HudButton {
2292
+ file: string;
2293
+ title: string;
2294
+ viral_icon_tier: number;
2295
+ }
2323
2296
  export interface The14 {
2324
2297
  active_platforms: ValueClass;
2325
2298
  allow_island_tutorial: number;
@@ -2332,69 +2305,47 @@ export interface The14 {
2332
2305
  popup_is_critical: boolean;
2333
2306
  popup_type: string;
2334
2307
  show_on_startup: number;
2335
- slides: The0_Slide[];
2308
+ slides: The14_Slide[];
2336
2309
  start_ts: string;
2337
2310
  }
2338
- export interface The16 {
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;
2321
+ }
2322
+ export interface The4 {
2339
2323
  active_platforms: ValueClass;
2340
2324
  allow_island_tutorial: number;
2341
2325
  assets_name: string;
2342
2326
  direct_to_shop: number;
2343
2327
  end_ts: string;
2344
2328
  filter_category: null;
2329
+ hud_button: HudButton;
2345
2330
  id: number;
2346
2331
  label_text_tid: null;
2347
2332
  label_title_tid: null;
2348
2333
  min_level: number;
2334
+ popup_frequency: string;
2349
2335
  popup_type: string;
2350
2336
  priority: null;
2351
2337
  show_on_startup: number;
2352
- slides: The1_Slide[];
2338
+ slides: The14_Slide[];
2353
2339
  start_ts: string;
2354
2340
  }
2355
2341
  export interface Canva {
2356
2342
  id: number;
2357
2343
  assets_name: string;
2358
- start_ts: number | string;
2359
- end_ts: number | string;
2360
- min_level?: number;
2361
- slides: CanvaSlide[];
2362
- show_on_startup?: number;
2363
- }
2364
- export interface CanvaSlide {
2365
- custom_title_localized_key?: string;
2366
- header_localized_key?: string;
2367
- image_url?: string;
2368
- times_to_show?: number;
2369
- type?: SlideType;
2370
- multiple_buttons?: MultipleButton[];
2371
- bg?: string;
2372
- content?: Content[];
2373
- edit_mode?: number;
2374
- id?: number;
2375
- title_key?: string;
2376
- viral_icon_key?: string;
2377
- viral_icon_timer?: string;
2378
- }
2379
- export interface Content {
2380
- height: number;
2381
- rotation: number;
2382
- stroke?: string;
2383
- text_color?: string;
2384
- text_key: string;
2385
- text_size?: number;
2386
- timer?: number;
2387
- type: string;
2388
- width: number;
2389
- x: number;
2390
- y: number;
2391
- action?: ContentAction;
2392
- style?: string;
2393
- }
2394
- export interface ContentAction {
2395
- itemId: string;
2396
- storeCategory: number;
2397
- type: string;
2344
+ start_ts: number;
2345
+ end_ts: number;
2346
+ min_level: number;
2347
+ slides: The0_Slide[];
2348
+ show_on_startup: number;
2398
2349
  }
2399
2350
  export interface Perks {
2400
2351
  abilities: Ability[];
@@ -3112,7 +3063,7 @@ export interface TowerIsland {
3112
3063
  happy_hours: HappyHour[];
3113
3064
  parameters: FogIslandParameter[];
3114
3065
  currencies: Currency[];
3115
- actions: ActionElement[];
3066
+ actions: Action[];
3116
3067
  }
3117
3068
  export interface Floor {
3118
3069
  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.4",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",