(mimeType: string)
| 92 | * Get the content type for a given MIME type |
| 93 | */ |
| 94 | export function getContentType(mimeType: string): 'image' | 'document' | 'audio' | 'video' | null { |
| 95 | return MIME_TYPE_MAPPING[mimeType.toLowerCase()] || null |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Check if a MIME type is supported |
no outgoing calls
no test coverage detected