12 lines
611 B
TypeScript
12 lines
611 B
TypeScript
import { AbleState, AbleAction } from "oak-domain/lib/actions/action";
|
|
import { ActionDef } from "oak-domain/lib/types/Action";
|
|
import { GenericAction } from "oak-domain/lib/actions/action";
|
|
export type IAction = 'deposit' | 'withdraw' | 'withdrawBack' | 'consume' | 'loan' | 'repay' | string;
|
|
export type ParticularAction = AbleAction | IAction;
|
|
export declare const actions: string[];
|
|
export declare const AbleActionDef: ActionDef<AbleAction, AbleState>;
|
|
export type Action = GenericAction | ParticularAction | string;
|
|
export declare const actionDefDict: {
|
|
ableState: ActionDef<AbleAction, AbleState>;
|
|
};
|