@chevre/domain
Version:
Chevre Domain Library for Node.js
24 lines (23 loc) • 687 B
TypeScript
import type { SettingRepo } from '../../../repo/setting';
import type { TaskRepo } from '../../../repo/task';
import type { TransactionRepo } from '../../../repo/transaction';
type ITaskAndTransactionOperation<T> = (repos: {
setting: SettingRepo;
task: TaskRepo;
transaction: TransactionRepo;
}) => Promise<T>;
/**
* 取引のタスクを出力します
*/
export declare function exportTasksById(params: {
id: string;
/**
* タスク実行日時バッファ
*/
runsTasksAfterInSeconds?: number;
/**
* support optimizeRedundantTasks(2025-03-11~)
*/
optimizeRedundantTasks: boolean;
}): ITaskAndTransactionOperation<void>;
export {};