@dchighs/dc-config 0.1.18 → 0.1.19

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,9 @@ 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;
2194
2196
  canvas: Canva[];
2195
2197
  }
2196
2198
  export interface The0 {
@@ -2245,7 +2247,7 @@ export interface The1 {
2245
2247
  start_ts: string;
2246
2248
  }
2247
2249
  export interface The1_Slide {
2248
- content_localized_key: string;
2250
+ content_localized_key?: string;
2249
2251
  custom_title_localized_key: string;
2250
2252
  forceClose?: boolean;
2251
2253
  header_localized_key: string;
@@ -2295,7 +2297,7 @@ export declare enum Style {
2295
2297
  export declare enum SlideType {
2296
2298
  FullImage = "FullImage"
2297
2299
  }
2298
- export interface The12 {
2300
+ export interface The13 {
2299
2301
  active_platforms: ValueClass;
2300
2302
  allow_island_tutorial: number;
2301
2303
  assets_name: string;
@@ -2370,46 +2372,11 @@ export interface The6_HudButton {
2370
2372
  export interface Canva {
2371
2373
  id: number;
2372
2374
  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;
2375
+ start_ts: number;
2376
+ end_ts: number;
2377
+ min_level: number;
2378
+ slides: The1_Slide[];
2379
+ show_on_startup: number;
2413
2380
  }
2414
2381
  export interface Perks {
2415
2382
  abilities: Ability[];
@@ -3137,7 +3104,7 @@ export interface TowerIsland {
3137
3104
  happy_hours: HappyHour[];
3138
3105
  parameters: FogIslandParameter[];
3139
3106
  currencies: Currency[];
3140
- actions: ActionElement[];
3107
+ actions: Action[];
3141
3108
  }
3142
3109
  export interface Floor {
3143
3110
  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.19",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",