Replace the single CatalogMaterialDto + CatalogDimensionsDto (bag of nullable fields) with per-shape DTOs that have strongly-typed dimension properties. Catalog JSON now groups materials by shape key instead of a flat array. Delete the old SeedController/SeedDataDtos (superseded by CatalogService). Scraper updated to emit the new grouped format, resume by default, and save items incrementally. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
737 B
JSON
42 lines
737 B
JSON
{
|
|
"exportedAt": "2026-02-16T17:09:52.843008+00:00",
|
|
"suppliers": [
|
|
{
|
|
"name": "Alro Steel"
|
|
}
|
|
],
|
|
"cuttingTools": [
|
|
{
|
|
"name": "Bandsaw",
|
|
"kerfInches": 0.0625,
|
|
"isDefault": true
|
|
},
|
|
{
|
|
"name": "Chop Saw",
|
|
"kerfInches": 0.125,
|
|
"isDefault": false
|
|
},
|
|
{
|
|
"name": "Cold Cut Saw",
|
|
"kerfInches": 0.0625,
|
|
"isDefault": false
|
|
},
|
|
{
|
|
"name": "Hacksaw",
|
|
"kerfInches": 0.0625,
|
|
"isDefault": false
|
|
}
|
|
],
|
|
"materials": {
|
|
"angles": [],
|
|
"channels": [],
|
|
"flatBars": [],
|
|
"iBeams": [],
|
|
"pipes": [],
|
|
"rectangularTubes": [],
|
|
"roundBars": [],
|
|
"roundTubes": [],
|
|
"squareBars": [],
|
|
"squareTubes": []
|
|
}
|
|
} |