@chevre/domain
Version:
Chevre Domain Library for Node.js
17 lines (16 loc) • 713 B
TypeScript
import { MongoRepository as EventRepo } from '../repo/event';
import { MongoRepository as PriceSpecificationRepo } from '../repo/priceSpecification';
import { MongoRepository as TicketTypeRepo } from '../repo/ticketType';
import * as factory from '../factory';
declare type ISearchScreeningEventTicketOffersOperation<T> = (repos: {
event: EventRepo;
priceSpecification: PriceSpecificationRepo;
ticketType: TicketTypeRepo;
}) => Promise<T>;
/**
* 上映イベントに対するオファーを検索する
*/
export declare function searchScreeningEventTicketOffers(params: {
eventId: string;
}): ISearchScreeningEventTicketOffersOperation<factory.event.screeningEvent.ITicketOffer[]>;
export {};