(threads []NetworkThreadRecord)
| 1402 | } |
| 1403 | |
| 1404 | func networkThreadsBundle(threads []NetworkThreadRecord) outputBundle { |
| 1405 | return listBundle( |
| 1406 | contract.NetworkThreadsResponse{Threads: threads}, |
| 1407 | threads, |
| 1408 | "Network Threads", |
| 1409 | []string{ |
| 1410 | taskThreadValue, |
| 1411 | "Root", |
| 1412 | networkOpenedByValue, |
| 1413 | networkMessagesValue, |
| 1414 | "Participants", |
| 1415 | networkOpenWorkValue, |
| 1416 | networkLastActivityValue, |
| 1417 | toolOperatorPreviewValue, |
| 1418 | }, |
| 1419 | "network_threads", |
| 1420 | []string{ |
| 1421 | networkChannelKey, |
| 1422 | networkThreadIDKey, |
| 1423 | "root_message_id", |
| 1424 | networkOpenedByPeerIDKey, |
| 1425 | networkMessageCountKey, |
| 1426 | "participant_count", |
| 1427 | networkOpenWorkCountKey, |
| 1428 | networkLastActivityAtKey, |
| 1429 | networkLastMessagePreviewKey, |
| 1430 | }, |
| 1431 | networkThreadHumanRow, |
| 1432 | networkThreadToonRow, |
| 1433 | ) |
| 1434 | } |
| 1435 | |
| 1436 | func networkThreadBundle(thread NetworkThreadRecord) outputBundle { |
| 1437 | return outputBundle{ |
no test coverage detected