@appsflow/redux
Version:
AppFlow redux
18 lines (17 loc) • 734 B
TypeScript
import { commandBases } from '@appsflow/core';
import Controller from "../controller";
import { CommandRoute } from "../command-bases/route";
declare const Routes_base: typeof import("@appsflow/core/dist/umd/src/managers").Commands;
export declare class Routes extends Routes_base {
currentRoute: {
[key: string]: string;
};
private store;
constructor(store: any);
static getName(): string;
to(route: string, args?: {}): Promise<any>;
register(commands: Array<typeof commandBases.CommandPublic>, controller: Controller): (typeof commandBases.CommandBase)[];
protected attachCurrent(command: CommandRoute, args?: any): void;
}
export declare function getRoutes(): Routes;
export default Routes;