poi-plugin-quest-info-2 0.7.2 → 0.8.0

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.
Files changed (43) hide show
  1. package/.eslintrc.js +1 -2
  2. package/build/kcQuestsData/DATA_VERSION +1 -1
  3. package/build/kcQuestsData/index.ts +1 -1
  4. package/build/kcQuestsData/quests-scn-new.json +1 -3
  5. package/build/kcQuestsData/quests-scn.json +72 -72
  6. package/build/kcanotifyGamedata/DATA_VERSION +1 -1
  7. package/build/kcanotifyGamedata/index.ts +1 -1
  8. package/build/kcanotifyGamedata/quests-en.json +12 -0
  9. package/build/kcanotifyGamedata/quests-jp.json +12 -0
  10. package/build/kcanotifyGamedata/quests-ko.json +12 -5
  11. package/build/kcanotifyGamedata/quests-scn.json +12 -0
  12. package/build/kcanotifyGamedata/quests-tcn.json +12 -0
  13. package/build/prePostQuest.json +4498 -0
  14. package/build/questCategory.json +590 -588
  15. package/build/questCodeMap.json +575 -0
  16. package/i18n/en-US.json +1 -0
  17. package/i18n/ja-JP.json +1 -0
  18. package/i18n/ko-KR.json +1 -0
  19. package/i18n/zh-CN.json +1 -0
  20. package/i18n/zh-TW.json +1 -0
  21. package/package.json +15 -15
  22. package/src/__tests__/__snapshots__/questCategory.spec.ts.snap +113 -113
  23. package/src/__tests__/kcanotifyData.spec.ts +14 -1
  24. package/src/__tests__/kcwikiData.spec.ts +11 -1
  25. package/src/__tests__/questCategory.spec.ts +4 -4
  26. package/src/components/QuestCard/MinimalQuestCard.tsx +14 -14
  27. package/src/components/QuestCard/index.tsx +90 -55
  28. package/src/components/QuestCard/styles.ts +17 -0
  29. package/src/components/QuestList.tsx +5 -8
  30. package/src/components/QuestTag.tsx +104 -0
  31. package/src/poi/hooks.ts +8 -5
  32. package/src/questHelper.ts +25 -4
  33. package/src/store/kcwiki.ts +7 -3
  34. package/src/store/quest.ts +91 -10
  35. package/src/tags.tsx +2 -2
  36. package/scripts/convertAssets.ts +0 -57
  37. package/scripts/downloadKcQuestsData.ts +0 -136
  38. package/scripts/downloadKcanotifyGamedata.ts +0 -132
  39. package/scripts/downloadSprites.ts +0 -126
  40. package/scripts/genQuestCategory.ts +0 -58
  41. package/scripts/proxyFetch.ts +0 -42
  42. package/scripts/utils.ts +0 -8
  43. package/src/components/PreTaskTag.tsx +0 -40
