@chevre/domain
Version:
Chevre Domain Library for Node.js
21 lines (20 loc) • 455 B
TypeScript
import type { Connection } from 'mongoose';
interface IPublishResult {
transactionNumber: string;
}
/**
* 取引番号リポジトリ
*/
export declare class TransactionNumberRepo {
private readonly counterRepo;
constructor(params: {
connection: Connection;
});
/**
* タイムスタンプから発行する
*/
publishByTimestamp(params: {
startDate: Date;
}): Promise<IPublishResult>;
}
export {};