Files
Anthony Accioly 3c802caff5 feat(blossom)!: add file extension parameter to Blossom hooks
This enhancement allows hooks to make extension-aware decisions for storage,
loading, and access control operations. The extension is intelligently derived
from MIME type detection, file magic bytes, or URL parsing.

Additionally improves MIME type handling by providing fallback to
"application/octet-stream" when extension-based detection fails as per
BUD-01.

BREAKING CHANGE: All Blossom hook functions now require an additional `ext` parameter:
- StoreBlob hooks now accept (ctx, sha256, ext, body) instead of (ctx, sha256, body)
- LoadBlob hooks now accept (ctx, sha256, ext) instead of (ctx, sha256)
- DeleteBlob hooks now accept (ctx, sha256, ext) instead of (ctx, sha256)
- RejectGet hooks now accept (ctx, auth, sha256, ext) instead of (ctx, auth, sha256)
- RejectDelete hooks now accept (ctx, auth, sha256, ext) instead of (ctx, auth, sha256)
2025-09-08 16:06:24 -03:00
..
2025-01-13 17:40:51 -03:00
2025-01-13 17:40:51 -03:00
2024-07-15 13:25:07 -03:00
2024-07-15 13:25:07 -03:00
2024-07-15 13:25:07 -03:00
2025-04-28 15:45:07 -03:00
2024-07-15 13:25:07 -03:00
2024-07-15 13:25:07 -03:00
2024-07-15 13:25:07 -03:00