(file: File | string)
| 75 | } |
| 76 | |
| 77 | async scanMultiChatFile(file: File | string): Promise<MultiChatEntry[]> { |
| 78 | const filePath = resolveFilePath(file) |
| 79 | if (!filePath) return [] |
| 80 | const result = await window.chatApi.scanMultiChatFile(filePath) |
| 81 | if (!result.success || !result.chats) return [] |
| 82 | return result.chats |
| 83 | } |
| 84 | |
| 85 | async prepareImportSource(file: File | string): Promise<PreparedImportSourceResult> { |
| 86 | const filePath = resolveFilePath(file) |
nothing calls this directly
no test coverage detected