14 lines
582 B
TypeScript
14 lines
582 B
TypeScript
import { BackendRuntimeContext } from '../context/BackendRuntimeContext';
|
|
import { EntityDict } from '../oak-app-domain';
|
|
export type AspectDict<ED extends EntityDict> = {
|
|
getWithdrawCreateData: (params: {
|
|
accountId: string;
|
|
price: number;
|
|
withdrawAccountId?: string;
|
|
}, context: BackendRuntimeContext<ED>) => Promise<EntityDict['withdraw']['CreateSingle']['data']>;
|
|
getMpShipState: (params: {
|
|
depositId?: string;
|
|
orderId?: string;
|
|
}, context: BackendRuntimeContext<ED>) => Promise<EntityDict['ship']['Schema']['iState']>;
|
|
};
|