(target: string)
| 38 | * Media paths in PptxFiles are like "ppt/media/image1.png". |
| 39 | */ |
| 40 | export function resolveMediaPath(target: string): string { |
| 41 | const fileName = target.split('/').pop() || '' |
| 42 | return `ppt/media/${fileName}` |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Get or create a blob URL for a media file, using a cache to avoid duplicates. |
no outgoing calls
no test coverage detected