trilium
Preparing search index...
Frontend Script API
<internal>
Froca
Interface Froca
interface
Froca
{
attachments
:
Record
<
string
,
FAttachment
>
;
attributes
:
Record
<
string
,
FAttribute
>
;
blobPromises
:
Record
<
string
,
null
|
Promise
<
void
|
default
>
>
;
branches
:
Record
<
string
,
FBranch
>
;
notes
:
Record
<
string
,
FNote
>
;
getAttachmentsForNote
(
noteId
:
string
)
:
Promise
<
FAttachment
[]
>
;
getBlob
(
entityType
:
string
,
entityId
:
string
,
)
:
Promise
<
null
|
void
|
default
>
;
getBranch
(
branchId
:
string
,
silentNotFoundError
?:
boolean
,
)
:
undefined
|
FBranch
;
getBranches
(
branchIds
:
string
[]
,
silentNotFoundError
?:
boolean
)
:
FBranch
[]
;
getNote
(
noteId
:
string
,
silentNotFoundError
?:
boolean
,
)
:
Promise
<
null
|
FNote
>
;
getNoteFromCache
(
noteId
:
string
)
:
FNote
;
getNotes
(
noteIds
:
string
[]
,
silentNotFoundError
?:
boolean
,
)
:
Promise
<
FNote
[]
>
;
getNotesFromCache
(
noteIds
:
string
[]
,
silentNotFoundError
?:
boolean
,
)
:
FNote
[]
;
}
Index
Properties
attachments
attributes
blob
Promises
branches
notes
Methods
get
Attachments
For
Note
get
Blob
get
Branch
get
Branches
get
Note
get
Note
From
Cache
get
Notes
get
Notes
From
Cache
Properties
attachments
attachments
:
Record
<
string
,
FAttachment
>
attributes
attributes
:
Record
<
string
,
FAttribute
>
blob
Promises
blobPromises
:
Record
<
string
,
null
|
Promise
<
void
|
default
>
>
branches
branches
:
Record
<
string
,
FBranch
>
notes
notes
:
Record
<
string
,
FNote
>
Methods
get
Attachments
For
Note
getAttachmentsForNote
(
noteId
:
string
)
:
Promise
<
FAttachment
[]
>
Parameters
noteId
:
string
Returns
Promise
<
FAttachment
[]
>
get
Blob
getBlob
(
entityType
:
string
,
entityId
:
string
)
:
Promise
<
null
|
void
|
default
>
Parameters
entityType
:
string
entityId
:
string
Returns
Promise
<
null
|
void
|
default
>
get
Branch
getBranch
(
branchId
:
string
,
silentNotFoundError
?:
boolean
)
:
undefined
|
FBranch
Parameters
branchId
:
string
Optional
silentNotFoundError
:
boolean
Returns
undefined
|
FBranch
get
Branches
getBranches
(
branchIds
:
string
[]
,
silentNotFoundError
?:
boolean
)
:
FBranch
[]
Parameters
branchIds
:
string
[]
Optional
silentNotFoundError
:
boolean
Returns
FBranch
[]
get
Note
getNote
(
noteId
:
string
,
silentNotFoundError
?:
boolean
)
:
Promise
<
null
|
FNote
>
Parameters
noteId
:
string
Optional
silentNotFoundError
:
boolean
Returns
Promise
<
null
|
FNote
>
get
Note
From
Cache
getNoteFromCache
(
noteId
:
string
)
:
FNote
Parameters
noteId
:
string
Returns
FNote
get
Notes
getNotes
(
noteIds
:
string
[]
,
silentNotFoundError
?:
boolean
)
:
Promise
<
FNote
[]
>
Parameters
noteIds
:
string
[]
Optional
silentNotFoundError
:
boolean
Returns
Promise
<
FNote
[]
>
get
Notes
From
Cache
getNotesFromCache
(
noteIds
:
string
[]
,
silentNotFoundError
?:
boolean
)
:
FNote
[]
Parameters
noteIds
:
string
[]
Optional
silentNotFoundError
:
boolean
Returns
FNote
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
attachments
attributes
blob
Promises
branches
notes
Methods
get
Attachments
For
Note
get
Blob
get
Branch
get
Branches
get
Note
get
Note
From
Cache
get
Notes
get
Notes
From
Cache
trilium
Loading...