12 lines
458 B
TypeScript
12 lines
458 B
TypeScript
import { Trigger } from 'oak-domain/lib/types/Trigger';
|
||
import { EntityDict } from '../oak-app-domain';
|
||
import { BRC } from '../types/RuntimeCxt';
|
||
/**
|
||
* 当refund/transfer完成或失败时,如果关联有提现,去更新提现的状态
|
||
* @param context
|
||
* @param refunds
|
||
*/
|
||
export declare function updateWithdrawState(context: BRC, id: string): Promise<0 | 1>;
|
||
declare const triggers: Trigger<EntityDict, 'withdraw', BRC>[];
|
||
export default triggers;
|