HistoricalPath
Stentor API Reference / stentor-models/src / HistoricalPath
Interface: HistoricalPath
Defined in: packages/stentor-models/src/Path/Path.ts:41
When compiled, it will move the user back to a previous handler they already visited.
It always calls the start() method of the historical handler.
Extendsβ
Propertiesβ
actions?β
optionalactions:StorageAction[]
Defined in: packages/stentor-models/src/Action/Actionable.ts:12
Inherited fromβ
conditions?β
optionalconditions:string|Conditions
Defined in: packages/stentor-models/src/Conditional.ts:73
Conditions to be met.
Can either be a Conditions object or a string such as "foo('bar') || false"
Inherited fromβ
historicalIndexβ
historicalIndex:
number
Defined in: packages/stentor-models/src/Path/Path.ts:47
The number of handlers to go back into the history of.
This is typically just one and can be no more than 10.
data?β
optionaldata:object
Defined in: packages/stentor-models/src/Path/Path.ts:66
Inherited fromβ
platform?β
optionalplatform:string
Defined in: packages/stentor-models/src/Path/Path.ts:72
Optional platform filter for the path.
If set, the path will only apply to the specified platform.