HBFGuard validates the bearer token against hbf-core; user object is injected into the request.
MemberOrgRoleGuard checks the user has at least member role in the org.
FileSizeValidationPipe enforces per-MIME-type max size (MAX_IMAGE_SIZE, MAX_VIDEO_SIZE, MAX_AUDIO_SIZE).
MediaService.createMedia generates a random 7-char prefix, uploads the file to S3 via multipart upload (10 MB parts), saves metadata to MySQL, then emits an audit log to hbf-core.
MediaService.listMediaByOrg runs a TypeORM query builder with optional search, MIME type filter, createdBy filter, and pagination. Returns data, count, available fileTypes, and uploadedBy facets.