Thread: {
    all: Map<string, ThreadItem>;
    root?: ThreadItem;
}