ThreadItem: {
    event: NostrEvent;
    parent?: ThreadItem;
    refs: ThreadReferences;
    replies: Set<ThreadItem>;
    root?: ThreadItem;
}

Type declaration

  • event: NostrEvent

    underlying nostr event

  • Optionalparent?: ThreadItem

    the parent event this is replying to

  • refs: ThreadReferences
  • replies: Set<ThreadItem>

    direct child replies

  • Optionalroot?: ThreadItem

    the thread root, according to this event