metallkart-erp/src/config
louis 9884caae57 feat(orders): ORDER-IMG-1 product image upload backend
Add 4 fields to Order model (productImagePath/Mime/Hash/Source).
New ProductImageStorage class with magic-byte MIME detection (file-type),
SHA-256 hash, 5MB limit, PNG/JPEG/WebP only.
Routes POST/DELETE /:id/product-image in orders.routes.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 10:43:08 +03:00
..
storage.ts feat(orders): ORDER-IMG-1 product image upload backend 2026-04-29 10:43:08 +03:00