(filePath: string, options: EventImportOptions = {})
| 153 | } |
| 154 | |
| 155 | public async importFromJsonl(filePath: string, options: EventImportOptions = {}): Promise<EventImportStats> { |
| 156 | const stream = fs.createReadStream(filePath, { |
| 157 | encoding: 'utf-8', |
| 158 | }) |
| 159 | |
| 160 | return this.importFromReadable(stream, options) |
| 161 | } |
| 162 | |
| 163 | public async importFromJsonArray(filePath: string, options: EventImportOptions = {}): Promise<EventImportStats> { |
| 164 | return this.importFromCandidates(this.readJsonArrayCandidates(filePath), options) |
no test coverage detected