@dchighs/dc-config 0.0.7 → 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.
@@ -1073,10 +1073,10 @@ export interface MatchReward {
1073
1073
  "album_pack.temp"?: number;
1074
1074
  w_token?: number;
1075
1075
  keys?: number;
1076
+ li_token?: number;
1076
1077
  wd_token?: number;
1077
1078
  el_token?: number;
1078
1079
  m_token?: number;
1079
- li_token?: number;
1080
1080
  "rank_up_coin.common"?: number;
1081
1081
  "rank_up_coin.rare"?: number;
1082
1082
  "rank_up_coin.very_rare"?: number;
@@ -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,22 +2159,19 @@ export interface MazeIslandReward {
2159
2159
  export interface News {
2160
2160
  "0": The0;
2161
2161
  "1": The1;
2162
- "2": The0;
2163
- "3": The3;
2162
+ "2": The10;
2163
+ "3": The12;
2164
2164
  "4": The12;
2165
2165
  "5": The10;
2166
- "6": The10;
2166
+ "6": The12;
2167
2167
  "7": The10;
2168
2168
  "8": The12;
2169
- "9": The9;
2169
+ "9": The12;
2170
2170
  "10": The10;
2171
- "11": The10;
2171
+ "11": The11;
2172
2172
  "12": The12;
2173
2173
  "13": The10;
2174
2174
  "14": The10;
2175
- "15": The12;
2176
- "16": The16;
2177
- "17": The12;
2178
2175
  canvas: Canva[];
2179
2176
  }
2180
2177
  export interface The0 {
@@ -2183,24 +2180,19 @@ export interface The0 {
2183
2180
  assets_name: string;
2184
2181
  direct_to_shop: number;
2185
2182
  end_ts: string;
2186
- hud_button: The0_HudButton;
2187
2183
  id: number;
2188
2184
  min_level: number;
2189
- popup_frequency?: string;
2185
+ popup_frequency: string;
2186
+ popup_is_critical: boolean;
2190
2187
  popup_type: string;
2191
2188
  show_on_startup: number;
2192
2189
  slides: The0_Slide[];
2193
2190
  start_ts: string;
2194
2191
  }
2195
- export interface The0_HudButton {
2196
- file: string;
2197
- title: string;
2198
- viral_icon_tier: number;
2199
- }
2200
2192
  export interface The0_Slide {
2201
- content_localized_key?: string;
2193
+ content_localized_key: string;
2202
2194
  custom_title_localized_key: string;
2203
- header_localized_key?: string;
2195
+ header_localized_key: string;
2204
2196
  image_url: string;
2205
2197
  link: string;
2206
2198
  link_button_key: string;
@@ -2208,45 +2200,49 @@ export interface The0_Slide {
2208
2200
  slide_type_2: string;
2209
2201
  timer?: string;
2210
2202
  times_to_show?: number;
2211
- link_item_id?: number;
2212
2203
  }
2213
2204
  export interface The1 {
2214
2205
  active_platforms: ValueClass;
2215
2206
  allow_island_tutorial: number;
2216
2207
  assets_name: string;
2217
- direct_to_shop: number;
2218
2208
  end_ts: string;
2209
+ hud_button: The1_HudButton;
2219
2210
  id: number;
2220
2211
  min_level: number;
2221
- popup_frequency: string;
2222
- popup_is_critical: boolean;
2223
2212
  popup_type: string;
2224
2213
  show_on_startup: number;
2225
2214
  slides: The0_Slide[];
2226
2215
  start_ts: string;
2227
2216
  }
2217
+ export interface The1_HudButton {
2218
+ file: string;
2219
+ title: string;
2220
+ }
2228
2221
  export interface The10 {
2229
2222
  active_platforms: ValueClass;
2230
2223
  allow_island_tutorial: number;
2231
2224
  assets_name: string;
2232
2225
  direct_to_shop: number;
2233
2226
  end_ts: string;
2227
+ filter_category: null;
2234
2228
  id: number;
2229
+ label_text_tid: null;
2230
+ label_title_tid: null;
2235
2231
  min_level: number;
2236
- popup_frequency: string;
2237
2232
  popup_type: string;
2233
+ priority: number | null;
2238
2234
  show_on_startup: number;
2239
2235
  slides: The10_Slide[];
2240
2236
  start_ts: string;
2241
2237
  }
2242
2238
  export interface The10_Slide {
2239
+ content_localized_key: string;
2243
2240
  custom_title_localized_key: string;
2244
2241
  header_localized_key: string;
2245
2242
  image_url: string;
2246
2243
  multiple_buttons: MultipleButton[];
2247
2244
  times_to_show: number;
2248
2245
  type: SlideType;
2249
- content_localized_key?: string;
2250
2246
  forceClose?: boolean;
2251
2247
  }
2252
2248
  export interface MultipleButton {
@@ -2288,31 +2284,14 @@ export declare enum Style {
2288
2284
  export declare enum SlideType {
2289
2285
  FullImage = "FullImage"
2290
2286
  }
2291
- export interface The12 {
2287
+ export interface The11 {
2292
2288
  active_platforms: ValueClass;
2293
2289
  allow_island_tutorial: number;
2294
2290
  assets_name: string;
2295
2291
  direct_to_shop: number;
2296
2292
  end_ts: string;
2297
2293
  filter_category: null;
2298
- id: number;
2299
- label_text_tid: null;
2300
- label_title_tid: null;
2301
- min_level: number;
2302
- popup_type: string;
2303
- priority: number | null;
2304
- show_on_startup: number;
2305
- slides: The10_Slide[];
2306
- start_ts: string;
2307
- }
2308
- export interface The16 {
2309
- active_platforms: ValueClass;
2310
- allow_island_tutorial: number;
2311
- assets_name: string;
2312
- direct_to_shop: number;
2313
- end_ts: string;
2314
- filter_category: null;
2315
- hud_button: The0_HudButton;
2294
+ hud_button: The11_HudButton;
2316
2295
  id: number;
2317
2296
  label_text_tid: null;
2318
2297
  label_title_tid: null;
@@ -2324,40 +2303,23 @@ export interface The16 {
2324
2303
  slides: The10_Slide[];
2325
2304
  start_ts: string;
2326
2305
  }
2327
- export interface The3 {
2328
- active_platforms: ValueClass;
2329
- allow_island_tutorial: number;
2330
- assets_name: string;
2331
- end_ts: string;
2332
- hud_button: The3_HudButton;
2333
- id: number;
2334
- min_level: number;
2335
- popup_type: string;
2336
- show_on_startup: number;
2337
- slides: The0_Slide[];
2338
- start_ts: string;
2339
- }
2340
- export interface The3_HudButton {
2306
+ export interface The11_HudButton {
2341
2307
  file: string;
2342
2308
  title: string;
2309
+ viral_icon_tier: number;
2343
2310
  }
2344
- export interface The9 {
2311
+ export interface The12 {
2345
2312
  active_platforms: ValueClass;
2346
2313
  allow_island_tutorial: number;
2347
2314
  assets_name: string;
2348
2315
  direct_to_shop: number;
2349
2316
  end_ts: string;
2350
- filter_category: null;
2351
- hud_button: The0_HudButton;
2352
2317
  id: number;
2353
- label_text_tid: null;
2354
- label_title_tid: null;
2355
2318
  min_level: number;
2356
2319
  popup_frequency: string;
2357
2320
  popup_type: string;
2358
- priority: null;
2359
2321
  show_on_startup: number;
2360
- slides: The0_Slide[];
2322
+ slides: The10_Slide[];
2361
2323
  start_ts: string;
2362
2324
  }
2363
2325
  export interface Canva {
@@ -2365,10 +2327,9 @@ export interface Canva {
2365
2327
  assets_name: string;
2366
2328
  start_ts: number | string;
2367
2329
  end_ts: number | string;
2368
- min_level: number;
2330
+ min_level?: number;
2369
2331
  slides: CanvaSlide[];
2370
- show_on_startup: number;
2371
- priority?: string;
2332
+ show_on_startup?: number;
2372
2333
  }
2373
2334
  export interface CanvaSlide {
2374
2335
  custom_title_localized_key?: string;
@@ -2388,15 +2349,22 @@ export interface CanvaSlide {
2388
2349
  export interface Content {
2389
2350
  height: number;
2390
2351
  rotation: number;
2391
- stroke: string;
2392
- text_color: string;
2352
+ stroke?: string;
2353
+ text_color?: string;
2393
2354
  text_key: string;
2394
- text_size: number;
2395
- timer: number;
2355
+ text_size?: number;
2356
+ timer?: number;
2396
2357
  type: string;
2397
2358
  width: number;
2398
2359
  x: number;
2399
2360
  y: number;
2361
+ action?: ContentAction;
2362
+ style?: string;
2363
+ }
2364
+ export interface ContentAction {
2365
+ itemId: string;
2366
+ storeCategory: number;
2367
+ type: string;
2400
2368
  }
2401
2369
  export interface Perks {
2402
2370
  abilities: Ability[];
@@ -3114,7 +3082,7 @@ export interface TowerIsland {
3114
3082
  happy_hours: HappyHour[];
3115
3083
  parameters: FogIslandParameter[];
3116
3084
  currencies: Currency[];
3117
- actions: Action[];
3085
+ actions: ActionElement[];
3118
3086
  }
3119
3087
  export interface Floor {
3120
3088
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dchighs/dc-config",
3
- "version": "0.0.7",
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",