oak-general-business/es/oak-app-domain/Oper/Action.d.ts

13 lines
545 B
TypeScript

import { ActionDef } from "oak-domain/lib/types/Action";
import { GenericAction } from "oak-domain/lib/actions/action";
export type IState = 'normal' | 'rollbacked' | string;
export type State = IState | string;
export type IAction = 'undo' | 'redo' | string;
export type ParticularAction = IAction;
export declare const actions: string[];
export declare const IActionDef: ActionDef<IAction, IState>;
export type Action = GenericAction | ParticularAction | string;
export declare const actionDefDict: {
iState: ActionDef<string, string>;
};