/**
 * MulterFile
 * ----------
 * Represents metadata for an uploaded file handled by Multer.
 *
 * This interface mirrors the file object structure
 * provided by Multer after a successful upload.
 */
export interface MulterFile {
  /** Name of the form field associated with the file */
  fieldname: string;

  /** Original name of the file on the user's system */
  originalname: string;

  /** Encoding type of the file (e.g., '7bit') */
  encoding: string;

  /** MIME type of the uploaded file (e.g., 'image/png', 'application/pdf') */
  mimetype: string;

  /** Destination directory where the file was stored */
  destination: string;

  /** Name of the file within the destination directory */
  filename: string;

  /** Full path to the stored file on disk */
  path: string;

  /** File size in bytes */
  size: number;
}
