2025-04-13 18:48:04 +03:00
<!DOCTYPE html> < html class = "default" lang = "en" data-base = "../" > < head > < meta charset = "utf-8" / > < meta http-equiv = "x-ua-compatible" content = "IE=edge" / > < title > BNote | trilium< / title > < meta name = "description" content = "Documentation for trilium" / > < meta name = "viewport" content = "width=device-width, initial-scale=1" / > < link rel = "stylesheet" href = "../assets/style.css" / > < link rel = "stylesheet" href = "../assets/highlight.css" / > < script defer src = "../assets/main.js" > < / script > < script async src = "../assets/icons.js" id = "tsd-icons-script" > < / script > < script async src = "../assets/search.js" id = "tsd-search-script" > < / script > < script async src = "../assets/navigation.js" id = "tsd-nav-script" > < / script > < script async src = "../assets/hierarchy.js" id = "tsd-hierarchy-script" > < / script > < / head > < body > < script > document . documentElement . dataset . theme = localStorage . getItem ( "tsd-theme" ) || "os" ; document . body . style . display = "none" ; setTimeout ( ( ) => window . app ? app . showPage ( ) : document . body . style . removeProperty ( "display" ) , 500 ) < / script > < header class = "tsd-page-toolbar" > < div class = "tsd-toolbar-contents container" > < a href = "../index.html" class = "title" > trilium< / a > < div id = "tsd-toolbar-links" > < / div > < button id = "tsd-search-trigger" class = "tsd-widget" aria-label = "Search" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-search" > < / use > < / svg > < / button > < dialog id = "tsd-search" aria-label = "Search" > < input role = "combobox" id = "tsd-search-input" aria-controls = "tsd-search-results" aria-autocomplete = "list" aria-expanded = "true" autocapitalize = "off" autocomplete = "off" placeholder = "Search the docs" maxLength = "100" / > < ul role = "listbox" id = "tsd-search-results" > < / ul > < div id = "tsd-search-status" aria-live = "polite" aria-atomic = "true" > < div > Preparing search index...< / div > < / div > < / dialog > < a href = "#" class = "tsd-widget menu" id = "tsd-toolbar-menu-trigger" data-toggle = "menu" aria-label = "Menu" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-menu" > < / use > < / svg > < / a > < / div > < / header > < div class = "container container-main" > < div class = "col-content" > < div class = "tsd-page-title" > < ul class = "tsd-breadcrumb" aria-label = "Breadcrumb" > < li > < a href = "../modules/Backend_Script_API.html" > Backend Script API< / a > < / li > < li > < a href = "" aria-current = "page" > BNote< / a > < / li > < / ul > < h1 > Class BNote< / h1 > < / div > < section class = "tsd-panel tsd-comment" > < div class = "tsd-comment tsd-typography" > < p > Trilium's main entity, which can represent text note, image, code note, file attachment etc.< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / section > < section class = "tsd-panel tsd-hierarchy" data-refl = "459" > < h4 > Hierarchy (< a href = "../hierarchy.html#Backend Script API.BNote" > View Summary< / a > )< / h4 > < ul class = "tsd-hierarchy" > < li class = "tsd-hierarchy-item" > < a href = "Backend_Script_API.AbstractBeccaEntity.html" class = "tsd-signature-type tsd-kind-class" > AbstractBeccaEntity< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > > < / span > < ul class = "tsd-hierarchy" > < li class = "tsd-hierarchy-item" > < span class = "tsd-hierarchy-target" > BNote< / span > < / li > < / ul > < / li > < / ul > < / section > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L81" > src/becca/entities/bnote.ts:81< / a > < / li > < / ul > < / aside > < section class = "tsd-panel-group tsd-index-group" > < section class = "tsd-panel tsd-index-panel" > < details class = "tsd-index-content tsd-accordion" open > < summary class = "tsd-accordion-summary tsd-index-summary" > < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-chevronSmall" > < / use > < / svg > < h5 class = "tsd-index-heading uppercase" > Index< / h5 > < / summary > < div class = "tsd-accordion-details" > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Constructors< / h3 > < div class = "tsd-index-list" > < a href = "#constructor" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Constructor" > < use href = "../assets/icons.svg#icon-512" > < / use > < / svg > < span > constructor< / span > < / a >
2025-04-12 13:13:30 +03:00
< / div > < / section > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Properties< / h3 > < div class = "tsd-index-list" > < a href = "#__flattextcache" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > __flat< wbr / > Text< wbr / > Cache< / span > < / a >
< a href = "#blobid" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > blob< wbr / > Id?< / span > < / a >
< a href = "#children" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > children< / span > < / a >
< a href = "#contentandattachmentsandrevisionssize" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > content< wbr / > And< wbr / > Attachments< wbr / > And< wbr / > Revisions< wbr / > Size< / span > < / a >
< a href = "#contentandattachmentssize" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > content< wbr / > And< wbr / > Attachments< wbr / > Size< / span > < / a >
< a href = "#contentsize" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > content< wbr / > Size< / span > < / a >
< a href = "#datecreated" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > date< wbr / > Created?< / span > < / a >
< a href = "#datemodified" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > date< wbr / > Modified?< / span > < / a >
< a href = "#isbeingdeleted" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > is< wbr / > Being< wbr / > Deleted< / span > < / a >
< a href = "#isdecrypted" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > is< wbr / > Decrypted< / span > < / a >
< a href = "#isprotected" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > is< wbr / > Protected?< / span > < / a >
< a href = "#issynced" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > is< wbr / > Synced?< / span > < / a >
< a href = "#mime" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > mime< / span > < / a >
< a href = "#noteid" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > note< wbr / > Id< / span > < / a >
< a href = "#ownedattributes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > owned< wbr / > Attributes< / span > < / a >
< a href = "#parentbranches" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > parent< wbr / > Branches< / span > < / a >
< a href = "#parents" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > parents< / span > < / a >
< a href = "#revisioncount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > revision< wbr / > Count< / span > < / a >
< a href = "#targetrelations" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > target< wbr / > Relations< / span > < / a >
< a href = "#title" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > title< / span > < / a >
< a href = "#type" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > type< / span > < / a >
< a href = "#utcdatecreated" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > utc< wbr / > Date< wbr / > Created< / span > < / a >
< a href = "#utcdatemodified" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Property" > < use href = "../assets/icons.svg#icon-1024" > < / use > < / svg > < span > utc< wbr / > Date< wbr / > Modified?< / span > < / a >
< / div > < / section > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Accessors< / h3 > < div class = "tsd-index-list" > < a href = "#attributecount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > attribute< wbr / > Count< / span > < / a >
< a href = "#becca" class = "tsd-index-link tsd-is-protected tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > becca< / span > < / a >
< a href = "#childrencount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > children< wbr / > Count< / span > < / a >
< a href = "#datecreatedobj" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > date< wbr / > Created< wbr / > Obj< / span > < / a >
< a href = "#datemodifiedobj" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > date< wbr / > Modified< wbr / > Obj< / span > < / a >
< a href = "#isarchived" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > is< wbr / > Archived< / span > < / a >
< a href = "#isdeleted" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > is< wbr / > Deleted< / span > < / a >
< a href = "#labelcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > label< wbr / > Count< / span > < / a >
< a href = "#ownedattributecount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > owned< wbr / > Attribute< wbr / > Count< / span > < / a >
< a href = "#ownedlabelcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > owned< wbr / > Label< wbr / > Count< / span > < / a >
< a href = "#ownedrelationcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > owned< wbr / > Relation< wbr / > Count< / span > < / a >
< a href = "#ownedrelationcountincludinglinks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > owned< wbr / > Relation< wbr / > Count< wbr / > Including< wbr / > Links< / span > < / a >
< a href = "#parentcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > parent< wbr / > Count< / span > < / a >
< a href = "#relationcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > relation< wbr / > Count< / span > < / a >
< a href = "#relationcountincludinglinks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > relation< wbr / > Count< wbr / > Including< wbr / > Links< / span > < / a >
< a href = "#targetrelationcount" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > target< wbr / > Relation< wbr / > Count< / span > < / a >
< a href = "#targetrelationcountincludinglinks" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > target< wbr / > Relation< wbr / > Count< wbr / > Including< wbr / > Links< / span > < / a >
< a href = "#utcdatecreatedobj" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > utc< wbr / > Date< wbr / > Created< wbr / > Obj< / span > < / a >
< a href = "#utcdatemodifiedobj" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > utc< wbr / > Date< wbr / > Modified< wbr / > Obj< / span > < / a >
< a href = "#entityname" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > entity< wbr / > Name< / span > < / a >
< a href = "#hashedproperties" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > hashed< wbr / > Properties< / span > < / a >
< a href = "#primarykeyname" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Accessor" > < use href = "../assets/icons.svg#icon-262144" > < / use > < / svg > < span > primary< wbr / > Key< wbr / > Name< / span > < / a >
< / div > < / section > < section class = "tsd-index-section" > < h3 class = "tsd-index-heading" > Methods< / h3 > < div class = "tsd-index-list" > < a href = "#__validatetypename" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > __validate< wbr / > Type< wbr / > Name< / span > < / a >
< a href = "#_getcontent" class = "tsd-index-link tsd-is-protected tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > _get< wbr / > Content< / span > < / a >
< a href = "#_setcontent" class = "tsd-index-link tsd-is-protected tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > _set< wbr / > Content< / span > < / a >
< a href = "#addattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > add< wbr / > Attribute< / span > < / a >
< a href = "#addlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > add< wbr / > Label< / span > < / a >
< a href = "#addrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > add< wbr / > Relation< / span > < / a >
< a href = "#areallnotepathsarchived" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > are< wbr / > All< wbr / > Note< wbr / > Paths< wbr / > Archived< / span > < / a >
< a href = "#beforesaving" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > before< wbr / > Saving< / span > < / a >
< a href = "#cloneto" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > clone< wbr / > To< / span > < / a >
< a href = "#converttoparentattachment" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > convert< wbr / > To< wbr / > Parent< wbr / > Attachment< / span > < / a >
< a href = "#decrypt" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > decrypt< / span > < / a >
< a href = "#deletenote" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > delete< wbr / > Note< / span > < / a >
< a href = "#eraseexcessrevisionsnapshots" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > erase< wbr / > Excess< wbr / > Revision< wbr / > Snapshots< / span > < / a >
< a href = "#generatehash" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > generate< wbr / > Hash< / span > < / a >
< a href = "#getallnotepaths" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > All< wbr / > Note< wbr / > Paths< / span > < / a >
< a href = "#getancestornoteids" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Ancestor< wbr / > Note< wbr / > Ids< / span > < / a >
< a href = "#getancestors" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Ancestors< / span > < / a >
< a href = "#getattachmentbyid" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attachment< wbr / > By< wbr / > Id< / span > < / a >
< a href = "#getattachmentbytitle" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attachment< wbr / > By< wbr / > Title< / span > < / a >
< a href = "#getattachments" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attachments< / span > < / a >
< a href = "#getattachmentsbyrole" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attachments< wbr / > By< wbr / > Role< / span > < / a >
< a href = "#getattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attribute< / span > < / a >
< a href = "#getattributecaseinsensitive" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attribute< wbr / > Case< wbr / > Insensitive< / span > < / a >
< a href = "#getattributes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attributes< / span > < / a >
< a href = "#getattributevalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Attribute< wbr / > Value< / span > < / a >
< a href = "#getbestnotepath" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Best< wbr / > Note< wbr / > Path< / span > < / a >
< a href = "#getbestnotepathstring" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Best< wbr / > Note< wbr / > Path< wbr / > String< / span > < / a >
< a href = "#getbranches" class = "tsd-index-link deprecated" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Branches< / span > < / a >
< a href = "#getchildbranches" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Child< wbr / > Branches< / span > < / a >
< a href = "#getchildnotes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Child< wbr / > Notes< / span > < / a >
< a href = "#getcontent" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Content< / span > < / a >
< a href = "#getdescendantnoteids" class = "tsd-index-link deprecated" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Descendant< wbr / > Note< wbr / > Ids< / span > < / a >
< a href = "#getdistancetoancestor" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Distance< wbr / > To< wbr / > Ancestor< / span > < / a >
< a href = "#getfilename" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > File< wbr / > Name< / span > < / a >
< a href = "#getfilteredchildbranches" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Filtered< wbr / > Child< wbr / > Branches< / span > < / a >
< a href = "#getflattext" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Flat< wbr / > Text< / span > < / a >
< a href = "#geticon" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Icon< / span > < / a >
< a href = "#getinheritingnotes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Inheriting< wbr / > Notes< / span > < / a >
< a href = "#getjsoncontent" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Json< wbr / > Content< / span > < / a >
< a href = "#getjsoncontentsafely" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Json< wbr / > Content< wbr / > Safely< / span > < / a >
< a href = "#getlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Label< / span > < / a >
< a href = "#getlabeldefinitions" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Label< wbr / > Definitions< / span > < / a >
< a href = "#getlabels" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Labels< / span > < / a >
< a href = "#getlabelvalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Label< wbr / > Value< / span > < / a >
< a href = "#getlabelvalues" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Label< wbr / > Values< / span > < / a >
< a href = "#getownedattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Attribute< / span > < / a >
< a href = "#getownedattributes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Attributes< / span > < / a >
< a href = "#getownedattributevalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Attribute< wbr / > Value< / span > < / a >
< a href = "#getownedlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Label< / span > < / a >
< a href = "#getownedlabels" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Labels< / span > < / a >
< a href = "#getownedlabelvalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Label< wbr / > Value< / span > < / a >
< a href = "#getownedlabelvalues" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Label< wbr / > Values< / span > < / a >
< a href = "#getownedrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Relation< / span > < / a >
< a href = "#getownedrelations" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Relations< / span > < / a >
< a href = "#getownedrelationvalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Owned< wbr / > Relation< wbr / > Value< / span > < / a >
< a href = "#getparentbranches" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Parent< wbr / > Branches< / span > < / a >
< a href = "#getparentnotes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Parent< wbr / > Notes< / span > < / a >
< a href = "#getpojo" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Pojo< / span > < / a >
< a href = "#getpojotosave" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Pojo< wbr / > To< wbr / > Save< / span > < / a >
< a href = "#getrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Relation< / span > < / a >
< a href = "#getrelationdefinitions" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Relation< wbr / > Definitions< / span > < / a >
< a href = "#getrelations" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Relations< / span > < / a >
< a href = "#getrelationtarget" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Relation< wbr / > Target< / span > < / a >
< a href = "#getrelationvalue" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Relation< wbr / > Value< / span > < / a >
< a href = "#getrevisions" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Revisions< / span > < / a >
< a href = "#getscriptenv" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Script< wbr / > Env< / span > < / a >
< a href = "#getsearchresultnotes" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Search< wbr / > Result< wbr / > Notes< / span > < / a >
< a href = "#getsortednotepathrecords" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Sorted< wbr / > Note< wbr / > Path< wbr / > Records< / span > < / a >
< a href = "#getstrongparentbranches" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Strong< wbr / > Parent< wbr / > Branches< / span > < / a >
< a href = "#getsubtree" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Subtree< / span > < / a >
< a href = "#getsubtreenoteids" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Subtree< wbr / > Note< wbr / > Ids< / span > < / a >
< a href = "#getsubtreenotesincludingtemplated" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Subtree< wbr / > Notes< wbr / > Including< wbr / > Templated< / span > < / a >
< a href = "#gettargetrelations" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Target< wbr / > Relations< / span > < / a >
< a href = "#gettitleorprotected" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Title< wbr / > Or< wbr / > Protected< / span > < / a >
< a href = "#getutcdatechanged" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > get< wbr / > Utc< wbr / > Date< wbr / > Changed< / span > < / a >
< a href = "#hasancestor" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Ancestor< / span > < / a >
< a href = "#hasattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Attribute< / span > < / a >
< a href = "#haschildren" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Children< / span > < / a >
< a href = "#hasinheritablearchivedlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Inheritable< wbr / > Archived< wbr / > Label< / span > < / a >
< a href = "#haslabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Label< / span > < / a >
< a href = "#hasownedattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Owned< wbr / > Attribute< / span > < / a >
< a href = "#hasownedlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Owned< wbr / > Label< / span > < / a >
< a href = "#hasownedrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Owned< wbr / > Relation< / span > < / a >
< a href = "#hasrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > Relation< / span > < / a >
< a href = "#hasstringcontent" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > has< wbr / > String< wbr / > Content< / span > < / a >
< a href = "#init" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > init< / span > < / a >
< a href = "#invalidatesubtree" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > invalidate< wbr / > Sub< wbr / > Tree< / span > < / a >
< a href = "#invalidatethiscache" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > invalidate< wbr / > This< wbr / > Cache< / span > < / a >
< a href = "#iscontentavailable" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Content< wbr / > Available< / span > < / a >
< a href = "#isdescendantofnote" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Descendant< wbr / > Of< wbr / > Note< / span > < / a >
< a href = "#iseligibleforconversiontoattachment" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Eligible< wbr / > For< wbr / > Conversion< wbr / > To< wbr / > Attachment< / span > < / a >
< a href = "#isfolder" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Folder< / span > < / a >
< a href = "#ishiddencompletely" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Hidden< wbr / > Completely< / span > < / a >
< a href = "#ishtml" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Html< / span > < / a >
< a href = "#isimage" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Image< / span > < / a >
< a href = "#isinherited" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Inherited< / span > < / a >
< a href = "#isinhiddensubtree" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > In< wbr / > Hidden< wbr / > Subtree< / span > < / a >
< a href = "#isjavascript" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Java< wbr / > Script< / span > < / a >
< a href = "#isjson" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Json< / span > < / a >
< a href = "#islabeltruthy" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Label< wbr / > Truthy< / span > < / a >
< a href = "#islaunchbarconfig" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Launch< wbr / > Bar< wbr / > Config< / span > < / a >
< a href = "#isoptions" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Options< / span > < / a >
< a href = "#isroot" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > Root< / span > < / a >
< a href = "#isstringnote" class = "tsd-index-link deprecated" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > is< wbr / > String< wbr / > Note< / span > < / a >
< a href = "#markasdeleted" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > mark< wbr / > As< wbr / > Deleted< / span > < / a >
< a href = "#markasdeletedsimple" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > mark< wbr / > As< wbr / > Deleted< wbr / > Simple< / span > < / a >
< a href = "#putentitychange" class = "tsd-index-link tsd-is-protected tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > put< wbr / > Entity< wbr / > Change< / span > < / a >
< a href = "#removeattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > remove< wbr / > Attribute< / span > < / a >
< a href = "#removelabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > remove< wbr / > Label< / span > < / a >
< a href = "#removerelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > remove< wbr / > Relation< / span > < / a >
< a href = "#save" class = "tsd-index-link tsd-is-inherited" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< / span > < / a >
< a href = "#saveattachment" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Attachment< / span > < / a >
< a href = "#saverevision" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > save< wbr / > Revision< / span > < / a >
< a href = "#searchnoteinsubtree" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > search< wbr / > Note< wbr / > In< wbr / > Subtree< / span > < / a >
< a href = "#searchnotesinsubtree" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > search< wbr / > Notes< wbr / > In< wbr / > Subtree< / span > < / a >
< a href = "#setattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Attribute< / span > < / a >
< a href = "#setcontent" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Content< / span > < / a >
< a href = "#setjsoncontent" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Json< wbr / > Content< / span > < / a >
< a href = "#setlabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Label< / span > < / a >
< a href = "#setrelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > set< wbr / > Relation< / span > < / a >
< a href = "#sortchildren" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > sort< wbr / > Children< / span > < / a >
< a href = "#sortparents" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > sort< wbr / > Parents< / span > < / a >
< a href = "#toggleattribute" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > toggle< wbr / > Attribute< / span > < / a >
< a href = "#togglelabel" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > toggle< wbr / > Label< / span > < / a >
< a href = "#togglerelation" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > toggle< wbr / > Relation< / span > < / a >
< a href = "#update" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > update< / span > < / a >
< a href = "#updatefromrow" class = "tsd-index-link" > < svg class = "tsd-kind-icon" viewBox = "0 0 24 24" aria-label = "Method" > < use href = "../assets/icons.svg#icon-2048" > < / use > < / svg > < span > update< wbr / > From< wbr / > Row< / span > < / a >
2025-04-13 18:59:52 +03:00
< / div > < / section > < / div > < / details > < / section > < / section > < details class = "tsd-panel-group tsd-member-group tsd-accordion" open > < summary class = "tsd-accordion-summary" data-key = "section-Constructors" > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-chevronDown" > < / use > < / svg > < h2 > Constructors< / h2 > < / summary > < section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "constructor" > < span > constructor< / span > < a href = "#constructor" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "constructorbnote" > < span class = "tsd-signature-keyword" > new< / span > < span class = "tsd-kind-constructor-signature" > BNote< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > row< / span > < span class = "tsd-signature-symbol" > ?:< / span > < a href = "../types/Backend_Script_API._internal_.Partial.html" class = "tsd-signature-type tsd-kind-type-alias" > Partial< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/Backend_Script_API._internal_.NoteRow.html" class = "tsd-signature-type tsd-kind-interface" > NoteRow< / a > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < a href = "#constructorbnote" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > row< / span > : < a href = "../types/Backend_Script_API._internal_.Partial.html" class = "tsd-signature-type tsd-kind-type-alias" > Partial< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/Backend_Script_API._internal_.NoteRow.html" class = "tsd-signature-type tsd-kind-interface" > NoteRow< / a > < span class = "tsd-signature-symbol" > > < / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < / h4 > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#constructor" > constructor< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L122" > src/becca/entities/bnote.ts:122< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < / section > < / details > < details class = "tsd-panel-group tsd-member-group tsd-accordion" open > < summary class = "tsd-accordion-summary" data-key = "section-Properties" > < svg width = "20" height = "20" viewBox = "0 0 24 24" fill = "none" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-chevronDown" > < / use > < / svg > < h2 > Properties< / h2 > < / summary > < section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "__flattextcache" > < span > __flat< wbr / > Text< wbr / > Cache< / span > < a href = "#__flattextcache" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > __flatTextCache< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L106" > src/becca/entities/bnote.ts:106< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "blobid" > < code class = "tsd-tag" > Optional< / code > < span > blob< wbr / > Id< / span > < a h
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L118" > src/becca/entities/bnote.ts:118< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "contentandattachmentssize" > < span > content< wbr / > And< wbr / > Attachments< wbr / > Size< / span > < a href = "#contentandattachmentssize" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > contentAndAttachmentsSize< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > number< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > size of the note content, attachment contents in bytes< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L116" > src/becca/entities/bnote.ts:116< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "contentsize" > < span > content< wbr / > Size< / span > < a href = "#contentsize" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > contentSize< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > number< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > size of the content in bytes< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L114" > src/becca/entities/bnote.ts:114< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "datecreated" > < code class = "tsd-tag" > Optional< / code > < span > date< wbr / > Created< / span > < a href = "#datecreated" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > dateCreated< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#datecreated" > dateCreated< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L27" > src/becca/entities/abstract_becca_entity.ts:27< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "datemodified" > < code class = "tsd-tag" > Optional< / code > < span > date< wbr / > Modified< / span > < a href = "#datemodified" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > dateModified< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#datemodified" > dateModified< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L28" > src/becca/entities/abstract_becca_entity.ts:28< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isbeingdeleted" > < span > is< wbr / > Being< wbr / > Deleted< / span > < a href = "#isbeingdeleted" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > isBeingDeleted< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < / div > < div class = "tsd-comment tsd-typography" > < p > set during the deletion operation, before it is completed (removed from becca completely).< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L97" > src/becca/entities/bnote.ts:97< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isdecrypted" > < span > is< wbr / > Decrypted< / span > < a href = "#isdecrypted" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > isDecrypted< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L98" > src/becca/entities/bnote.ts:98< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "isprotected" > < code class = "tsd-tag" > Optional< / code > < span > is< wbr / > Protected< / span > < a href = "#isprotected" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > isProtected< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#isprotected" > isProtected< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L32" > src/becca/entities/abstract_becca_entity.ts:32< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "issynced" > < code class = "tsd-tag" > Optional< / code > < span > is< wbr / > Synced< / span > < a href = "#issynced" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > isSynced< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#issynced" > isSynced< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L33" > src/becca/entities/abstract_becca_entity.ts:33< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "mime" > < span > mime< / span > < a href = "#mime" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > mime< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L95" > src/becca/entities/bnote.ts:95< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "noteid" > < span > note< wbr / > Id< / span > < a href = "#noteid" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > noteId< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/
< / div > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L120" > src/becca/entities/bnote.ts:120< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "targetrelations" > < span > target< wbr / > Relations< / span > < a href = "#targetrelations" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > targetRelations< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L104" > src/becca/entities/bnote.ts:104< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "title" > < span > title< / span > < a href = "#title" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > title< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L93" > src/becca/entities/bnote.ts:93< / a > < / li > < / ul > < / aside > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "type" > < span > type< / span > < a href = "#type" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < div class = "tsd-signature" > < span class = "tsd-kind-property" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " canvas" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " code" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " search" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " image" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " text" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " file" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " noteMap" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " launcher" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " doc" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " contentWidget" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " relationMap" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " render" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " mermaid" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " book" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " webView" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " mindMap" < / span > < br / > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " geoMa
2025-04-12 13:13:30 +03:00
See addLabel, addRelation for more specific methods.< / p >
2025-04-12 13:19:03 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < a href = "../types/Backend_Script_API._internal_.AttributeType.html" class = "tsd-signature-type tsd-kind-type-alias" > AttributeType< / a > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type (label / relation)< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > name of the attribute, not including the leading ~/#< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = " " < / span > < / span > < div class = "tsd-comment tsd-typography" > < p > value of the attribute - text for labels, target note ID for relations; optional.< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > isInheritable< / span > : < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > = false< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > position< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1306" > src/becca/entities/bnote.ts:1306< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "addlabel" > < span > add< wbr / > Label< / span > < a href = "#addlabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "addlabel-1" > < span class = "tsd-kind-call-signature" > addLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > isInheritable< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#addlabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Adds a new label to this note. The label attribute is saved and returned.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > name of the label, not including the leading #< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = " " < / span > < / span > < div class = "tsd-comment tsd-typography" > < p > text value of the label; optional< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > isInheritable< / span > : < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > = false< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1323" > src/becca/entities/bnote.ts:1323< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "addrelation" > < span > add< wbr / > Relation< / span > < a href = "#addrelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "addrelation-1" > < span class = "tsd-kind-call-signature" > addRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > targetNoteId< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > isInheritable< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#addrelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Adds a new relation to this note. The relation attribute is saved and
2025-04-12 13:13:30 +03:00
returned.< / p >
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > name of the relation, not including the leading ~< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > targetNoteId< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > isInheritable< / span > : < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > = false< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1333" > src/becca/entities/bnote.ts:1333< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "areallnotepathsarchived" > < span > are< wbr / > All< wbr / > Note< wbr / > Paths< wbr / > Archived< / span > < a href = "#areallnotepathsarchived" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "areallnotepathsarchived-1" > < span class = "tsd-kind-call-signature" > areAllNotePathsArchived< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#areallnotepathsarchived-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L721" > src/becca/entities/bnote.ts:721< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "beforesaving" > < span > before< wbr / > Saving< / span > < a href = "#beforesaving" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "beforesaving-1" > < span class = "tsd-kind-call-signature" > beforeSaving< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#beforesaving-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#beforesaving" > beforeSaving< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1675" > src/becca/entities/bnote.ts:1675< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "cloneto" > < span > clone< wbr / > To< / span > < a href = "#cloneto" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "cloneto-1" > < span class = "tsd-kind-call-signature" > cloneTo< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > parentNoteId< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API.
2025-04-12 13:13:30 +03:00
< ul >
< li > it has exactly one target relation< / li >
< li > it has a relation from its parent note< / li >
< li > it has no children< / li >
< li > it has no clones< / li >
< li > the parent is of type text< / li >
< li > both notes are either unprotected or user is in protected session< / li >
< / ul >
< p > Currently, works only for image notes.< / p >
< p > In the future, this functionality might get more generic and some of the requirements relaxed.< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > opts< / span > : < a href = "../interfaces/Backend_Script_API._internal_.ConvertOpts.html" class = "tsd-signature-type tsd-kind-interface" > ConvertOpts< / a > < span class = "tsd-signature-symbol" > = ...< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttachment.html" class = "tsd-signature-type tsd-kind-class" > BAttachment< / a > < / h4 > < p > null if note is not eligible for conversion< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1475" > src/becca/entities/bnote.ts:1475< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "decrypt" > < span > decrypt< / span > < a href = "#decrypt" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "decrypt-1" > < span class = "tsd-kind-call-signature" > decrypt< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#decrypt-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1537" > src/becca/entities/bnote.ts:1537< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "deletenote" > < span > delete< wbr / > Note< / span > < a href = "#deletenote" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "deletenote-1" > < span class = "tsd-kind-call-signature" > deleteNote< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > deleteId< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > taskContext< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API._internal_.TaskContext.html" class = "tsd-signature-type tsd-kind-class" > TaskContext< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#deletenote-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > (Soft) delete a note and all its descendants.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > deleteId< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > optional delete identified< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > taskContext< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API._internal_.TaskContext.html" class = "tsd-signature-type tsd-kind-class" > TaskContext< / a > < span class = "tsd-signature-symbol" > = null< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1515" > src/becca/entities/bnote.ts:1515< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "eraseexcessrevisionsnapshots" > < span > erase< wbr / > Excess< wbr / > Revision< wbr / > Snapshots< / span > < a href = "#eraseexcessrevisionsnapshots" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "eraseexcessrevisionsnapshots-1" > < span class = "tsd-kind-call-signature" > eraseExcessRevisionSnapshots< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#eraseexcessrevisionsnapshots-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1619" > src/becca/entities/bnote.ts:1619< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "generatehash" > < span > generate< wbr / > Hash< / span > < a href = "#generatehash" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-inherited" > < li class = "tsd-is-inherited" > < div class = "tsd-signature tsd-anchor-link" id = "generatehash-1" > < span class = "tsd-kind-call-signature" > generateHash< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > isDeleted< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#generatehash-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > isDeleted< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#generatehash" > generateHash< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L63" > src/becca/entities/abstract_becca_entity.ts:63< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getallnotepaths" > < span > get< wbr / > All< wbr / > Note< wbr / > Paths< / span > < a href = "#getallnotepaths" aria-label = "Permalink" class = "tsd-anchor-icon
2025-04-12 13:13:30 +03:00
< / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > array of notePaths (each represented by array of noteIds constituting the particular note path)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1159" > src/becca/entities/bnote.ts:1159< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getancestornoteids" > < span > get< wbr / > Ancestor< wbr / > Note< wbr / > Ids< / span > < a href = "#getancestornoteids" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getancestornoteids-1" > < span class = "tsd-kind-call-signature" > getAncestorNoteIds< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getancestornoteids-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1047" > src/becca/entities/bnote.ts:1047< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getancestors" > < span > get< wbr / > Ancestors< / span > < a href = "#getancestors" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getancestors-1" > < span class = "tsd-kind-call-signature" > getAncestors< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getancestors-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1022" > src/becca/entities/bnote.ts:1022< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getattachmentbyid" > < span > get< wbr / > Attachment< wbr / > By< wbr / > Id< / span > < a href = "#getattachmentbyid" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getattachmentbyid-1" > < span class = "tsd-kind-call-signature" > getAttachmentById< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > attachmentId< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > opts< / span > < span class = "tsd-signature-symbol" > ?:< / span > < a href = "../interfaces/Backend_Script_API._internal_.AttachmentOpts.html" class = "tsd-signature-type tsd-kind-interface" > AttachmentOpts< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttachment.html" class = "tsd-signature-type tsd-kind-class" > BAttachment< / a > < a href = "#getattachmentbyid-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > attribute of the given type and name. If there are more such attributes, first is returned.
2025-04-12 13:13:30 +03:00
Returns null if there's no such attribute belonging to this note.< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L605" > src/becca/entities/bnote.ts:605< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getattributecaseinsensitive" > < span > get< wbr / > Attribute< wbr / > Case< wbr / > Insensitive< / span > < a href = "#getattributecaseinsensitive" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getattributecaseinsensitive-1" > < span class = "tsd-kind-call-signature" > getAttributeCaseInsensitive< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#getattributecaseinsensitive-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L462" > src/becca/entities/bnote.ts:462< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getattributes" > < span > get< wbr / > Attributes< / span > < a href = "#getattributes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getattributes-1" > < span class = "tsd-kind-call-signature" > getAttributes< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-si
2025-04-12 13:13:30 +03:00
(for performance reasons)< / p >
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > (optional) attribute type to filter< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > (optional) attribute name to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's attributes, including inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L350" > src/becca/entities/bnote.ts:350< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getattributevalue" > < span > get< wbr / > Attribute< wbr / > Value< / span > < a href = "#getattributevalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getattributevalue-1" > < span class = "tsd-kind-call-signature" > getAttributeValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getattributevalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type (label, relation, etc.)< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > attribute value of given type and name or null if no such attribute exists.< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L616" > src/becca/entities/bnote.ts:616< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getbestnotepath" > < span > get< wbr / > Best< wbr / > Note< wbr / > Path< / span > < a href = "#getbestnotepath" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getbestnotepath-1" > < span class = "tsd-kind-call-signature" > getBestNotePath< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getbestnotepath-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Returns a note path considered to be the " best" < / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = " root" < / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > array of noteIds constituting the particular note path< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1208" > src/becca/entities/bnote.ts:1208< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getbestnotepathstring" > < span > get< wbr / > Best< wbr / > Note< wbr / > Path< wbr / > String< / span > < a href = "#getbestnotepathstring" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getbestnotepathstring-1" > < span class = "tsd-kind-call-signature" > getBestNotePathString< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getbestnotepathstring-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Returns a note path considered to be the " best" < / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = " root" < / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < p > serialized note path (e.g. 'root/a1h315/js725h')< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1217" > src/becca/entities/bnote.ts:1217< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getbranches" > < span class = "deprecated" > get< wbr / > Branches< / span > < a href = "#getbranches" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getbranches-1" > < span class = "tsd-kind-call-signature" > getBranches< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getbranches-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < div class = "tsd-tag-deprecated" > < h4 class = "tsd-anchor-link" id = "deprecated" > Deprecated< a href = "#deprecated" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h4 > < p > use getParentBranches() instead< / p >
< / div > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L207" > src/becca/entities/bnote.ts:207< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getchildbranches" > < span > get< wbr / > Child< wbr / > Branches< / span > < a href = "#getchildbranches" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getchildbranches-1" > < span class = "tsd-kind-call-signature" > getChildBranches< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getchildbranches-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L223" > src/becca/entities/bnote.ts:223< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getchildnotes" > < span > get< wbr / > Child< wbr / > Notes< / span > < a href = "#getchildnotes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getchildnotes-1" > < span class = "tsd-kind-call-signature" > getChildNotes< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getchildnotes-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L215" > src/becca/entities/bnote.ts:215< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getcontent" > < span > get< wbr / > Content< / span > < a href = "#getcontent" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getcontent-1" > < span class = "tsd-kind-call-signature" > getContent< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../types/Backend_Script_API._internal_.ArrayBufferLike.html" class = "tsd-signature-type tsd-kind-type-alias" > ArrayBufferLike< / a > < span class = "tsd-signature-symbol" > > < / span > < a href = "#getcontent-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Note content has quite special handling - it's not
2025-04-12 13:13:30 +03:00
part of Note entity with its own sync. Reasons behind this hybrid design has been:< / p >
< ul >
< li > content can be quite large, and it's not necessary to load it / fill memory for any note access even if we don't need a content, especially for bulk operations like search< / li >
< li > changes in the note metadata or title should not trigger note content sync (so we keep separate utcDateModified and entity changes records)< / li >
< li > but to the user note content and title changes are one and the same - single dateModified (so all changes must go through Note and content is not a separate entity)< / li >
< / ul >
2025-04-13 18:59:52 +03:00
< / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../types/Backend_Script_API._internal_.ArrayBufferLike.html" class = "tsd-signature-type tsd-kind-type-alias" > ArrayBufferLike< / a > < span class = "tsd-signature-symbol" > > < / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L235" > src/becca/entities/bnote.ts:235< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getdescendantnoteids" > < span class = "deprecated" > get< wbr / > Descendant< wbr / > Note< wbr / > Ids< / span > < a href = "#getdescendantnoteids" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getdescendantnoteids-1" > < span class = "tsd-kind-call-signature" > getDescendantNoteIds< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getdescendantnoteids-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < div class = "tsd-tag-deprecated" > < h4 class = "tsd-anchor-link" id = "deprecated-1" > Deprecated< a href = "#deprecated-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h4 > < p > use getSubtreeNoteIds() instead< / p >
< / div > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L970" > src/becca/entities/bnote.ts:970< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getdistancetoancestor" > < span > get< wbr / > Distance< wbr / > To< wbr / > Ancestor< / span > < a href = "#getdistancetoancestor" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getdistancetoancestor-1" > < span class = "tsd-kind-call-signature" > getDistanceToAncestor< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > ancestorNoteId< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > number< / span > < a href = "#getdistancetoancestor-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > ancestorNoteId< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > number< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1087" > src/becca/entities/bnote.ts:1087< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getfilename" > < span > get< wbr / > File< wbr / > Name< / span > < a href = "#getfilename" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getfilename-1" > < span class = "tsd-kind-call-signature" > getFileName< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getfilename-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1671" > src/becca/entities/bnote.ts:1671< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getfilteredchildbranches" > < span > get< wbr / > Filtered< wbr / > Child< wbr / > Branches< / span > < a href = "#getfilteredchildbranches" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getfilteredchildbranches-1" > < span class = "tsd-kind-call-signature" > getFilteredChildBranches< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getfilteredchildbranches-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BBranch.
2025-04-12 13:13:30 +03:00
< ul >
< li > fast searching< / li >
< li > note similarity evaluation< / li >
< / ul >
< / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < ul >
< li > returns flattened textual representation of note, prefixes and attributes< / li >
< / ul >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L784" > src/becca/entities/bnote.ts:784< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "geticon" > < span > get< wbr / > Icon< / span > < a href = "#geticon" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "geticon-1" > < span class = "tsd-kind-call-signature" > getIcon< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#geticon-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1716" > src/becca/entities/bnote.ts:1716< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getinheritingnotes" > < span > get< wbr / > Inheriting< wbr / > Notes< / span > < a href = "#getinheritingnotes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getinheritingnotes-1" > < span class = "tsd-kind-call-signature" > getInheritingNotes< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getinheritingnotes-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > returns only notes which are templated, does not include their subtrees
2025-04-12 13:13:30 +03:00
in effect returns notes which are influenced by note's non-inheritable attributes< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1071" > src/becca/entities/bnote.ts:1071< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getjsoncontent" > < span > get< wbr / > Json< wbr / > Content< / span > < a href = "#getjsoncontent" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getjsoncontent-1" > < span class = "tsd-kind-call-signature" > getJsonContent< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < a href = "#getjsoncontent-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < div class = "tsd-tag-throws" > < h4 class = "tsd-anchor-link" id = "throws" > Throws< a href = "#throws" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h4 > < p > Error in case of invalid JSON< / p >
< / div > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L242" > src/becca/entities/bnote.ts:242< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getjsoncontentsafely" > < span > get< wbr / > Json< wbr / > Content< wbr / > Safely< / span > < a href = "#getjsoncontentsafely" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getjsoncontentsafely-1" > < span class = "tsd-kind-call-signature" > getJsonContentSafely< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < a href = "#getjsoncontentsafely-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > any< / span > < / h4 > < p > valid object or null if the content cannot be parsed as JSON< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L253" > src/becca/entities/bnote.ts:253< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getlabel" > < span > get< wbr / > Label< / span > < a href = "#getlabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getlabel-1" > < span class = "tsd-kind-call-signature" > getLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#getlabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > label if it exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L529" > src/becca/entities/bnote.ts:529< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getlabeldefinitions" > < span > get< wbr / > Label< wbr / > Definitions< / span > < a href = "#getlabeldefinitions" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getlabeldefinitions-1" > < span class = "tsd-kind-call-signature" > getLabelDefinitions< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getlabeldefinitions-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L851" > src/becca/entities/bnote.ts:851< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getlabels" > < span > get< wbr / > Labels< / span > < a href = "#getlabels" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getlabels-1" > < span class = "tsd-kind-call-signature" > getLabels< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getlabels-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's labels (attributes with type label), including inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L637" > src/becca/entities/bnote.ts:637< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getlabelvalue" > < span > get< wbr / > Label< wbr / > Value< / span > < a href = "#getlabelvalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getlabelvalue-1" > < span class = "tsd-kind-call-signature" > getLabelValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getlabelvalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > label value if label exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L561" > src/becca/entities/bnote.ts:561< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getlabelvalues" > < span > get< wbr / > Label< wbr / > Values< / span > < a href = "#getlabelvalues" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getlabelvalues-1" > < span class = "tsd-kind-call-signature" > getLabelValues< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getlabelvalues-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name to filter< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's label values, including inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L645" > src/becca/entities/bnote.ts:645< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedattribute" > < span > get< wbr / > Owned< wbr / > Attribute< / span > < a href = "#getownedattribute" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedattribute-1" > < span class = "tsd-kind-call-signature" > getOwnedAttribute< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#getownedattribute-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > attribute belonging to this specific note (excludes inherited attributes)< / p >
2025-04-12 13:13:30 +03:00
< p > This method can be significantly faster than the getAttribute()< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L711" > src/becca/entities/bnote.ts:711< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedattributes" > < span > get< wbr / > Owned< wbr / > Attributes< / span > < a href = "#getownedattributes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedattributes-1" > < span class = "tsd-kind-call-signature" > getOwnedAttributes< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getownedattributes-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Beware that the method must not create a copy of the array, but actually returns its internal array
2025-04-12 13:13:30 +03:00
(for performance reasons)< / p >
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > (optional) attribute type to filter< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > (optional) attribute name to filter< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > (optional) attribute value to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > note's " owned" attributes - excluding inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L690" > src/becca/entities/bnote.ts:690< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedattributevalue" > < span > get< wbr / > Owned< wbr / > Attribute< wbr / > Value< / span > < a href = "#getownedattributevalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedattributevalue-1" > < span class = "tsd-kind-call-signature" > getOwnedAttributeValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getownedattributevalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type (label, relation, etc.)< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > attribute value of given type and name or null if no such attribute exists.< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L627" > src/becca/entities/bnote.ts:627< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedlabel" > < span > get< wbr / > Owned< wbr / > Label< / span > < a href = "#getownedlabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedlabel-1" > < span class = "tsd-kind-call-signature" > getOwnedLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#getownedlabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > label if it exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L537" > src/becca/entities/bnote.ts:537< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedlabels" > < span > get< wbr / > Owned< wbr / > Labels< / span > < a href = "#getownedlabels" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedlabels-1" > < span class = "tsd-kind-call-signature" > getOwnedLabels< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getownedlabels-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's labels (attributes with type label), excluding inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L653" > src/becca/entities/bnote.ts:653< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedlabelvalue" > < span > get< wbr / > Owned< wbr / > Label< wbr / > Value< / span > < a href = "#getownedlabelvalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedlabelvalue-1" > < span class = "tsd-kind-call-signature" > getOwnedLabelValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getownedlabelvalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > label value if label exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L569" > src/becca/entities/bnote.ts:569< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedlabelvalues" > < span > get< wbr / > Owned< wbr / > Label< wbr / > Values< / span > < a href = "#getownedlabelvalues" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedlabelvalues-1" > < span class = "tsd-kind-call-signature" > getOwnedLabelValues< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getownedlabelvalues-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name to filter< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's label values, excluding inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L661" > src/becca/entities/bnote.ts:661< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedrelation" > < span > get< wbr / > Owned< wbr / > Relation< / span > < a href = "#getownedrelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedrelation-1" > < span class = "tsd-kind-call-signature" > getOwnedRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < a href = "#getownedrelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > relation if it exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L553" > src/becca/entities/bnote.ts:553< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedrelations" > < span > get< wbr / > Owned< wbr / > Relations< / span > < a href = "#getownedrelations" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedrelations-1" > < span class = "tsd-kind-call-signature" > getOwnedRelations< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getownedrelations-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's relations (attributes with type relation), excluding inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L677" > src/becca/entities/bnote.ts:677< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getownedrelationvalue" > < span > get< wbr / > Owned< wbr / > Relation< wbr / > Value< / span > < a href = "#getownedrelationvalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getownedrelationvalue-1" > < span class = "tsd-kind-call-signature" > getOwnedRelationValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getownedrelationvalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > relation value if relation exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L585" > src/becca/entities/bnote.ts:585< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getparentbranches" > < span > get< wbr / > Parent< wbr / > Branches< / span > < a href = "#getparentbranches" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getparentbranches-1" > < span class = "tsd-kind-call-signature" > getParentBranches< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getparentbranches-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L193" > src/becca/entities/bnote.ts:193< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getparentnotes" > < span > get< wbr / > Parent< wbr / > Notes< / span > < a href = "#getparentnotes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getparentnotes-1" > < span class = "tsd-kind-call-signature" > getParentNotes< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getparentnotes-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L211" > src/becca/entities/bnote.ts:211< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getpojo" > < span > get< wbr / > Pojo< / span > < a href = "#getpojo" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getpojo-1" > < span class = "tsd-kind-call-signature" > getPojo< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API._internal_.NotePojo.html" class = "tsd-signature-type tsd-kind-interface" > NotePojo< / a > < a href = "#getpojo-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "../interfaces/Backend_Script_API._internal_.NotePojo.html" class = "tsd-signature-type tsd-kind-interface" > NotePojo< / a > < / h4 > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_S
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < / h4 > < p > relation if it exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L545" > src/becca/entities/bnote.ts:545< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getrelationdefinitions" > < span > get< wbr / > Relation< wbr / > Definitions< / span > < a href = "#getrelationdefinitions" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getrelationdefinitions-1" > < span class = "tsd-kind-call-signature" > getRelationDefinitions< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getrelationdefinitions-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L847" > src/becca/entities/bnote.ts:847< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getrelations" > < span > get< wbr / > Relations< / span > < a href = "#getrelations" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getrelations-1" > < span class = "tsd-kind-call-signature" > getRelations< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getrelations-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name to filter< / p >
2025-04-13 18:48:04 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < p > all note's relations (attributes with type relation), including inherited ones< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L669" > src/becca/entities/bnote.ts:669< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getrelationtarget" > < span > get< wbr / > Relation< wbr / > Target< / span > < a href = "#getrelationtarget" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getrelationtarget-1" > < span class = "tsd-kind-call-signature" > getRelationTarget< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < a href = "#getrelationtarget-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L469" > src/becca/entities/bnote.ts:469< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getrelationvalue" > < span > get< wbr / > Relation< wbr / > Value< / span > < a href = "#getrelationvalue" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getrelationvalue-1" > < span class = "tsd-kind-call-signature" > getRelationValue< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#getrelationvalue-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < / h4 > < p > relation value if relation exists, null otherwise< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L577" > src/becca/entities/bnote.ts:577< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getrevisions" > < span > get< wbr / > Revisions< / span > < a href = "#getrevisions" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getrevisions-1" > < span class = "tsd-kind-call-signature" > getRevisions< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BRevision.html" class = "tsd-signature-type tsd-kind-class" > BRevision< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getrevisions-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BRevision.html" class = "tsd-signature-type tsd-kind-class" > BRevision< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1101" > src/becca/entities/bnote.ts:1101< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getscriptenv" > < span > get< wbr / > Script< wbr / > Env< / span > < a href = "#getscriptenv" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getscriptenv-1" > < span class = "tsd-kind-call-signature" > getScriptEnv< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " frontend" < / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " backend" < / span > < a href = "#getscriptenv-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " frontend" < / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " backend" < / span > < / h4 > < p > JS script environment - either " frontend" or " backend" < / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L326" > src/becca/entities/bnote.ts:326< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getsearchresultnotes" > < span > get< wbr / > Search< wbr / > Result< wbr / > Notes< / span > < a href = "#getsearchresultnotes" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getsearchresultnotes-1" > < span class = "tsd-kind-call-signature" > getSearchResultNotes< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getsearchresultnotes-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L890" > src/becca/entities/bnote.ts:890< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getsortednotepathrecords" > < span > get< wbr / > Sorted< wbr / > Note< wbr / > Path< wbr / > Records< / span > < a href = "#getsortednotepathrecords" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getsortednotepathrecords-1" > < span class = "tsd-kind-call-signature" > getSortedNotePathRecords< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API._internal_.NotePathRecord.html" class = "tsd-signature-type tsd-kind-interface" > NotePathRecord< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getsortednotepathrecords-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > hoistedNoteId< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = " root" < / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "../interfaces/Backend_Script_API._internal_.NotePathRecord.html" class = "tsd-signature-type tsd-kind-interface" > NotePathRecord< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1178" > src/becca/entities/bnote.ts:1178< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getstrongparentbranches" > < span > get< wbr / > Strong< wbr / > Parent< wbr / > Branches< / span > < a href = "#getstrongparentbranches" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getstrongparentbranches-1" > < span class = "tsd-kind-call-sig
< / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BBranch.html" class = "tsd-signature-type tsd-kind-class" > BBranch< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L200" > src/becca/entities/bnote.ts:200< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getsubtree" > < span > get< wbr / > Subtree< / span > < a href = "#getsubtree" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getsubtree-1" > < span class = "tsd-kind-call-signature" > getSubtree< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > __namedParameters< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > {< / span > < br / > < span class = "tsd-kind-property" > includeArchived< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ;< / span > < br / > < span class = "tsd-kind-property" > includeHidden< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ;< / span > < br / > < span class = "tsd-kind-property" > resolveSearch< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ;< / span > < br / > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-symbol" > {< / span > < span class = "tsd-kind-property" > notes< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ;< / span > < span class = "tsd-kind-property" > relationships< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API._internal_.Relationship.html" class = "tsd-signature-type tsd-kind-interface" > Relationship< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > }< / span > < a href = "#getsubtree-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > __namedParameters< / span > : < span class = "tsd-signature-symbol" > {< / span > < span class = "tsd-kind-property" > includeArchived< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ;< / span > < span class = "tsd-kind-property" > includeHidden< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ;< / span > < span class = "tsd-kind-property" > resolveSearch< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > }< / span > < span class = "tsd-signature-symbol" > = {}< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-symbol" > {< / span > < span class = "tsd-kind-property" > notes< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > ;< / span > < span class = "tsd-kind-property" > relationships< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API._internal_.Relationship
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L965" > src/becca/entities/bnote.ts:965< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "getsubtreenotesincludingtemplated" > < span > get< wbr / > Subtree< wbr / > Notes< wbr / > Including< wbr / > Templated< / span > < a href = "#getsubtreenotesincludingtemplated" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "getsubtreenotesincludingtemplated-1" > < span class = "tsd-kind-call-signature" > getSubtreeNotesIncludingTemplated< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#getsubtreenotesincludingtemplated-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L859" > src/becca/entities/bnote.ts:859< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "gettargetrelations" > < span > get< wbr / > Target< wbr / > Relations< / span > < a href = "#gettargetrelations" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "gettargetrelations-1" > < span class = "tsd-kind-call-signature" > getTargetRelations< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < a href = "#gettargetrelations-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttribute.html" class = "tsd-signature-type tsd-kind-class" > BAttribute< / a > < span class = "tsd-signature-symbol" > []< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1065" > src/becca/entities/bnote.ts:1065< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "gettitleorprotected" > < span > get< wbr / > Title< wbr / > Or< wbr / > Protected< / span > < a href = "#gettitleorprotected" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "gettitleorprotected-1" > < span class = "tsd-kind-call-signature" > getTitleOrProtected< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < a href = "#gettitleorprotected-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > string< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://git
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label value< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if label exists (including inherited)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L480" > src/becca/entities/bnote.ts:480< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "hasownedattribute" > < span > has< wbr / > Owned< wbr / > Attribute< / span > < a href = "#hasownedattribute" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "hasownedattribute-1" > < span class = "tsd-kind-call-signature" > hasOwnedAttribute< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#hasownedattribute-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute value< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if note has an attribute with given type and name (excluding inherited)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L595" > src/becca/entities/bnote.ts:595< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "hasownedlabel" > < span > has< wbr / > Owned< wbr / > Label< / span > < a href = "#hasownedlabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "hasownedlabel-1" > < span class = "tsd-kind-call-signature" > hasOwnedLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#hasownedlabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label value< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if label exists (excluding inherited)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L503" > src/becca/entities/bnote.ts:503< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "hasownedrelation" > < span > has< wbr / > Owned< wbr / > Relation< / span > < a href = "#hasownedrelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "hasownedrelation-1" > < span class = "tsd-kind-call-signature" > hasOwnedRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#hasownedrelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation value< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if relation exists (excluding inherited)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L521" > src/becca/entities/bnote.ts:521< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "hasrelation" > < span > has< wbr / > Relation< / span > < a href = "#hasrelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "hasrelation-1" > < span class = "tsd-kind-call-signature" > hasRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#hasrelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation value< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if relation exists (including inherited)< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L512" > src/becca/entities/bnote.ts:512< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "hasstringcontent" > < span > has< wbr / > String< wbr / > Content< / span > < a href = "#hasstringcontent" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "hasstringcontent-1" > < span class = "tsd-kind-call-signature" > hasStringContent< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#hasstringcontent-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if the note has string content (not binary)< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#hasstringcontent" > hasStringContent< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L321" > src/becca/entities/bnote.ts:321< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "init" > < span > init< / span > < a href = "#init" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "init-1" > < span class = "tsd-kind-call-signature" > init< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#init-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#init" > init< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L163" > src/becca/entities/bnote.ts:163< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "invalidatesubtree" > < span > invalidate< wbr / > Sub< wbr / > Tree< / span > < a href = "#invalidatesubtree" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "invalidatesubtree-1" > < span class = "tsd-kind-call-signature" > invalidateSubTree< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > path< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#invalidatesubtree-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > path< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > = []< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L821" > src/becca/entities/bnote.ts:821< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "invalidatethiscache" > < span > invalidate< wbr / > This< wbr / > Cache< / span > < a href = "#invalidatethiscache" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "invalidatethiscache-1" > < span class = "tsd-kind-call-signature" > invalidateThisCache< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#invalidateth
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1247" > src/becca/entities/bnote.ts:1247< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "iseligibleforconversiontoattachment" > < span > is< wbr / > Eligible< wbr / > For< wbr / > Conversion< wbr / > To< wbr / > Attachment< / span > < a href = "#iseligibleforconversiontoattachment" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "iseligibleforconversiontoattachment-1" > < span class = "tsd-kind-call-signature" > isEligibleForConversionToAttachment< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > opts< / span > < span class = "tsd-signature-symbol" > ?:< / span > < a href = "../interfaces/Backend_Script_API._internal_.ConvertOpts.html" class = "tsd-signature-type tsd-kind-interface" > ConvertOpts< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#iseligibleforconversiontoattachment-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > opts< / span > : < a href = "../interfaces/Backend_Script_API._internal_.ConvertOpts.html" class = "tsd-signature-type tsd-kind-interface" > ConvertOpts< / a > < span class = "tsd-signature-symbol" > = ...< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1435" > src/becca/entities/bnote.ts:1435< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isfolder" > < span > is< wbr / > Folder< / span > < a href = "#isfolder" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isfolder-1" > < span class = "tsd-kind-call-signature" > isFolder< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isfolder-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1740" > src/becca/entities/bnote.ts:1740< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "ishiddencompletely" > < span > is< wbr / > Hidden< wbr / > Completely< / span > < a href = "#ishiddencompletely" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "ishiddencompletely-1" > < span class = "tsd-kind-call-signature" > isHiddenCompletely< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#ishiddencompletely-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidd
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1226" > src/becca/entities/bnote.ts:1226< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "ishtml" > < span > is< wbr / > Html< / span > < a href = "#ishtml" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "ishtml-1" > < span class = "tsd-kind-call-signature" > isHtml< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#ishtml-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if this note is HTML< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L306" > src/becca/entities/bnote.ts:306< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isimage" > < span > is< wbr / > Image< / span > < a href = "#isimage" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isimage-1" > < span class = "tsd-kind-call-signature" > isImage< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isimage-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if this note is an image< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L311" > src/becca/entities/bnote.ts:311< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isinherited" > < span > is< wbr / > Inherited< / span > < a href = "#isinherited" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isinherited-1" > < span class = "tsd-kind-call-signature" > isInherited< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isinherited-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L855" > src/becca/entities/bnote.ts:855< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isinhiddensubtree" > < span > is< wbr / > In< wbr / > Hidden< wbr / > Subtree< / span > < a href = "#isinhiddensubtree" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isinhiddensubtree-1" > < span class = "tsd-kind-call-signature" > isInHiddenSubtree< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isinhiddensubtree-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1061" > src/becca/entities/bnote.ts:1061< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isjavascript" > < span > is< wbr / > Java< wbr / > Script< / span > < a href = "#isjavascript" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isjavascript-1" > < span class = "tsd-kind-call-signature" > isJavaScript< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isjavascript-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if this note is JavaScript (code or attachment)< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L298" > src/becca/entities/bnote.ts:298< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isjson" > < span > is< wbr / > Json< / span > < a href = "#isjson" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isjson-1" > < span class = "tsd-kind-call-signature" > isJson< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isjson-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if this note is of application/json content type< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L293" > src/becca/entities/bnote.ts:293< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "islabeltruthy" > < span > is< wbr / > Label< wbr / > Truthy< / span > < a href = "#islabeltruthy" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "islabeltruthy-1" > < span class = "tsd-kind-call-signature" > isLabelTruthy< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#islabeltruthy-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if label exists (including inherited) and does not have " false" value.< / p >
2025-04-13 18:59:52 +03:00
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L488" > src/becca/entities/bnote.ts:488< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "islaunchbarconfig" > < span > is< wbr / > Launch< wbr / > Bar< wbr / > Config< / span > < a href = "#islaunchbarconfig" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "islaunchbarconfig-1" > < span class = "tsd-kind-call-signature" > isLaunchBarConfig< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#islaunchbarconfig-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1550" > src/becca/entities/bnote.ts:1550< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isoptions" > < span > is< wbr / > Options< / span > < a href = "#isoptions" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isoptions-1" > < span class = "tsd-kind-call-signature" > isOptions< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isoptions-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1556" > src/becca/entities/bnote.ts:1556< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isroot" > < span > is< wbr / > Root< / span > < a href = "#isroot" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isroot-1" > < span class = "tsd-kind-call-signature" > isRoot< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isroot-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < p > true if this note is the root of the note tree. Root note has " root" noteId< / p >
< div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L288" > src/becca/entities/bnote.ts:288< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "isstringnote" > < span class = "deprecated" > is< wbr / > String< wbr / > Note< / span > < a href = "#isstringnote" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "isstringnote-1" > < span class = "tsd-kind-call-signature" > isStringNote< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < a href = "#isstringnote-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < div class = "tsd-tag-deprecated" > < h4 class = "tsd-anchor-link" id = "deprecated-2" > Deprecated< a href = "#deprecated-2" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h4 > < p > use hasStringContent() instead< / p >
< / div > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L316" > src/becca/entities/bnote.ts:316< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "markasdeleted" > < span > mark< wbr / > As< wbr / > Deleted< / span > < a href = "#markasdeleted" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-inherited" > < li class = "tsd-is-inherited" > < div class = "tsd-signature tsd-anchor-link" id = "markasdeleted-1" > < span class = "tsd-kind-call-signature" > markAsDeleted< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > deleteId< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#markasdeleted-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Mark the entity as (soft) deleted. It will be completely erased later.< / p >
2025-04-12 13:13:30 +03:00
< p > This is a low-level method, for notes and branches use < code > note.deleteNote()< / code > and 'branch.deleteBranch()` instead.< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > deleteId< / span > : < span class = "tsd-signature-type" > null< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > = null< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#markasdeleted" > markAsDeleted< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L277" > src/becca/entities/abstract_becca_entity.ts:277< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "markasdeletedsimple" > < span > mark< wbr / > As< wbr / > Deleted< wbr / > Simple< / span > < a href = "#markasdeletedsimple" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-inherited" > < li class = "tsd-is-inherited" > < div class = "tsd-signature tsd-anchor-link" id = "markasdeletedsimple-1" > < span class = "tsd-kind-call-signature" > markAsDeletedSimple< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#markasdeletedsimple-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#markasdeletedsimple" > markAsDeletedSimple< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L303" > src/becca/entities/abstract_becca_entity.ts:303< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-protected tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "putentitychange" > < code class = "tsd-tag" > Protected< / code > < span > put< wbr / > Entity< wbr / > Change< / span > < a href = "#putentitychange" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-protected tsd-is-inherited" > < li class = "tsd-is-inherited" > < div class = "tsd-signature tsd-anchor-link" id = "putentitychange-1" > < span class = "tsd-kind-call-signature" > putEntityChange< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > isDeleted< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#putentitychange-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > isDeleted< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#putentitychange"
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type (label, relation, etc.)< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute value (optional)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1288" > src/becca/entities/bnote.ts:1288< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "removelabel" > < span > remove< wbr / > Label< / span > < a href = "#removelabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "removelabel-1" > < span class = "tsd-kind-call-signature" > removeLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#removelabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Remove label name-value pair, if it exists.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label value< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1401" > src/becca/entities/bnote.ts:1401< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "removerelation" > < span > remove< wbr / > Relation< / span > < a href = "#removerelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "removerelation-1" > < span class = "tsd-kind-call-signature" > removeRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#removerelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Remove the relation name-value pair, if it exists.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation value (noteId)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1411" > src/becca/entities/bnote.ts:1411< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member tsd-is-inherited" > < h3 class = "tsd-anchor-link" id = "save" > < span > save< / span > < a href = "#save" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures tsd-is-inherited" > < li class = "tsd-is-inherited" > < div class = "tsd-signature tsd-anchor-link" id = "save-1" > < span class = "tsd-kind-call-signature" > save< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > opts< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > this< / span > < a href = "#save-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Saves entity - executes SQL, but doesn't commit the transaction on its own< / p >
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > opts< / span > : < span class = "tsd-signature-symbol" > {}< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > this< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < p > Inherited from < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#save" > save< / a > < / p > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/abstract_becca_entity.ts#L103" > src/becca/entities/abstract_becca_entity.ts:103< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "saveattachment" > < span > save< wbr / > Attachment< / span > < a href = "#saveattachment" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "saveattachment-1" > < span class = "tsd-kind-call-signature" > saveAttachment< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > __namedParameters< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../interfaces/Backend_Script_API._internal_.AttachmentRow.html" class = "tsd-signature-type tsd-kind-interface" > AttachmentRow< / a > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > matchBy< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " title" < / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " attachmentId" < / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BAttachment.html" class = "tsd-signature-type tsd-kind-class" > BAttachment< / a > < a href = "#saveattachment-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > __namedParameters< / span > : < a href = "../interfaces/Backend_Script_API._internal_.AttachmentRow.html" class = "tsd-signature-type tsd-kind-interface" > AttachmentRow< / a > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > matchBy< / span > : < span class = "tsd-signature-type" > undefined< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " title" < / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > " attachmentId" < / span > < span class = "tsd-signature-symbol" > = " attachmentId" < / span > < / span > < div class = "tsd-comment tsd-typography" > < p > choose by which property we detect if to update an existing attachment.
2025-04-12 13:13:30 +03:00
Supported values are either 'attachmentId' (default) or 'title'< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BAttachment.html" class = "tsd-signature-type tsd-kind-class" > BAttachment< / a > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1641" > src/becca/entities/bnote.ts:1641< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "saverevision" > < span > save< wbr / > Revision< / span > < a href = "#saverevision" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "saverevision-1" > < span class = "tsd-kind-call-signature" > saveRevision< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "Backend_Script_API.BRevision.html" class = "tsd-signature-type tsd-kind-class" > BRevision< / a > < a href = "#saverevision-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < a href = "Backend_Script_API.BRevision.html" class = "tsd-signature-type tsd-kind-class" > BRevision< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1566" > src/becca/entities/bnote.ts:1566< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "searchnoteinsubtree" > < span > search< wbr / > Note< wbr / > In< wbr / > Subtree< / span > < a href = "#searchnoteinsubtree" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "searchnoteinsubtree-1" > < span class = "tsd-kind-call-signature" > searchNoteInSubtree< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > searchString< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < a href = "#searchnoteinsubtree-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > searchString< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1419" > src/becca/entities/bnote.ts:1419< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "searchnotesinsubtree" > < span > search< wbr / > Notes< wbr / > In< wbr / > Subtree< / span > < a href = "#searchnotesinsubtree" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "searchnotesinsubtree-1" > < span class = "tsd-kind-call-signature" > searchNotesInSubtree< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > searchString< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > s
2025-04-12 13:19:03 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < a href = "../types/Backend_Script_API._internal_.AttributeType.html" class = "tsd-signature-type tsd-kind-type-alias" > AttributeType< / a > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type (label, relation, etc.)< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute value (optional)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1260" > src/becca/entities/bnote.ts:1260< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "setcontent" > < span > set< wbr / > Content< / span > < a href = "#setcontent" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "setcontent-1" > < span class = "tsd-kind-call-signature" > setContent< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > content< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../types/Backend_Script_API._internal_.ArrayBufferLike.html" class = "tsd-signature-type tsd-kind-type-alias" > ArrayBufferLike< / a > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > opts< / span > < span class = "tsd-signature-symbol" > ?:< / span > < a href = "../interfaces/Backend_Script_API._internal_.ContentOpts-2.html" class = "tsd-signature-type tsd-kind-interface" > ContentOpts< / a > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#setcontent-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > content< / span > : < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > |< / span > < span class = "tsd-signature-type" > Buffer< / span > < span class = "tsd-signature-symbol" > < < / span > < a href = "../types/Backend_Script_API._internal_.ArrayBufferLike.html" class = "tsd-signature-type tsd-kind-type-alias" > ArrayBufferLike< / a > < span class = "tsd-signature-symbol" > > < / span > < / span > < / li > < li > < span > < span class = "tsd-kind-parameter" > opts< / span > : < a href = "../interfaces/Backend_Script_API._internal_.ContentOpts-2.html" class = "tsd-signature-type tsd-kind-interface" > ContentOpts< / a > < span class = "tsd-signature-symbol" > = {}< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L261" > src/becca/entities/bnote.ts:261< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "setjsoncontent" > < span > set< wbr / > Json< wbr / > Content< / span > < a href = "#setjsoncontent" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "setjsoncontent-1" > < span class = "tsd-kind-call-signature" > setJsonContent< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > content< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-symbol" > {}< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#setjsoncontent-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < /use
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label value< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1381" > src/becca/entities/bnote.ts:1381< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "setrelation" > < span > set< wbr / > Relation< / span > < a href = "#setrelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "setrelation-1" > < span class = "tsd-kind-call-signature" > setRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#setrelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Update's given relation's value or creates it if it doesn't exist< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation value (noteId)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1391" > src/becca/entities/bnote.ts:1391< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "sortchildren" > < span > sort< wbr / > Children< / span > < a href = "#sortchildren" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "sortchildren-1" > < span class = "tsd-kind-call-signature" > sortChildren< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#sortchildren-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L762" > src/becca/entities/bnote.ts:762< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "sortparents" > < span > sort< wbr / > Parents< / span > < a href = "#sortparents" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "sortparents-1" > < span class = "tsd-kind-call-signature" > sortParents< / span > < span class = "tsd-signature-symbol" > ()< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#sortparents-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L748" > src/becca/entities/bnote.ts:748< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "toggleattribute" > < span > toggle< wbr / > Attribute< / span > < a href = "#toggleattribute" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "toggleattribute-1" > < span class = "tsd-kind-call-signature" > toggleAttribute< / span > < span class = "tsd-signature-symbol" > (< / span > < br / > < span class = "tsd-kind-parameter" > type< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../types/Backend_Script_API._internal_.AttributeType.html" class = "tsd-signature-type tsd-kind-type-alias" > AttributeType< / a > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > enabled< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < br / > < sp
2025-04-12 13:19:03 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > type< / span > : < a href = "../types/Backend_Script_API._internal_.AttributeType.html" class = "tsd-signature-type tsd-kind-type-alias" > AttributeType< / a > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute type ('relation', 'label' etc.)< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > enabled< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > toggle On or Off< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > attribute value (optional)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1345" > src/becca/entities/bnote.ts:1345< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "togglelabel" > < span > toggle< wbr / > Label< / span > < a href = "#togglelabel" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "togglelabel-1" > < span class = "tsd-kind-call-signature" > toggleLabel< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > enabled< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#togglelabel-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Based on enabled, label is either set or removed.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > enabled< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > toggle On or Off< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > label value (optional)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1360" > src/becca/entities/bnote.ts:1360< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "togglerelation" > < span > toggle< wbr / > Relation< / span > < a href = "#togglerelation" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "togglerelation-1" > < span class = "tsd-kind-call-signature" > toggleRelation< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > enabled< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > boolean< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > name< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > ,< / span > < span class = "tsd-kind-parameter" > value< / span > < span class = "tsd-signature-symbol" > ?:< / span > < span class = "tsd-signature-type" > string< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#togglerelation-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-comment tsd-typography" > < p > Based on enabled, relation is either set or removed.< / p >
2025-04-12 13:13:30 +03:00
< / div > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > enabled< / span > : < span class = "tsd-signature-type" > boolean< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > toggle On or Off< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < span class = "tsd-kind-parameter" > name< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation name< / p >
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < li > < span > < code class = "tsd-tag" > Optional< / code > < span class = "tsd-kind-parameter" > value< / span > : < span class = "tsd-signature-type" > string< / span > < / span > < div class = "tsd-comment tsd-typography" > < p > relation value (noteId)< / p >
2025-04-13 18:59:52 +03:00
< / div > < div class = "tsd-comment tsd-typography" > < / div > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < div class = "tsd-comment tsd-typography" > < / div > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L1371" > src/becca/entities/bnote.ts:1371< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "update" > < span > update< / span > < a href = "#update" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "update-1" > < span class = "tsd-kind-call-signature" > update< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > __namedParameters< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < a href = "#update-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > __namedParameters< / span > : < span class = "tsd-signature-type" > any< / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < a href = "" class = "tsd-signature-type tsd-kind-class" > BNote< / a > < / h4 > < aside class = "tsd-sources" > < ul > < li > Defined in < a href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/entities/bnote.ts#L137" > src/becca/entities/bnote.ts:137< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section class = "tsd-panel tsd-member" > < h3 class = "tsd-anchor-link" id = "updatefromrow" > < span > update< wbr / > From< wbr / > Row< / span > < a href = "#updatefromrow" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / h3 > < ul class = "tsd-signatures" > < li class = "" > < div class = "tsd-signature tsd-anchor-link" id = "updatefromrow-1" > < span class = "tsd-kind-call-signature" > updateFromRow< / span > < span class = "tsd-signature-symbol" > (< / span > < span class = "tsd-kind-parameter" > row< / span > < span class = "tsd-signature-symbol" > :< / span > < a href = "../types/Backend_Script_API._internal_.Partial.html" class = "tsd-signature-type tsd-kind-type-alias" > Partial< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/Backend_Script_API._internal_.NoteRow.html" class = "tsd-signature-type tsd-kind-interface" > NoteRow< / a > < span class = "tsd-signature-symbol" > > < / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > :< / span > < span class = "tsd-signature-type" > void< / span > < a href = "#updatefromrow-1" aria-label = "Permalink" class = "tsd-anchor-icon" > < svg viewBox = "0 0 24 24" aria-hidden = "true" > < use href = "../assets/icons.svg#icon-anchor" > < / use > < / svg > < / a > < / div > < div class = "tsd-description" > < div class = "tsd-parameters" > < h4 class = "tsd-parameters-title" > Parameters< / h4 > < ul class = "tsd-parameter-list" > < li > < span > < span class = "tsd-kind-parameter" > row< / span > : < a href = "../types/Backend_Script_API._internal_.Partial.html" class = "tsd-signature-type tsd-kind-type-alias" > Partial< / a > < span class = "tsd-signature-symbol" > < < / span > < a href = "../interfaces/Backend_Script_API._internal_.NoteRow.html" class = "tsd-signature-type tsd-kind-interface" > NoteRow< / a > < span class = "tsd-signature-symbol" > > < / span > < / span > < / li > < / ul > < / div > < h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > void< / span > < / h4 > < aside class = "tsd-sources" > < p > Overrides < a href = "Backend_Script_API.AbstractBeccaEntity.html" > AbstractBeccaEntity< / a > .< a href = "Backend_Script_API.AbstractBeccaEntity.html#updatefromrow" > updateFromRo