( filePath: string, requestId: string, formatOptions?: Record<string, unknown>, externalSessionId?: string )
| 111 | * Stream import: parse a file and write to DB with batched transactions. |
| 112 | */ |
| 113 | export async function streamImport( |
| 114 | filePath: string, |
| 115 | requestId: string, |
| 116 | formatOptions?: Record<string, unknown>, |
| 117 | externalSessionId?: string |
| 118 | ): Promise<StreamImportResult> { |
| 119 | return streamingImport(filePath, buildStreamImportDeps(requestId), formatOptions, externalSessionId) |
| 120 | } |
| 121 | |
| 122 | /** |
| 123 | * Dry-run analysis: parse without writing to DB. |
no test coverage detected