12 lines
551 B
TypeScript
12 lines
551 B
TypeScript
import { ActionDef } from "oak-domain/lib/types/Action";
|
|
import { GenericAction } from "oak-domain/lib/actions/action";
|
|
export type IState = 'unsettled' | 'settled' | 'closed' | string;
|
|
export type IAction = 'settle' | 'close' | string;
|
|
export declare const IActionDef: ActionDef<IAction, IState>;
|
|
export type ParticularAction = IAction | 'refund' | 'refundFailure';
|
|
export declare const actions: string[];
|
|
export type Action = GenericAction | ParticularAction | string;
|
|
export declare const actionDefDict: {
|
|
iState: ActionDef<string, string>;
|
|
};
|