Runner Library API reference
The Tripetto Runner library is the workhorse of all Tripetto runners. It turns a form definition (the output of the builder) into an executable program; a virtual finite state machine that handles all the complex logic and response collection during the execution of the form. Apply a UI on top of it, and you have a usable runner!
⨠Installation â
- npm
- Yarn
- pnpm
npm install @tripetto/runner
yarn add @tripetto/runner
pnpm add @tripetto/runner
Typescript support
This package contains type declarations and supports TypeScript out-of-the-box.
đ Classesâ
Await
Branch
Branches
Callback
Section
Sections
Condition
ConditionBlock
ConditionBlocksNamespace
Conditions
Context
Data
Enumerator
HeadlessBlock
ImmutableValue
Instance
MarkdownParser
Moment
Node
NodeBlock
NodeBlocksNamespace
Nodes
Runner
Storyline
Value
Values
đ Decoratorsâ
Class decorators âšī¸â
Method decorators âšī¸â
âļī¸ Functionsâ
arrayItem
arraySize
assert
calculateFingerprintAndStencil
call
callAsync
callBind
callPromise
cancelFrame
cancelPromise
cast
castToBoolean
castToFloat
castToNumber
castToString
checksum
clone
compare
count
destroy
each
eachReverse
extend
extendImmutable
filter
find
findFirst
findLast
fingerprint
firstArrayItem
forEach
get
getBoolean
getFloat
getNumber
getString
hasOneOrMore
hasOnly
isArray
isBoolean
isCollection
isDate
isDefined
isError
isFilledString
isFloat
isFunction
isNull
isNumber
isNumberFinite
isObject
isPromise
isRegEx
isString
isUndefined
isVariable
lastArrayItem
map
markdownify
markdownifyTo
markdownifyToPlainText
markdownifyToString
markdownifyToURL
mountNamespace
powDuration
powHashRate
powSolve
powSpentTime
powVerify
reduce
scheduleAction
scheduleAndCancelFrame
scheduleAndCancelPromise
scheduleAnimation
scheduleEvent
scheduleFrame
schedulePromise
set
stencil
stringLength
unmountNamespace
đī¸ Modulesâ
âī¸ Interfacesâ
IDataChangeEvent
IDefinition
IEpilogue
IInstanceSnapshot
IL10n
INamespace
IObservableNode
IPrologue
IRunnerChangeEvent
IRunnerProperties
ISnapshot
IStoryline
IVariable
đ Enumsâ
đŋ Constantsâ
đ Source code â
The Tripetto Runner library code is on GitLab.