oak-pay-business/es/aspects/AspectDict.d.ts

10 lines
402 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']>;
};