UNPKG

@appsflow/redux

Version:
34 lines (33 loc) 892 B
/** * @author: Leonid Vinikov <czf.leo123@gmail.com> * @description: Responsible for hooks & actions. */ import $flow from "@appsflow/core"; import { PreloadedState, Slice, SliceCaseReducers } from '@reduxjs/toolkit'; export declare class Controller extends $flow.Controller { routes: {}; readonly slice: Slice; constructor(); static getName(): string; static getSliceInitialState(): any; initialize(): void; setupHooks(): void; registerRoutes(): void; getCommands(): { [p: string]: any; }; getData(): { [p: string]: any; }; getInternal(): { [p: string]: any; }; getRoutes(): { [p: string]: any; }; getReducers(): SliceCaseReducers<any>; getSlice(): Slice<PreloadedState<any>, SliceCaseReducers<any>, string>; getState(): any; private createSlice; } export default Controller;