@chevre/domain
Version:
Chevre Domain Library for Node.js
21 lines (20 loc) • 640 B
TypeScript
import type { IUnitPriceOfferFromAggregateOffer, OfferRepo } from '../../../repo/offer/unitPriceInCatalog';
import type { OfferCatalogRepo } from '../../../repo/offerCatalog';
import type { ProductRepo } from '../../../repo/product';
/**
* 興行オファー検索
* NotFoundエラーをハンドリングする
*/
export declare function findEventOffers(params: {
event: {
offers?: {
itemOffered?: {
id?: string;
};
};
};
}): (repos: {
offer: OfferRepo;
offerCatalog: OfferCatalogRepo;
product: ProductRepo;
}) => Promise<IUnitPriceOfferFromAggregateOffer[]>;