feat: add product detail enrichment for Magnit products
- Add isDetailsFetched field to Product model - Add fetchProductDetails() and fetchProductObjectInfo() methods to MagnitApiScraper - Add ProductParser methods for detail parsing - Add ProductService methods: getProductsNeedingDetails(), updateProductDetails(), markAsDetailsFetched() - Add enrich-product-details.ts script with statistics tracking - Update package.json with "enrich" script command - Add E2E_GUIDE.md documentation - Exclude debug scripts from tsconfig type-check (temporary) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,18 @@
|
||||
"noEmit": false
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "dist", "generated"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist",
|
||||
"generated",
|
||||
"src/scripts/extract-product-from-html.ts",
|
||||
"src/scripts/find-product-detail-api.ts",
|
||||
"src/scripts/find-product-detail-endpoint-v1.ts",
|
||||
"src/scripts/test-detail-endpoint.ts",
|
||||
"src/scripts/test-all-detail-endpoints.ts",
|
||||
"src/scripts/test-object-reviews-endpoint.ts",
|
||||
"src/scripts/debug-detail-response.ts"
|
||||
],
|
||||
"ts-node": {
|
||||
"esm": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user