Type Alias InternalBookTreeNodeType<Entry>

InternalBookTreeNodeType: {
    _isBookTreeNode: true;
    children: Record<string, BookTreeNode>;
    entry: Entry;
    fullUrlBreadcrumbs: ReadonlyArray<string>;
    manuallyAdded: boolean;
    urlBreadcrumb: string;
}

The base tree node type for BookTreeNode.

Type Parameters

  • Entry

Type declaration

  • _isBookTreeNode: true
  • children: Record<string, BookTreeNode>
  • entry: Entry
  • fullUrlBreadcrumbs: ReadonlyArray<string>
  • manuallyAdded: boolean

    False when an entry has been added by traversing manually added parents. True when the entry was added as an explicit entry.

  • urlBreadcrumb: string

    UrlBreadcrumb is different from entry.title because it's modified to support URLs.