Protected_Protected_Protected_Protected_Erases the file from the memory map.
Target footprint.
True if an element was removed.
Writes an in-memory buffer to a localized test output directory.
Target footprint.
Destination metadata.
A promise resolving to the physical path written.
Extracts the first page of a document (e.g. PDF) via ImageMagick, resizes it, and uploads it as a thumbnail.
Original document footprint.
Array of desired thumbnail dimensions (px).
A mapping of generated thumbnail identifiers to their respective storage refs.
Downloads an image, generates resized thumbnails via sharp, and uploads them back.
Original image footprint.
Array of desired thumbnail dimensions (px).
A mapping of generated thumbnail identifiers to their respective storage refs.
Entry point for thumbnail generation. Analyzes the content type and automatically delegates to the appropriate generation strategy (Image, Video, or Document).
Target file footprint.
Desired dimensions.
The generated thumbnail map, or an empty object if unsupported/failed.
Extracts a single frame from a remote video via ffmpeg, resizes it, and uploads the frame as an image thumbnail.
Original video footprint.
Array of desired thumbnail dimensions (px).
A mapping of generated thumbnail identifiers to their respective storage refs.
Computes statistics for a given bucket (mock implementation).
Optionalbucket: stringTarget bucket name.
Optionalprefix: stringOptional directory prefix.
A promise resolving to bucket statistics.
Returns the in-memory Map acting as the driver.
The map containing buffered files.
Creates a readable stream from the memory buffer.
Target footprint.
The generated stream.
Returns a mock upload endpoint URL.
Target footprint.
A mock string upload URL.
Returns a mock URL pointing to a fictitious test domain.
Target footprint.
A mock string URL.
ProtectedisChecks if the file is a video or audio stream based on its MIME type or file extension.
Target file.
True if the file represents a video or audio asset.
Pipes the buffered memory content directly into an output response.
Target footprint.
Output writable stream.
A purely in-memory storage adapter designed for unit tests and local mock integrations. Files are temporarily stored in a Node.js
Map<string, Buffer>.