Global

Members

api :FrontendScriptApi

An instance of the frontend api available globally.
Type:
Source:

Methods

getJsonContent() → {*}

Source:
Throws:
Error in case of invalid JSON
Returns:
Type
*

getJsonContentSafely() → {*|null}

Source:
Returns:
valid object or null if the content cannot be parsed as JSON
Type
* | null

Type Definitions

AttributeType

There are currently only two types of attributes, labels or relations.
Type:
  • "label" | "relation"
Source:

NotePathRecord

Type:
  • Object
Properties:
Name Type Description
isArchived boolean
isInHoistedSubTree boolean
isSearch boolean
notePath Array.<string>
isHidden boolean
Source:

NoteType

There are many different Note types, some of which are entirely opaque to the end user. Those types should be used only for checking against, they are not for direct use.
Type:
  • "file" | "image" | "search" | "noteMap" | "launcher" | "doc" | "contentWidget" | "text" | "relationMap" | "render" | "canvas" | "mermaid" | "book" | "webView" | "code"
Source:

int

A whole number
Type:
  • number
Source: