export function getFallbackExtension(contentType: string): string { if (contentType === 'image/jpeg') return 'jpg' if (contentType === 'image/png') return 'png' if (contentType === 'image/webp') return 'webp' if (contentType === 'image/gif') return 'gif' if (contentType === 'image/svg+xml') return 'svg' if (contentType === 'video/mp4') return 'mp4' if (contentType === 'video/webm') return 'webm' if (contentType === 'video/quicktime') return 'mov' if (contentType === 'video/ogg') return 'ogg' return contentType.startsWith('video/') ? 'mp4' : 'jpg' }