@chevre/domain
Version:
Chevre Domain Library for Node.js
16 lines (15 loc) • 436 B
TypeScript
import type { AssetTransactionRepo } from '../../../repo/assetTransaction';
import type { TaskRepo } from '../../../repo/task';
type ITaskAndTransactionOperation<T> = (repos: {
task: TaskRepo;
assetTransaction: AssetTransactionRepo;
}) => Promise<T>;
/**
* 取引タスク出力
*/
declare function exportTasksById(params: {
id: string;
}): ITaskAndTransactionOperation<{
id: string;
}[]>;
export { exportTasksById };