2019-11-05 05:09:50 +00:00
|
|
|
import {
|
|
|
|
|
ReduxAction,
|
|
|
|
|
ReduxActionTypes,
|
|
|
|
|
ReduxActionWithoutPayload,
|
|
|
|
|
} from "../constants/ReduxActionConstants";
|
|
|
|
|
import { NamePathBindingMap } from "../constants/BindingsConstants";
|
|
|
|
|
|
2019-11-13 07:34:59 +00:00
|
|
|
export const initBindingMapListener = (): ReduxActionWithoutPayload => ({
|
2019-11-14 11:17:36 +00:00
|
|
|
type: ReduxActionTypes.CREATE_UPDATE_BINDINGS_MAP_LISTENER_INIT,
|
2019-11-05 05:09:50 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const bindingsMapSuccess = (
|
|
|
|
|
map: NamePathBindingMap,
|
|
|
|
|
): ReduxAction<NamePathBindingMap> => ({
|
|
|
|
|
type: ReduxActionTypes.CREATE_UPDATE_BINDINGS_MAP_SUCCESS,
|
|
|
|
|
payload: map,
|
|
|
|
|
});
|