Files
dwroller/database/alexei-parse.json
Alex caf8a03553 feat: Add scripts for upserting and validating bestiary data
- Implemented `upsert-allewis-from-5001.js` to fetch and update Allewis data from API.
- Created `upsert-missing-movement-from-5001.js` to fill missing movement and wounds data from API.
- Developed `upsert-missing-movement-from-pdfs.js` to extract movement and wounds from PDF text.
- Added `upsert-missing-profiles-from-pdfs.js` to fill missing profiles from PDF data.
- Introduced `upsert-missing-wounds-from-pdfs.js` to update wounds data from PDF sources.
- Created `validate-bestiary.js` to validate the structure of the bestiary JSON.
- Updated `BestiaryTab.jsx` component to display bestiary data with improved structure and search functionality.
- Added tests for `BestiaryTab` to ensure proper rendering and functionality.
2025-08-17 16:21:00 +02:00

37 lines
1.2 KiB
JSON

{
"generatedAt": "2025-08-16T17:19:36.234Z",
"matches": [
{
"pdf": "Deathwatch - The Emperor Protects.pdf",
"pageIndex": 0,
"pageNumber": 1,
"snippet": "™ PERILOUS MISSIONS OF DUTY AND HONOUR Inside this tome are three adventures set amongst the war-torn front lines of an Imperial Crusade. The Price of Hubris—The Kill-team travels to the Feral World of Aurum to win over a fierce and",
"stats": {
"profile": {
"ws": 55,
"bs": 32,
"s": 50,
"t": 45,
"ag": 48,
"int": 46,
"per": 52,
"wp": 45,
"fel": 44
},
"movement": "4/8/12/24",
"wounds": 26,
"toughness": null,
"skills": null,
"talents": null,
"traits": null,
"armour": null,
"weapons": null,
"gear": null,
"snippet": "™ PERILOUS MISSIONS OF DUTY AND HONOUR Inside this tome are three adventures set amongst the war-torn front lines of an Imperial Crusade. The Price of Hubris—The Kill-team travels to the Feral World of Aurum to win over a fierce and",
"chosenPageIndex": 0,
"chosenPageNumberApprox": 1,
"chosenOffset": 0
}
}
]
}