@chevre/domain
Version:
Chevre Domain Library for Node.js
19 lines (18 loc) • 519 B
TypeScript
import type { SettingRepo } from '../../../repo/setting';
import type { TaskRepo } from '../../../repo/task';
import * as factory from '../../../factory';
/**
* 予約作成時イベント
*/
export declare function onReservationsCreated(params: {
event: {
id: string;
};
project: {
id: string;
};
transaction: Pick<factory.assetTransaction.reserve.ITransaction, 'transactionNumber' | 'instrument'>;
}): (repos: {
setting: SettingRepo;
task: TaskRepo;
}) => Promise<void>;