UNPKG

@stackend/api

Version:

JS bindings to api.stackend.com

18 lines 716 B
import { Config } from './index'; import { Action } from 'redux'; export declare const XCAP_INITIAL_STORE_DATA_RECEIVED = "XCAP_INITIAL_STORE_DATA_RECEIVED"; export declare const XCAP_SET_CONFIG = "XCAP_SET_CONFIG"; declare type InitialDataAction = Action & { type: typeof XCAP_INITIAL_STORE_DATA_RECEIVED; json: { xcapApiConfiguration: Config; }; }; declare type SetConfigAction = Action & { type: typeof XCAP_SET_CONFIG; config: Partial<Config>; }; export declare type ConfigActions = InitialDataAction | SetConfigAction; declare const configReducer: (state: Config | undefined, action: ConfigActions) => Config; export default configReducer; //# sourceMappingURL=configReducer.d.ts.map