UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

15 lines (14 loc) 540 B
/** * 転送取引サービス */ import * as factory from '../../factory'; import type { AccountRepo } from '../../repo/account'; import type { AccountTransactionRepo } from '../../repo/accountTransaction'; export type IStartOperation<T> = (repos: { account: AccountRepo; accountTransaction: AccountTransactionRepo; }) => Promise<T>; /** * 取引開始 */ export declare function start(params: factory.account.transaction.transfer.IStartParamsWithoutDetail): IStartOperation<factory.account.transaction.transfer.ITransaction>;