(list: any = [])
| 289 | ) |
| 290 | } |
| 291 | const toChatRecordList = (list: any = []): ChatRecord[] => { |
| 292 | const records: Array<ChatRecord> = [] |
| 293 | for (let i = 0; i < list.length; i++) { |
| 294 | const record = toChatRecord(list[i]) |
| 295 | if (record) { |
| 296 | records.push(record) |
| 297 | } |
| 298 | } |
| 299 | return records |
| 300 | } |
| 301 | |
| 302 | export class ChatLogHistoryItem { |
| 303 | start_time?: Date | string |
no test coverage detected