(mimeType: string)
| 133 | * Check if a MIME type is an audio or video type |
| 134 | */ |
| 135 | export function isMediaFileType(mimeType: string): boolean { |
| 136 | const contentType = getContentType(mimeType) |
| 137 | return contentType === 'audio' || contentType === 'video' |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Convert a file buffer to base64 |
nothing calls this directly
no test coverage detected