IBoot
Interface: IBoot
Defined in: src/boot/index.d.ts:48
Properties
argv
argv:
string[]
Defined in: src/boot/index.d.ts:49
boot()
boot: (
callback?) =>void
Defined in: src/boot/index.d.ts:50
Parameters
callback?
() => void
Returns
void
bootPath?
optionalbootPath:string
Defined in: src/boot/index.d.ts:52
Absolute path to the boot directory (Node.js only)
corePath?
optionalcorePath:string
Defined in: src/boot/index.d.ts:54
Absolute path to the core directory (Node.js only)
coreServerPath?
optionalcoreServerPath:string
Defined in: src/boot/index.d.ts:56
Absolute path to the core-server directory (Node.js only)
decryptEncryptedTiddlers()
decryptEncryptedTiddlers: (
callback) =>void
Defined in: src/boot/index.d.ts:57
Parameters
callback
() => void
Returns
void
disabledStartupModules?
optionaldisabledStartupModules:string[]
Defined in: src/boot/index.d.ts:58
doesTaskMatchPlatform()
doesTaskMatchPlatform: (
taskModule) =>boolean
Defined in: src/boot/index.d.ts:59
Parameters
taskModule
unknown
Returns
boolean
excludeRegExp
excludeRegExp:
RegExp
Defined in: src/boot/index.d.ts:60
execStartup()
execStartup: (
options) =>void
Defined in: src/boot/index.d.ts:61
Parameters
options
Returns
void
extraPlugins
extraPlugins:
string[]
Defined in: src/boot/index.d.ts:65
Parse any extra plugin references from $tw.boot.argv[0] that with + prefix.
files
files:
IBootFilesIndex
Defined in: src/boot/index.d.ts:66
initStartup()
initStartup: (
options) =>void
Defined in: src/boot/index.d.ts:67
Parameters
options
Returns
void
isStartupTaskEligible()
isStartupTaskEligible: (
taskModule) =>boolean
Defined in: src/boot/index.d.ts:68
Parameters
taskModule
unknown
Returns
boolean
loadStartup()
loadStartup: (
options) =>void
Defined in: src/boot/index.d.ts:69
Parameters
options
Returns
void
log()
log: (
logString) =>void
Defined in: src/boot/index.d.ts:70
Parameters
logString
string
Returns
void
logMessages
logMessages:
string[]
Defined in: src/boot/index.d.ts:71
remainingStartupModules?
optionalremainingStartupModules:unknown[]
Defined in: src/boot/index.d.ts:72
startup()
startup: (
options) =>void
Defined in: src/boot/index.d.ts:73
Parameters
options
Returns
void
tasks
tasks:
object
Defined in: src/boot/index.d.ts:75
Default boot tasks
readBrowserTiddlers
readBrowserTiddlers:
boolean
trapErrors
trapErrors:
boolean
wikiInfo?
optionalwikiInfo:ITiddlyWikiInfoJSON
Defined in: src/boot/index.d.ts:80
Exist in nodejs wiki, Load the tiddlers from the wiki directory
wikiPath?
optionalwikiPath:string
Defined in: src/boot/index.d.ts:82
Exist in nodejs wiki, absolute path of wiki root folder
wikiTiddlersPath?
optionalwikiTiddlersPath:string
Defined in: src/boot/index.d.ts:84
Exist in nodejs wiki, usually is ./tiddlers