@@ -5,301 +5,301 @@ Object {
5
5
  "dailyQuest": Array [
6
6
  Object {
7
7
  "code": "Bd1",
8
- "gameId": "201",
8
+ "gameId": 201,
9
9
  "name": "击破敌舰队!",
10
10
  },
11
11
  Object {
12
12
  "code": "Bd3",
13
- "gameId": "210",
13
+ "gameId": 210,
14
14
  "name": "击破 10 回敌舰队!",
15
15
  },
16
16
  Object {
17
17
  "code": "Bd4",
18
- "gameId": "211",
18
+ "gameId": 211,
19
19
  "name": "击沉三艘敌空母!",
20
20
  },
21
21
  Object {
22
22
  "code": "Bd6",
23
- "gameId": "212",
23
+ "gameId": 212,
24
24
  "name": "打击敌方输送船团!",
25
25
  },
26
26
  Object {
27
27
  "code": "Bd2",
28
- "gameId": "216",
28
+ "gameId": 216,
29
29
  "name": "击破敌舰队主力!",
30
30
  },
31
31
  Object {
32
32
  "code": "Bd5",
33
- "gameId": "218",
33
+ "gameId": 218,
34
34
  "name": "击沉三艘敌方补给舰!",
35
35
  },
36
36
  Object {
37
37
  "code": "Bd7",
38
- "gameId": "226",
38
+ "gameId": 226,
39
39
  "name": "掌握南西诸岛海域制海权!",
40
40
  },
41
41
  Object {
42
42
  "code": "Bd8",
43
- "gameId": "230",
43
+ "gameId": 230,
44
44
  "name": "压制敌方潜水舰!",
45
45
  },
46
46
  Object {
47
47
  "code": "C2",
48
- "gameId": "303",
48
+ "gameId": 303,
49
49
  "name": "「演习」锻炼能力!",
50
50
  },
51
51
  Object {
52
52
  "code": "C3",
53
- "gameId": "304",
53
+ "gameId": 304,
54
54
  "name": "在「演习」战胜其他提督!",
55
55
  },
56
56
  Object {
57
57
  "code": "D2",
58
- "gameId": "402",
58
+ "gameId": 402,
59
59
  "name": "「远征」3 次成功!",
60
60
  },
61
61
  Object {
62
62
  "code": "D3",
63
- "gameId": "403",
63
+ "gameId": 403,
64
64
  "name": "「远征」10 次成功!",
65
65
  },
66
66
  Object {
67
67
  "code": "E3",
68
- "gameId": "503",
68
+ "gameId": 503,
69
69
  "name": "舰队大整备!",
70
70
  },
71
71
  Object {
72
72
  "code": "E4",
73
- "gameId": "504",
73
+ "gameId": 504,
74
74
  "name": "舰队酒保节!",
75
75
  },
76
76
  Object {
77
77
  "code": "F5",
78
- "gameId": "605",
78
+ "gameId": 605,
79
79
  "name": "新装备「开发」指令",
80
80
  },
81
81
  Object {
82
82
  "code": "F6",
83
- "gameId": "606",
83
+ "gameId": 606,
84
84
  "name": "新造舰「建造」指令",
85
85
  },
86
86
  Object {
87
87
  "code": "F7",
88
- "gameId": "607",
88
+ "gameId": 607,
89
89
  "name": "装备「开发」集中強化!",
90
90
  },
91
91
  Object {
92
92
  "code": "F8",
93
- "gameId": "608",
93
+ "gameId": 608,
94
94
  "name": "舰娘「建造」舰队强化!",
95
95
  },
96
96
  Object {
97
97
  "code": "F9",
98
- "gameId": "609",
98
+ "gameId": 609,
99
99
  "name": "对应裁军条约!",
100
100
  },
101
101
  Object {
102
102
  "code": "F18",
103
- "gameId": "619",
103
+ "gameId": 619,
104
104
  "name": "装备的改修强化",
105
105
  },
106
106
  Object {
107
107
  "code": "F65",
108
- "gameId": "673",
108
+ "gameId": 673,
109
109
  "name": "装备开发力的整备",
110
110
  },
111
111
  Object {
112
112
  "code": "F66",
113
- "gameId": "674",
113
+ "gameId": 674,
114
114
  "name": "工厂环境的整备",
115
115
  },
116
116
  Object {
117
117
  "code": "G2",
118
- "gameId": "702",
118
+ "gameId": 702,
119
119
  "name": "实施舰船的「近代化改修」!",
120
120
  },
121
121
  ],
122
122
  "monthlyQuest": Array [
123
123
  Object {
124
124
  "code": "Bm1",
125
- "gameId": "249",
125
+ "gameId": 249,
126
126
  "name": "「第五战队」出击!",
127
127
  },
128
128
  Object {
129
129
  "code": "Bm2",
130
- "gameId": "256",
130
+ "gameId": 256,
131
131
  "name": "「潜水舰队」出击!",
132
132
  },
133
133
  Object {
134
134
  "code": "Bm3",
135
- "gameId": "257",
135
+ "gameId": 257,
136
136
  "name": "「水雷战队」前往南西!",
137
137
  },
138
138
  Object {
139
139
  "code": "Bm4",
140
- "gameId": "259",
140
+ "gameId": 259,
141
141
  "name": "「水上打击部队」前往南方!",
142
142
  },
143
143
  Object {
144
144
  "code": "Bm6",
145
- "gameId": "264",
145
+ "gameId": 264,
146
146
  "name": "「空母机动部队」前往西方!",
147
147
  },
148
148
  Object {
149
149
  "code": "Bm5",
150
- "gameId": "265",
150
+ "gameId": 265,
151
151
  "name": "海上护卫强化月",
152
152
  },
153
153
  Object {
154
154
  "code": "Bm7",
155
- "gameId": "266",
155
+ "gameId": 266,
156
156
  "name": "「水上反击部队」突入!",
157
157
  },
158
158
  Object {
159
159
  "code": "Bm8",
160
- "gameId": "280",
160
+ "gameId": 280,
161
161
  "name": "确保后勤线!强化实施海上警备!",
162
162
  },
163
163
  Object {
164
164
  "code": "C8",
165
- "gameId": "311",
165
+ "gameId": 311,
166
166
  "name": "精锐舰队演习",
167
167
  },
168
168
  Object {
169
169
  "code": "F25",
170
- "gameId": "628",
170
+ "gameId": 628,
171
171
  "name": "机种转换",
172
172
  },
173
173
  Object {
174
174
  "code": "F41",
175
- "gameId": "645",
175
+ "gameId": 645,
176
176
  "name": "“洋上补给” 物资的调拨",
177
177
  },
178
178
  ],
179
179
  "quarterlyQuest": Array [
180
180
  Object {
181
181
  "code": "Bq11",
182
- "gameId": "284",
182
+ "gameId": 284,
183
183
  "name": "南西诸岛方面 “海上警备行动” 发令!",
184
184
  },
185
185
  Object {
186
186
  "code": "C38",
187
- "gameId": "337",
187
+ "gameId": 337,
188
188
  "name": "「十八驱」演习!",
189
189
  },
190
190
  Object {
191
191
  "code": "C42",
192
- "gameId": "339",
192
+ "gameId": 339,
193
193
  "name": "「十九驱」演习!",
194
194
  },
195
195
  Object {
196
196
  "code": "C44",
197
- "gameId": "342",
197
+ "gameId": 342,
198
198
  "name": "小舰艇群演习强化任务",
199
199
  },
200
200
  Object {
201
201
  "code": "D24",
202
- "gameId": "426",
202
+ "gameId": 426,
203
203
  "name": "强化海上通商航路警戒!",
204
204
  },
205
205
  Object {
206
206
  "code": "F35",
207
- "gameId": "637",
207
+ "gameId": 637,
208
208
  "name": "「熟练搭乘员」养成",
209
209
  },
210
210
  Object {
211
211
  "code": "F39",
212
- "gameId": "643",
212
+ "gameId": 643,
213
213
  "name": "主力 “陆攻” 的采购",
214
214
  },
215
215
  Object {
216
216
  "code": "F90",
217
- "gameId": "653",
217
+ "gameId": 653,
218
218
  "name": "工厂运转!为下期作战做准备!",
219
219
  },
220
220
  Object {
221
221
  "code": "F55",
222
- "gameId": "663",
222
+ "gameId": 663,
223
223
  "name": "继续研究新型舾装",
224
224
  },
225
225
  Object {
226
226
  "code": "F67",
227
- "gameId": "675",
227
+ "gameId": 675,
228
228
  "name": "运用装备的综合整备",
229
229
  },
230
230
  Object {
231
231
  "code": "F70",
232
- "gameId": "678",
232
+ "gameId": 678,
233
233
  "name": "主力舰上战斗机的更新",
234
234
  },
235
235
  Object {
236
236
  "code": "F72",
237
- "gameId": "680",
237
+ "gameId": 680,
238
238
  "name": "对空兵装的整备扩充",
239
239
  },
240
240
  Object {
241
241
  "code": "F79",
242
- "gameId": "688",
242
+ "gameId": 688,
243
243
  "name": "强化航空战力",
244
244
  },
245
245
  Object {
246
246
  "code": "Bq1",
247
- "gameId": "822",
247
+ "gameId": 822,
248
248
  "name": "冲之岛海域迎击战!",
249
249
  },
250
250
  Object {
251
251
  "code": "Bq12",
252
- "gameId": "845",
252
+ "gameId": 845,
253
253
  "name": "发令!「西方海域作战」",
254
254
  },
255
255
  Object {
256
256
  "code": "Bq2",
257
- "gameId": "854",
257
+ "gameId": 854,
258
258
  "name": "战果扩张任务!「Z 作战」前段作战",
259
259
  },
260
260
  Object {
261
261
  "code": "Bq3",
262
- "gameId": "861",
262
+ "gameId": 861,
263
263
  "name": "强行运输舰队,拔锚!",
264
264
  },
265
265
  Object {
266
266
  "code": "Bq4",
267
- "gameId": "862",
267
+ "gameId": 862,
268
268
  "name": "实施前线航空侦察!",
269
269
  },
270
270
  Object {
271
271
  "code": "Bq10",
272
- "gameId": "872",
272
+ "gameId": 872,
273
273
  "name": "战果扩张任务!“Z 作战” 后段作战",
274
274
  },
275
275
  Object {
276
276
  "code": "Bq5",
277
- "gameId": "873",
277
+ "gameId": 873,
278
278
  "name": "实施北方海域警备吧!",
279
279
  },
280
280
  Object {
281
281
  "code": "Bq6",
282
- "gameId": "875",
282
+ "gameId": 875,
283
283
  "name": "精锐「三一驱」,突入铁底海域!",
284
284
  },
285
285
  Object {
286
286
  "code": "Bq7",
287
- "gameId": "888",
287
+ "gameId": 888,
288
288
  "name": "新编成「三川舰队」,突入铁底海峡!",
289
289
  },
290
290
  Object {
291
291
  "code": "Bq8",
292
- "gameId": "893",
292
+ "gameId": 893,
293
293
  "name": "彻底确保泊地周边海域的安全!",
294
294
  },
295
295
  Object {
296
296
  "code": "Bq9",
297
- "gameId": "894",
297
+ "gameId": 894,
298
298
  "name": "投入空母战力进行补给线的战斗警戒",
299
299
  },
300
300
  Object {
301
301
  "code": "Bq13",
302
- "gameId": "903",
302
+ "gameId": 903,
303
303
  "name": "扩张「六水战」,向最前线!",
304
304
  },
305
305
  ],
@@ -307,274 +307,274 @@ Object {
307
307
  "weeklyQuest": Array [
308
308
  Object {
309
309
  "code": "Bw3",
310
- "gameId": "213",
310
+ "gameId": 213,
311
311
  "name": "海上通商破坏作战",
312
312
  },
313
313
  Object {
314
314
  "code": "Bw1",
315
- "gameId": "214",
315
+ "gameId": 214,
316
316
  "name": "あ号作战",
317
317
  },
318
318
  Object {
319
319
  "code": "Bw2",
320
- "gameId": "220",
320
+ "gameId": 220,
321
321
  "name": "い号作战",
322
322
  },
323
323
  Object {
324
324
  "code": "Bw4",
325
- "gameId": "221",
325
+ "gameId": 221,
326
326
  "name": "ろ (Ro) 号作战",
327
327
  },
328
328
  Object {
329
329
  "code": "Bw5",
330
- "gameId": "228",
330
+ "gameId": 228,
331
331
  "name": "海上护卫战",
332
332
  },
333
333
  Object {
334
334
  "code": "Bw6",
335
- "gameId": "229",
335
+ "gameId": 229,
336
336
  "name": "消灭敌东方舰队!",
337
337
  },
338
338
  Object {
339
339
  "code": "Bw7",
340
- "gameId": "241",
340
+ "gameId": 241,
341
341
  "name": "消灭敌北方舰队主力!",
342
342
  },
343
343
  Object {
344
344
  "code": "Bw8",
345
- "gameId": "242",
345
+ "gameId": 242,
346
346
  "name": "击破敌东方中枢舰队!",
347
347
  },
348
348
  Object {
349
349
  "code": "Bw9",
350
- "gameId": "243",
350
+ "gameId": 243,
351
351
  "name": "掌握南方海域珊瑚诸岛的制空权!",
352
352
  },
353
353
  Object {
354
354
  "code": "Bw10",
355
- "gameId": "261",
355
+ "gameId": 261,
356
356
  "name": "努力确保海上输送的安全!",
357
357
  },
358
358
  Object {
359
359
  "code": "C4",
360
- "gameId": "302",
360
+ "gameId": 302,
361
361
  "name": "大规模演习",
362
362
  },
363
363
  Object {
364
364
  "code": "D4",
365
- "gameId": "404",
365
+ "gameId": 404,
366
366
  "name": "大规模远征作战、宣布!",
367
367
  },
368
368
  Object {
369
369
  "code": "D9",
370
- "gameId": "410",
370
+ "gameId": 410,
371
371
  "name": "使向南方的输送作战成功!",
372
372
  },
373
373
  Object {
374
374
  "code": "D11",
375
- "gameId": "411",
375
+ "gameId": 411,
376
376
  "name": "继续实施往南方的鼠輸送!",
377
377
  },
378
378
  Object {
379
379
  "code": "F12",
380
- "gameId": "613",
380
+ "gameId": 613,
381
381
  "name": "资源的再利用",
382
382
  },
383
383
  Object {
384
384
  "code": "F34",
385
- "gameId": "638",
385
+ "gameId": 638,
386
386
  "name": "对空机枪量产!",
387
387
  },
388
388
  Object {
389
389
  "code": "G3",
390
- "gameId": "703",
390
+ "gameId": 703,
391
391
  "name": "推进「近代化改修」、整顿战备!",
392
392
  },
393
393
  ],
394
394
  "yearlyQuest": Array [
395
395
  Object {
396
396
  "code": "C49",
397
- "gameId": "345",
397
+ "gameId": 345,
398
398
  "name": "演习的下午茶时间!",
399
399
  },
400
400
  Object {
401
401
  "code": "C50",
402
- "gameId": "346",
402
+ "gameId": 346,
403
403
  "name": "精锐至极!主力中的主力,演习开始!",
404
404
  },
405
405
  Object {
406
406
  "code": "C53",
407
- "gameId": "348",
407
+ "gameId": 348,
408
408
  "name": "「精锐轻巡」演习!",
409
409
  },
410
410
  Object {
411
411
  "code": "C55",
412
- "gameId": "350",
412
+ "gameId": 350,
413
413
  "name": "精锐「第七驱逐队」演习开始!",
414
414
  },
415
415
  Object {
416
416
  "code": "C58",
417
- "gameId": "353",
417
+ "gameId": 353,
418
418
  "name": "「巡洋舰战队」演习",
419
419
  },
420
420
  Object {
421
421
  "code": "C60",
422
- "gameId": "354",
422
+ "gameId": 354,
423
423
  "name": "「改装特务空母」任务部队演习!",
424
424
  },
425
425
  Object {
426
426
  "code": "C62",
427
- "gameId": "355",
427
+ "gameId": 355,
428
428
  "name": "精锐「第十五驱逐队」第一小队演习!",
429
429
  },
430
430
  Object {
431
431
  "code": "D32",
432
- "gameId": "434",
432
+ "gameId": 434,
433
433
  "name": "特设护卫船团司令部,开始活动!",
434
434
  },
435
435
  Object {
436
436
  "code": "D33",
437
- "gameId": "436",
437
+ "gameId": 436,
438
438
  "name": "实施练习航海与警备任务!",
439
439
  },
440
440
  Object {
441
441
  "code": "D34",
442
- "gameId": "437",
442
+ "gameId": 437,
443
443
  "name": "实行小笠原近海警戒线强化!",
444
444
  },
445
445
  Object {
446
446
  "code": "D35",
447
- "gameId": "438",
447
+ "gameId": 438,
448
448
  "name": "实行南西诸岛方面海上护卫强化!",
449
449
  },
450
450
  Object {
451
451
  "code": "D36",
452
- "gameId": "439",
452
+ "gameId": 439,
453
453
  "name": "兵站強化远征任务【基本作战】",
454
454
  },
455
455
  Object {
456
456
  "code": "D37",
457
- "gameId": "440",
457
+ "gameId": 440,
458
458
  "name": "兵站強化远征任务【扩张作战】",
459
459
  },
460
460
  Object {
461
461
  "code": "D38",
462
- "gameId": "442",
462
+ "gameId": 442,
463
463
  "name": "实施西方联络作战准备!",
464
464
  },
465
465
  Object {
466
466
  "code": "D40",
467
- "gameId": "444",
467
+ "gameId": 444,
468
468
  "name": "新兵装开发资材输送与船团护卫!",
469
469
  },
470
470
  Object {
471
471
  "code": "F93",
472
- "gameId": "654",
472
+ "gameId": 654,
473
473
  "name": "编成精锐双翼机飞行队",
474
474
  },
475
475
  Object {
476
476
  "code": "F94",
477
- "gameId": "655",
477
+ "gameId": 655,
478
478
  "name": "工厂完全运作!开发新兵装!",
479
479
  },
480
480
  Object {
481
481
  "code": "F92",
482
- "gameId": "657",
482
+ "gameId": 657,
483
483
  "name": "新型兵装的开发整备的强化",
484
484
  },
485
485
  Object {
486
486
  "code": "F95",
487
- "gameId": "681",
487
+ "gameId": 681,
488
488
  "name": "航空战力再编成与强化准备",
489
489
  },
490
490
  Object {
491
491
  "code": "G6",
492
- "gameId": "714",
492
+ "gameId": 714,
493
493
  "name": "实施「驱逐舰」的改修工事!",
494
494
  },
495
495
  Object {
496
496
  "code": "G7",
497
- "gameId": "715",
497
+ "gameId": 715,
498
498
  "name": "续:实施「驱逐舰」的改修工事",
499
499
  },
500
500
  Object {
501
501
  "code": "G8",
502
- "gameId": "716",
502
+ "gameId": 716,
503
503
  "name": "实施「轻巡」级改修工事",
504
504
  },
505
505
  Object {
506
506
  "code": "G9",
507
- "gameId": "717",
507
+ "gameId": 717,
508
508
  "name": "续: 实施「轻巡」级改修工事",
509
509
  },
510
510
  Object {
511
511
  "code": "By1",
512
- "gameId": "904",
512
+ "gameId": 904,
513
513
  "name": "精锐「十九驱」,闪亮出击!",
514
514
  },
515
515
  Object {
516
516
  "code": "By2",
517
- "gameId": "905",
517
+ "gameId": 905,
518
518
  "name": "「海防舰」,防卫大海!",
519
519
  },
520
520
  Object {
521
521
  "code": "By3",
522
- "gameId": "912",
522
+ "gameId": 912,
523
523
  "name": "工作舰「明石」护卫任务",
524
524
  },
525
525
  Object {
526
526
  "code": "By4",
527
- "gameId": "914",
527
+ "gameId": 914,
528
528
  "name": "重巡战队,向西!",
529
529
  },
530
530
  Object {
531
531
  "code": "By5",
532
- "gameId": "928",
532
+ "gameId": 928,
533
533
  "name": "历战「第十方面舰队」,全力出击!",
534
534
  },
535
535
  Object {
536
536
  "code": "By6",
537
- "gameId": "944",
537
+ "gameId": 944,
538
538
  "name": "实施镇守府近海海域哨戒!",
539
539
  },
540
540
  Object {
541
541
  "code": "By7",
542
- "gameId": "945",
542
+ "gameId": 945,
543
543
  "name": "保护南西方面的运输航路安全!",
544
544
  },
545
545
  Object {
546
546
  "code": "By8",
547
- "gameId": "946",
547
+ "gameId": 946,
548
548
  "name": "空母机动部队,出击!迎击敌舰队!",
549
549
  },
550
550
  Object {
551
551
  "code": "By9",
552
- "gameId": "947",
552
+ "gameId": 947,
553
553
  "name": "AL 作战",
554
554
  },
555
555
  Object {
556
556
  "code": "By10",
557
- "gameId": "948",
557
+ "gameId": 948,
558
558
  "name": "机动部队决战",
559
559
  },
560
560
  Object {
561
561
  "code": "F98",
562
- "gameId": "1103",
562
+ "gameId": 1103,
563
563
  "name": "量产潜水舰强化兵装",
564
564
  },
565
565
  Object {
566
566
  "code": "F99",
567
- "gameId": "1104",
567
+ "gameId": 1104,
568
568
  "name": "量产潜水舰电子兵装",
569
569
  },
570
570
  Object {
571
571
  "code": "F100",
572
- "gameId": "1105",
572
+ "gameId": 1105,
573
573
  "name": "夏日格纳库整备 & 航空基地整备",
574
574
  },
575
575
  Object {
576
576
  "code": "F102",
577
- "gameId": "1107",
577
+ "gameId": 1107,
578
578
  "name": "【钢材出口】增加陆基航空队的兵力吧!",
579
579
  },
580
580
  ],