@dchighs/dc-config 0.0.8 → 0.0.9

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: Action[];
1184
+ actions: ActionElement[];
1185
1185
  hints: Hint[];
1186
1186
  parameters: FogIslandParameter[];
1187
1187
  }
1188
- export interface Action {
1188
+ export interface ActionElement {
1189
1189
  id: number;
1190
1190
  type: ActionType;
1191
1191
  tid_name: TidName;
@@ -1383,7 +1383,7 @@ export interface GridIsland {
1383
1383
  encounters: Encounter[];
1384
1384
  enemies: GridIslandEnemy[];
1385
1385
  currencies: Currency[];
1386
- actions: Action[];
1386
+ actions: ActionElement[];
1387
1387
  parameters: FogIslandParameter[];
1388
1388
  }
1389
1389
  export interface Decoration {
@@ -2074,7 +2074,7 @@ export interface MazeIsland {
2074
2074
  encounters: Encounter[];
2075
2075
  enemies: GridIslandEnemy[];
2076
2076
  happy_hours: any[];
2077
- actions: Action[];
2077
+ actions: ActionElement[];
2078
2078
  clouds: Cloud[];
2079
2079
  currencies: Currency[];
2080
2080
  parameters: FogIslandParameter[];
@@ -2159,21 +2159,19 @@ export interface MazeIslandReward {
2159
2159
  export interface News {
2160
2160
  "0": The0;
2161
2161
  "1": The1;
2162
- "2": The2;
2163
- "3": The11;
2164
- "4": The10;
2162
+ "2": The10;
2163
+ "3": The12;
2164
+ "4": The12;
2165
2165
  "5": The10;
2166
- "6": The10;
2167
- "7": The11;
2168
- "8": The8;
2169
- "9": The10;
2166
+ "6": The12;
2167
+ "7": The10;
2168
+ "8": The12;
2169
+ "9": The12;
2170
2170
  "10": The10;
2171
2171
  "11": The11;
2172
- "12": The10;
2172
+ "12": The12;
2173
2173
  "13": The10;
2174
- "14": The11;
2175
- "15": The15;
2176
- "16": The11;
2174
+ "14": The10;
2177
2175
  canvas: Canva[];
2178
2176
  }
2179
2177
  export interface The0 {
@@ -2182,20 +2180,15 @@ export interface The0 {
2182
2180
  assets_name: string;
2183
2181
  direct_to_shop: number;
2184
2182
  end_ts: string;
2185
- hud_button: The0_HudButton;
2186
2183
  id: number;
2187
2184
  min_level: number;
2188
2185
  popup_frequency: string;
2186
+ popup_is_critical: boolean;
2189
2187
  popup_type: string;
2190
2188
  show_on_startup: number;
2191
2189
  slides: The0_Slide[];
2192
2190
  start_ts: string;
2193
2191
  }
2194
- export interface The0_HudButton {
2195
- file: string;
2196
- title: string;
2197
- viral_icon_tier: number;
2198
- }
2199
2192
  export interface The0_Slide {
2200
2193
  content_localized_key: string;
2201
2194
  custom_title_localized_key: string;
@@ -2207,39 +2200,43 @@ export interface The0_Slide {
2207
2200
  slide_type_2: string;
2208
2201
  timer?: string;
2209
2202
  times_to_show?: number;
2210
- link_item_id?: number;
2211
2203
  }
2212
2204
  export interface The1 {
2213
2205
  active_platforms: ValueClass;
2214
2206
  allow_island_tutorial: number;
2215
2207
  assets_name: string;
2216
- direct_to_shop: number;
2217
2208
  end_ts: string;
2209
+ hud_button: The1_HudButton;
2218
2210
  id: number;
2219
2211
  min_level: number;
2220
- popup_frequency: string;
2221
- popup_is_critical: boolean;
2222
2212
  popup_type: string;
2223
2213
  show_on_startup: number;
2224
2214
  slides: The0_Slide[];
2225
2215
  start_ts: string;
2226
2216
  }
2217
+ export interface The1_HudButton {
2218
+ file: string;
2219
+ title: string;
2220
+ }
2227
2221
  export interface The10 {
2228
2222
  active_platforms: ValueClass;
2229
2223
  allow_island_tutorial: number;
2230
2224
  assets_name: string;
2231
2225
  direct_to_shop: number;
2232
2226
  end_ts: string;
2227
+ filter_category: null;
2233
2228
  id: number;
2229
+ label_text_tid: null;
2230
+ label_title_tid: null;
2234
2231
  min_level: number;
2235
- popup_frequency: string;
2236
2232
  popup_type: string;
2233
+ priority: number | null;
2237
2234
  show_on_startup: number;
2238
2235
  slides: The10_Slide[];
2239
2236
  start_ts: string;
2240
2237
  }
2241
2238
  export interface The10_Slide {
2242
- content_localized_key?: string;
2239
+ content_localized_key: string;
2243
2240
  custom_title_localized_key: string;
2244
2241
  header_localized_key: string;
2245
2242
  image_url: string;
@@ -2255,11 +2252,11 @@ export interface MultipleButton {
2255
2252
  glint: boolean;
2256
2253
  key: Key;
2257
2254
  link: string;
2255
+ linkItemId?: number | string;
2258
2256
  normalizedPosition: NormalizedPosition;
2259
2257
  size: Size;
2260
2258
  spineAsset: SpineAsset;
2261
2259
  style: Style;
2262
- linkItemId?: number | string;
2263
2260
  }
2264
2261
  export declare enum AnimationPlace {
2265
2262
  Foreground = "Foreground"
@@ -2294,24 +2291,7 @@ export interface The11 {
2294
2291
  direct_to_shop: number;
2295
2292
  end_ts: string;
2296
2293
  filter_category: null;
2297
- id: number;
2298
- label_text_tid: null;
2299
- label_title_tid: null;
2300
- min_level: number;
2301
- popup_type: string;
2302
- priority: number | null;
2303
- show_on_startup: number;
2304
- slides: The10_Slide[];
2305
- start_ts: string;
2306
- }
2307
- export interface The15 {
2308
- active_platforms: ValueClass;
2309
- allow_island_tutorial: number;
2310
- assets_name: string;
2311
- direct_to_shop: number;
2312
- end_ts: string;
2313
- filter_category: null;
2314
- hud_button: The0_HudButton;
2294
+ hud_button: The11_HudButton;
2315
2295
  id: number;
2316
2296
  label_text_tid: null;
2317
2297
  label_title_tid: null;
@@ -2323,50 +2303,68 @@ export interface The15 {
2323
2303
  slides: The10_Slide[];
2324
2304
  start_ts: string;
2325
2305
  }
2326
- export interface The2 {
2327
- active_platforms: ValueClass;
2328
- allow_island_tutorial: number;
2329
- assets_name: string;
2330
- end_ts: string;
2331
- hud_button: The2_HudButton;
2332
- id: number;
2333
- min_level: number;
2334
- popup_type: string;
2335
- show_on_startup: number;
2336
- slides: The0_Slide[];
2337
- start_ts: string;
2338
- }
2339
- export interface The2_HudButton {
2306
+ export interface The11_HudButton {
2340
2307
  file: string;
2341
2308
  title: string;
2309
+ viral_icon_tier: number;
2342
2310
  }
2343
- export interface The8 {
2311
+ export interface The12 {
2344
2312
  active_platforms: ValueClass;
2345
2313
  allow_island_tutorial: number;
2346
2314
  assets_name: string;
2347
2315
  direct_to_shop: number;
2348
2316
  end_ts: string;
2349
- filter_category: null;
2350
- hud_button: The0_HudButton;
2351
2317
  id: number;
2352
- label_text_tid: null;
2353
- label_title_tid: null;
2354
2318
  min_level: number;
2355
2319
  popup_frequency: string;
2356
2320
  popup_type: string;
2357
- priority: null;
2358
2321
  show_on_startup: number;
2359
- slides: The0_Slide[];
2322
+ slides: The10_Slide[];
2360
2323
  start_ts: string;
2361
2324
  }
2362
2325
  export interface Canva {
2363
2326
  id: number;
2364
2327
  assets_name: string;
2365
- start_ts: number;
2366
- end_ts: number;
2367
- min_level: number;
2368
- slides: The10_Slide[];
2369
- show_on_startup: number;
2328
+ start_ts: number | string;
2329
+ end_ts: number | string;
2330
+ min_level?: number;
2331
+ slides: CanvaSlide[];
2332
+ show_on_startup?: number;
2333
+ }
2334
+ export interface CanvaSlide {
2335
+ custom_title_localized_key?: string;
2336
+ header_localized_key?: string;
2337
+ image_url?: string;
2338
+ times_to_show?: number;
2339
+ type?: SlideType;
2340
+ multiple_buttons?: MultipleButton[];
2341
+ bg?: string;
2342
+ content?: Content[];
2343
+ edit_mode?: number;
2344
+ id?: number;
2345
+ title_key?: string;
2346
+ viral_icon_key?: string;
2347
+ viral_icon_timer?: string;
2348
+ }
2349
+ export interface Content {
2350
+ height: number;
2351
+ rotation: number;
2352
+ stroke?: string;
2353
+ text_color?: string;
2354
+ text_key: string;
2355
+ text_size?: number;
2356
+ timer?: number;
2357
+ type: string;
2358
+ width: number;
2359
+ x: number;
2360
+ y: number;
2361
+ action?: ContentAction;
2362
+ style?: string;
2363
+ }
2364
+ export interface ContentAction {
2365
+ itemId: string;
2366
+ storeCategory: number;
2367
+ type: string;
2370
2368
  }
2371
2369
  export interface Perks {
2372
2370
  abilities: Ability[];
@@ -3084,7 +3082,7 @@ export interface TowerIsland {
3084
3082
  happy_hours: HappyHour[];
3085
3083
  parameters: FogIslandParameter[];
3086
3084
  currencies: Currency[];
3087
- actions: Action[];
3085
+ actions: ActionElement[];
3088
3086
  }
3089
3087
  export interface Floor {
3090
3088
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "A library to handle configuration for Dragon City.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",