Type Alias: AnyJourneyPlugin
@rxova/journey-react / AnyJourneyPlugin
type AnyJourneyPlugin = object;Defined in: core/src/core/types.ts:540
Variance-friendly plugin bound: deriveSnapshot’s previousExtension
parameter is contravariant, so concrete JourneyPlugin<N, Api, Ext> types
are not assignable to bare JourneyPlugin. Constraints use this instead.
Properties
Section titled “Properties”readonly name: string;Defined in: core/src/core/types.ts:541
Methods
Section titled “Methods”setup()
Section titled “setup()”setup(host): object;Defined in: core/src/core/types.ts:542
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
host | PluginHost |
Returns
Section titled “Returns”object
optional api?: unknown;deriveSnapshot?
Section titled “deriveSnapshot?”optional deriveSnapshot?: (snapshot, previousExtension) => unknown;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
snapshot | JourneySnapshot |
previousExtension | never |
Returns
Section titled “Returns”unknown