The configuration action creators.

interface ConfigurationActionCreators {
    disableAnalytics(): { payload: void; type: string };
    enableAnalytics(): { payload: void; type: string };
    updateAnalyticsConfiguration(
        payload: UpdateAnalyticsConfigurationPayload,
    ): { payload: UpdateAnalyticsConfigurationPayload; type: string };
    updateBasicConfiguration(
        payload: UpdateBasicConfigurationActionCreatorPayload,
    ): { payload: UpdateBasicConfigurationActionCreatorPayload; type: string };
    updateProxyBaseUrl(
        payload: UpdateProxyBaseUrlPayload,
    ): { payload: UpdateProxyBaseUrlPayload; type: string };
}

Methods

  • Disables analytics.

    Returns { payload: void; type: string }

    A dispatchable action.

  • Enables analytics.

    Returns { payload: void; type: string }

    A dispatchable action.

  • Updates the commerce configuration.

    Parameters

    • payload: UpdateProxyBaseUrlPayload

      The action creator payload.

    Returns { payload: UpdateProxyBaseUrlPayload; type: string }

    A dispatchable action.