Class: Branch

Branch()

Branch represents note's placement in the tree - it's essentially pair of noteId and parentNoteId. Each note can have multiple (at least one) branches, meaning it can be placed into multiple places in the tree.

Constructor

new Branch()

Properties:
Name Type Description
branchId string primary key, immutable
noteId string immutable
parentNoteId string immutable
notePosition int
prefix string
isExpanded boolean
isDeleted boolean
deleteId string | null ID identifying delete transaction
utcDateModified string
utcDateCreated string
Source:

Extends

Methods

getNote() → {Note|null}

Source:
Returns:
Type
Note | null

getParentNote() → {Note|null}

Source:
Returns:
Type
Note | null