ReduxStoreExtension

Interface

The extension interface for ReduxStore extension point.

Inheritance: ReduxStoreExtensionBaseExtension

Properties

getActions
getActions: () => string[]

The method that returns the redux actions.

getInitLocalState
getInitLocalState: () => any

The method that returns the redux initial store state.

getReducer
getReducer: () => (localStateany, actionany, stateIMState) => any

The method that returns the redux reducer. The reducer should return local state.

getStoreKey
getStoreKey: () => string

The method that returns the redux store key. The key supports this format: a.b.c.

id
id: string

The unique id. For widget's provided extension, the id pattern is: widgetId + extensionName

index optional
index: number

If an extension point supports multiple extensions, the index is used to determine the extension order.

name optional
name: string

The extension name.

widgetId optional
widgetId: string

The widget id that provides the extension. No widget id means the extension is provided by Jimu.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.