feat: validate inventory image metadata
Centralize supported MIME type, 10 MiB file-size, and 10,000-pixel dimension limits in the inventory image service boundary. Add domain coverage and update image/status documentation. Verification: npm test passed 64 tests and integration passed 14 tests. No build script is configured.
This commit is contained in:
@@ -53,6 +53,11 @@ Validate:
|
||||
- image dimensions
|
||||
- configured image count
|
||||
|
||||
The metadata service currently enforces JPEG, PNG, and WebP MIME types, a
|
||||
10 MiB default file-size limit, and a 10,000-pixel maximum width and height.
|
||||
Binary signature checks and multipart upload validation remain part of the
|
||||
upload transport slice.
|
||||
|
||||
Generate:
|
||||
- thumbnail
|
||||
- medium
|
||||
|
||||
Reference in New Issue
Block a user