(a: Message, b: Message)
| 19 | |
| 20 | const cmp = (a: string, b: string) => (a < b ? -1 : a > b ? 1 : 0) |
| 21 | const cmpMessage = (a: Message, b: Message) => a.time.created - b.time.created || cmp(a.id, b.id) |
| 22 | const SKIP_PARTS = new Set(["patch", "step-start", "step-finish"]) |
| 23 | const initialMessagePageSize = 2 |
| 24 | const historyMessagePageSize = 200 |