<!DOCTYPE html><htmlclass="default"lang="en"data-base=".."><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>default | trilium</title><metaname="description"content="Documentation for trilium"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../assets/navigation.js"id="tsd-nav-script"></script><scriptasyncsrc="../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(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">trilium</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../modules.html">trilium</a></li><li><ahref="../modules/becca_entities_battachment.html">becca/entities/battachment</a></li><li><ahref="becca_entities_battachment.default.html">default</a></li></ul><h1>Class default</h1></div><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><p>Attachment represent data related/attached to the note. Conceptually similar to attributes, but intended for
larger amounts of data and generally not accessible to the user.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L49">becca/entities/battachment.ts:49</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="datecreated"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>date<wbr/>Created</span><ahref="#datecreated"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">dateCreated</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">string</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="becca_entities_abstract_becca_entity.default.html">default</a>.<ahref="becca_entities_abstract_becca_entity.default.html#datecreated">dateCreated</a></p><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/abstract_becca_entity.ts#L28">becca/entities/abstract_becca_entity.ts:28</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="datemodified"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>date<wbr/>Modified</span><ahref="#datemodified"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">dateModified</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">string</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="becca_entities_abstract_becca_entity.default.html">default</a>.<ahref="becca_entities_abstract_becca_entity.default.html#datemodified">dateModified</a></p><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/abstract_becca_entity.ts#L29">becca/entities/abstract_becca_entity.ts:29</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="isdecrypted"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>is<wbr/>Decrypted</span><ahref="#isdecrypted"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">isDecrypted</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">boolean</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L50">becca/entities/battachment.ts:50</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="isprotected"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>is<wbr/>Protected</span><ahref="#isprotected"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">isProtected</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">boolean</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="becca_entities_abstract_becca_entity.default.html">default</a>.<ahref="becca_entities_abstract_becca_entity.default.html#isprotected">isProtected</a></p><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/abstract_becca_entity.ts#L33">becca/entities/abstract_becca_entity.ts:33</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="issynced"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L41">becca/entities/battachment.ts:41</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="position"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>position</span><ahref="#position"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">position</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">number</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L46">becca/entities/battachment.ts:46</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="role"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>role</span><ahref="#role"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">role</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">string</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L42">becca/entities/battachment.ts:42</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="title"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>title</span><ahref="#title"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">title</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">string</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L44">becca/entities/battachment.ts:44</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="type"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Optional</code><span>type</span><ahref="#type"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">type</span><spanclass="tsd-signature-symbol">?:</span><spanclass="tsd-signature-type">"file"</span><spanclass="tsd-signature-symbol">|</span><spanclass="tsd-signature-type">"image"</span></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/battachment.ts#L45">becca/entities/battachment.ts:45</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="utcdatecreated"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>utc<wbr/>Date<wbr/>Created</span><ahref="#utcdatecreated"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">utcDateCreated</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">string</span></div><asideclass="tsd-sources"><p>Inherited from <ahref="becca_entities_abstract_becca_entity.default.html">default</a>.<ahref="becca_entities_abstract_becca_entity.default.html#utcdatecreated">utcDateCreated</a></p><ul><li>Defined in <ahref="https://github.com/TriliumNext/Notes/blob/84d173808523b9d88c8992ee8ef26b563610c591/src/becca/entities/abstract_becca_entity.ts#L3