@dchighs/dc-config 0.1.18 → 0.1.20

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;
@@ -1395,7 +1395,7 @@ export interface GridIsland {
1395
1395
  encounters: Encounter[];
1396
1396
  enemies: GridIslandEnemy[];
1397
1397
  currencies: Currency[];
1398
- actions: ActionElement[];
1398
+ actions: Action[];
1399
1399
  parameters: FogIslandParameter[];
1400
1400
  }
1401
1401
  export interface Decoration {
@@ -2086,7 +2086,7 @@ export interface MazeIsland {
2086
2086
  encounters: Encounter[];
2087
2087
  enemies: GridIslandEnemy[];
2088
2088
  happy_hours: any[];
2089
- actions: ActionElement[];
2089
+ actions: Action[];
2090
2090
  clouds: Cloud[];
2091
2091
  currencies: Currency[];
2092
2092
  parameters: FogIslandParameter[];
@@ -2181,8 +2181,8 @@ export interface News {
2181
2181
  "0": The0;
2182
2182
  "1": The1;
2183
2183
  "2": The2;
2184
- "3": The12;
2185
- "4": The12;
2184
+ "3": The13;
2185
+ "4": The13;
2186
2186
  "5": The5;
2187
2187
  "6": The6;
2188
2188
  "7": The1;
@@ -2190,7 +2190,10 @@ export interface News {
2190
2190
  "9": The1;
2191
2191
  "10": The1;
2192
2192
  "11": The1;
2193
- "12": The12;
2193
+ "12": The1;
2194
+ "13": The13;
2195
+ "14": The1;
2196
+ "15": The1;
2194
2197
  canvas: Canva[];
2195
2198
  }
2196
2199
  export interface The0 {
@@ -2218,9 +2221,9 @@ export interface The0_HudButton {
2218
2221
  viral_icon_tier: number;
2219
2222
  }
2220
2223
  export interface The0_Slide {
2221
- content_localized_key: string;
2224
+ content_localized_key?: string;
2222
2225
  custom_title_localized_key: string;
2223
- header_localized_key: string;
2226
+ header_localized_key?: string;
2224
2227
  image_url: string;
2225
2228
  link: string;
2226
2229
  link_button_key: string;
@@ -2245,7 +2248,7 @@ export interface The1 {
2245
2248
  start_ts: string;
2246
2249
  }
2247
2250
  export interface The1_Slide {
2248
- content_localized_key: string;
2251
+ content_localized_key?: string;
2249
2252
  custom_title_localized_key: string;
2250
2253
  forceClose?: boolean;
2251
2254
  header_localized_key: string;
@@ -2295,7 +2298,7 @@ export declare enum Style {
2295
2298
  export declare enum SlideType {
2296
2299
  FullImage = "FullImage"
2297
2300
  }
2298
- export interface The12 {
2301
+ export interface The13 {
2299
2302
  active_platforms: ValueClass;
2300
2303
  allow_island_tutorial: number;
2301
2304
  assets_name: string;
@@ -2370,46 +2373,11 @@ export interface The6_HudButton {
2370
2373
  export interface Canva {
2371
2374
  id: number;
2372
2375
  assets_name: string;
2373
- start_ts: number | string;
2374
- end_ts: number | string;
2375
- min_level?: number;
2376
- slides: CanvaSlide[];
2377
- show_on_startup?: number;
2378
- }
2379
- export interface CanvaSlide {
2380
- custom_title_localized_key?: string;
2381
- header_localized_key?: string;
2382
- image_url?: string;
2383
- times_to_show?: number;
2384
- type?: SlideType;
2385
- multiple_buttons?: MultipleButton[];
2386
- bg?: string;
2387
- content?: Content[];
2388
- edit_mode?: number;
2389
- id?: number;
2390
- title_key?: string;
2391
- viral_icon_key?: string;
2392
- viral_icon_timer?: string;
2393
- }
2394
- export interface Content {
2395
- height: number;
2396
- rotation: number;
2397
- stroke?: string;
2398
- text_color?: string;
2399
- text_key: string;
2400
- text_size?: number;
2401
- timer?: number;
2402
- type: string;
2403
- width: number;
2404
- x: number;
2405
- y: number;
2406
- action?: ContentAction;
2407
- style?: string;
2408
- }
2409
- export interface ContentAction {
2410
- itemId: string;
2411
- storeCategory: number;
2412
- type: string;
2376
+ start_ts: number;
2377
+ end_ts: number;
2378
+ min_level: number;
2379
+ slides: The1_Slide[];
2380
+ show_on_startup: number;
2413
2381
  }
2414
2382
  export interface Perks {
2415
2383
  abilities: Ability[];
@@ -3137,7 +3105,7 @@ export interface TowerIsland {
3137
3105
  happy_hours: HappyHour[];
3138
3106
  parameters: FogIslandParameter[];
3139
3107
  currencies: Currency[];
3140
- actions: ActionElement[];
3108
+ actions: Action[];
3141
3109
  }
3142
3110
  export interface Floor {
3143
3111
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",