Back to Trilium

Class default

docs/Script API/classes/Frontend_Script_API._internal_.default-1.html

0.102.21.6 KB
Original Source

Class default

Index

Constructors

constructor

Properties

blobIdcontentcontentLengthdateModifiedutcDateModified

Methods

getJsonContentgetJsonContentSafely

Constructors

constructor

new default(row: FBlobRow): default

Parameters

  • row: FBlobRow

Returns default

Properties

blobId

blobId: string

content

content: string

can either contain the whole content (in e.g. string notes), only part (large text notes) or nothing at all (binary notes, images)

contentLength

contentLength: number

dateModified

dateModified: string

utcDateModified

utcDateModified: string

Methods

getJsonContent

getJsonContent<T>(): null | T

Type Parameters

  • T

Returns null | T

Throws

Error in case of invalid JSON

getJsonContentSafely

getJsonContentSafely(): unknown

Returns unknown

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Constructors constructor Properties blobIdcontentcontentLengthdateModifiedutcDateModified Methods getJsonContentgetJsonContentSafely