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â
AwaitBranchBranchesCallbackSectionSectionsConditionConditionBlockConditionBlocksNamespaceConditionsContextDataEnumeratorHeadlessBlockImmutableValueInstanceMarkdownParserMomentNodeNodeBlockNodeBlocksNamespaceNodesRunnerStorylineValueValues
đ Decoratorsâ
Class decorators âšī¸â
Method decorators âšī¸â
âļī¸ Functionsâ
arrayItemarraySizeassertcalculateFingerprintAndStencilcallcallAsynccallBindcallPromisecancelFramecancelPromisecastcastToBooleancastToFloatcastToNumbercastToStringchecksumclonecomparecountdestroyeacheachReverseextendextendImmutablefilterfindfindFirstfindLastfingerprintfirstArrayItemforEachgetgetBooleangetFloatgetNumbergetStringhasOneOrMorehasOnlyisArrayisBooleanisCollectionisDateisDefinedisErrorisFilledStringisFloatisFunctionisNullisNumberisNumberFiniteisObjectisPromiseisRegExisStringisUndefinedisVariablelastArrayItemmapmarkdownifymarkdownifyTomarkdownifyToPlainTextmarkdownifyToStringmarkdownifyToURLmountNamespacepowDurationpowHashRatepowSolvepowSpentTimepowVerifyreducescheduleActionscheduleAndCancelFramescheduleAndCancelPromisescheduleAnimationscheduleEventscheduleFrameschedulePromisesetstencilstringLengthunmountNamespace
đī¸ Modulesâ
âī¸ Interfacesâ
IDataChangeEventIDefinitionIEpilogueIInstanceSnapshotIL10nINamespaceIObservableNodeIPrologueIRunnerChangeEventIRunnerPropertiesISnapshotIStorylineIVariable
đ Enumsâ
đŋ Constantsâ
đ Source code
â
The Tripetto Runner library code is on GitLab.