2025-04-12 13:19:03 +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 > default | 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 = "../modules/Backend_Script_API._internal_.html" > < internal> < / a > < / li > < li > < a  href = ""  aria-current = "page" > default< / a > < / li > < / ul > < h1 > Class default< / h1 > < / div > < section  class = "tsd-panel tsd-comment" > < div  class = "tsd-comment tsd-typography" > < p > Becca is a backend cache of all notes, branches, and attributes. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								There's a similar frontend cache Froca, and share cache Shaca.< / p > 
							 
						 
					
						
							
								
									
										
										
										
											2025-04-13 18:59:52 +03:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / div > < div  class = "tsd-comment tsd-typography" > < / div > < / section > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L24" > src/becca/becca-interface.ts:24< / 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:19:03 +03:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								< / div > < / section > < section  class = "tsd-index-section" > < h3  class = "tsd-index-heading" > Properties< / h3 > < div  class = "tsd-index-list" > < a  href = "#allnotesetcache"  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 > all< wbr / > Note< wbr / > Set< wbr / > Cache< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#attributeindex"  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 > attribute< wbr / > Index< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#attributes"  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 > attributes< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#branches"  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 > branches< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#childparenttobranch"  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 > child< wbr / > Parent< wbr / > To< wbr / > Branch< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#etapitokens"  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 > etapi< wbr / > Tokens< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#loaded"  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 > loaded< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#notes"  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 > notes< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#options"  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 > options< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / div > < / section > < section  class = "tsd-index-section" > < h3  class = "tsd-index-heading" > Methods< / h3 > < div  class = "tsd-index-list" > < a  href = "#addnote"  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 / > Note< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#decryptprotectednotes"  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< wbr / > Protected< wbr / > Notes< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#dirtynotesetcache"  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 > dirty< wbr / > Note< wbr / > Set< wbr / > Cache< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#findattributes"  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 > find< wbr / > Attributes< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#findattributeswithprefix"  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 > find< wbr / > Attributes< wbr / > With< wbr / > Prefix< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getallnoteset"  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 / > Set< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getattachment"  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< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getattachmentorthrow"  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 / > Or< wbr / > Throw< / 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 = "#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 = "#getattributeorthrow"  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 / > Or< wbr / > Throw< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getblob"  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 / > Blob< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getbranch"  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 / > Branch< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getbranchfromchildandparent"  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 / > Branch< wbr / > From< wbr / > Child< wbr / > And< wbr / > Parent< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getbranchorthrow"  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 / > Branch< wbr / > Or< wbr / > Throw< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getentity"  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 / > Entity< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getetapitoken"  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 / > Etapi< wbr / > Token< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getetapitokens"  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 / > Etapi< wbr / > Tokens< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getnote"  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 / > Note< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getnoteorthrow"  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 / > Note< wbr / > Or< wbr / > Throw< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getnotes"  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 / > Notes< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getoption"  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 / > Option< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getrecentnotesfromquery"  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 / > Recent< wbr / > Notes< wbr / > From< wbr / > Query< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getrevision"  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 / > Revision< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getrevisionorthrow"  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 / > Revision< wbr / > Or< wbr / > Throw< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getrevisionsfromquery"  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< wbr / > From< wbr / > Query< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#getroot"  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 / > Root< / span > < / a >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< a  href = "#reset"  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 > reset< / 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 = "constructordefault" > < span  class = "tsd-signature-keyword" > new< / span >  < span  class = "tsd-kind-constructor-signature" > default< / span > < span  class = "tsd-signature-symbol" > ()< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = ""  class = "tsd-signature-type tsd-kind-class" > default< / a > < a  href = "#constructordefault"  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" > default< / a > < / h4 > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L38" > src/becca/becca-interface.ts:38< / 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 = "allnotesetcache" > < span > all< wbr / > Note< wbr / > Set< wbr / > Cache< / span > < a  href = "#allnotesetcache"  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" > allNoteSetCache< / 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" > NoteSet< / span > < / div > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L36" > src/becca/becca-interface.ts:36< / a > < / li > < / ul > < / aside > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "attributeindex" > < span > attribute< wbr / > Index< / span > < a  href = "#attributeindex"  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" > attributeIndex< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = "../types/Backend_Script_API._internal_.Record.html"  class = "tsd-signature-type tsd-kind-type-alias" > Record< / a > < span  class = "tsd-signature-symbol" > < < / span > < span  class = "tsd-signature-type" > string< / 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 > < span  class = "tsd-signature-symbol" > > < / span > < / div > < div  class = "tsd-comment tsd-typography" > < p > Points from attribute type-name to list of attributes< / 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/becca-interface.ts#L32" > src/becca/becca-interface.ts:32< / a > < / li > < / ul > < / aside > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "attributes" > < span > attributes< / span > < a  href = "#attributes"  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" > attributes< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = "../types/Backend_Script_API._internal_.Record.html"  class = "tsd-signature-type tsd-kind-type-alias" > Record< / a > < span  class = "tsd-signature-symbol" > < < / span > < span  class = "tsd-signature-type" > string< / 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/becca-interface.ts#L30" > src/becca/becca-interface.ts:30< / a > < / li > < / ul > < / aside > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "branches" > < span > branches< / span > < a  href = "#branches"  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" > branches< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = "../types/Backend_Script_API._internal_.Record.html"  class = "tsd-signature-type tsd-kind-type-alias" > Record< / a > < span  class = "tsd-signature-symbol" > < < / span > < span  class = "tsd-signature-type" > string< / 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 > < / div > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L28" > src/becca/becca-interface.ts:28< / a > < / li > < / ul > < / aside > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "childparenttobranch" > < span > child< wbr / > Parent< wbr / > To< wbr / > Branch< / span > < a  href = "#childparenttobranch"  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" > childParentToBranch< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = "../types/Backend_Script_API._internal_.Record.html"  class = "tsd-signature-type tsd-kind-type-alias" > Record< / a > < span  class = "tsd-signature-symbol" > < < / span > < span  class = "tsd-signature-type" > string< / 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 > < / div > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L29" > src/becca/becca-interface.ts:29< / a > < / li > < / ul > < / aside > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "etapitokens" > < span > etapi< wbr / > Tokens< / span > < a  href = "#etapitokens"  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" > etapiTokens< / span > < span  class = "tsd-signature-symbol" > :< / span >  < a  href = "../types/Backend_Script_API._internal_.Record.html"  class = "tsd-signature-type tsd-kind-type-alias" > Record< / a > < span  class = "tsd-signature-symbol" > < < / span > < span  class = "tsd-signature-type" > string< / span > < span  class = "tsd  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / 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/becca-interface.ts#L247" > src/becca/becca-interface.ts:247< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "findattributes" > < span > find< wbr / > Attributes< / span > < a  href = "#findattributes"  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 = "findattributes-1" > < span  class = "tsd-kind-call-signature" > findAttributes< / 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-signature-type tsd-kind-class" > BAttribute< / a > < span  class = "tsd-signature-symbol" > []< / span > < a  href = "#findattributes-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 > < / 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 > < aside  class = "tsd-sources" > < ul > < li > Defined in < a  href = "https://github.com/TriliumNext/Notes/blob/84c2ebd7f3245ef3f6cddc8669bb5117079e316c/src/becca/becca-interface.ts#L61" > src/becca/becca-interface.ts:61< / a > < / li > < / ul > < / aside > < / div > < / li > < / ul > < / section > < section  class = "tsd-panel tsd-member" > < h3  class = "tsd-anchor-link"  id = "findattributeswithprefix" > < span > find< wbr / > Attributes< wbr / > With< wbr / > Prefix< / span > < a  href = "#findattributeswithprefix"  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 = "findattributeswithprefix-1" > < span  class = "tsd-kind-call-signature" > findAttributesWithPrefix< / 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-signature-type tsd-kind-class" > BAttribute< / a > < span  class = "tsd-signature-symbol" > []< / span > < a  href = "#findattributeswithprefix-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" > stri