Class default<GetRedirectionURLContextType, Action, OnHandleEventContextType, N> Abstract
Type Parameters
GetRedirectionURLContextType
Action
OnHandleEventContextType
N extends NormalisedConfig<GetRedirectionURLContextType, Action, OnHandleEventContextType>
Constructors
constructor
- new default<GetRedirectionURLContextType, Action, OnHandleEventContextType, N>(config: N): default<GetRedirectionURLContextType, Action, OnHandleEventContextType, N>
Type Parameters
GetRedirectionURLContextType
Action
OnHandleEventContextType
N extends NormalisedConfig<GetRedirectionURLContextType, Action, OnHandleEventContextType>
Parameters
Returns default<GetRedirectionURLContextType, Action, OnHandleEventContextType, N>
Methods
getDefaultRedirectionURL
- getDefaultRedirectionURL(_: GetRedirectionURLContextType): Promise<string>
Parameters
_: GetRedirectionURLContextType
Returns Promise<string>
Abstract getFeatureComponent
- getFeatureComponent(componentName: string, props: any): Element
Parameters
componentName: string
props: any
Returns Element
Abstract getFeatures
- getFeatures(): RecipeFeatureComponentMap
Returns RecipeFeatureComponentMap
getRedirectUrl
- getRedirectUrl(context: GetRedirectionURLContextType): Promise<string>
Parameters
context: GetRedirectionURLContextType
Returns Promise<string>
redirect
- redirect(context: GetRedirectionURLContextType, history?: any, queryParams?: Record<string, string>): Promise<void>
Parameters
context: GetRedirectionURLContextType
Optional history: any
Optional queryParams: Record<string, string>
Returns Promise<void>