@chevre/domain
Version:
Chevre Domain Library for Node.js
44 lines (43 loc) • 2.15 kB
TypeScript
import * as factory from '../../../factory';
import type { AccountTitleRepo } from '../../../repo/accountTitle';
import type { ActionRepo } from '../../../repo/action';
import type { AggregateOfferRepo } from '../../../repo/aggregateOffer';
import type { CategoryCodeRepo } from '../../../repo/categoryCode';
import type { CreativeWorkRepo } from '../../../repo/creativeWork';
import type { EventRepo } from '../../../repo/event';
import type { EventSeriesRepo } from '../../../repo/eventSeries';
import type { MemberRepo } from '../../../repo/member';
import type { OfferRepo } from '../../../repo/offer/unitPriceInCatalog';
import type { OfferCatalogRepo } from '../../../repo/offerCatalog';
import type { OfferCatalogItemRepo } from '../../../repo/offerCatalogItem';
import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider';
import type { HasPOSRepo } from '../../../repo/place/hasPOS';
import type { MovieTheaterRepo } from '../../../repo/place/movieTheater';
import type { ScreeningRoomRepo } from '../../../repo/place/screeningRoom';
import type { ProductRepo } from '../../../repo/product';
import type { ProductModelRepo } from '../../../repo/productModel';
import type { ProductOfferRepo } from '../../../repo/productOffer';
import type { SettingRepo } from '../../../repo/setting';
import type { TaskRepo } from '../../../repo/task';
export declare function onResourceDeleted(params: factory.task.onResourceUpdated.IData): (repos: {
accountTitle: AccountTitleRepo;
action: ActionRepo;
aggregateOffer: AggregateOfferRepo;
categoryCode: CategoryCodeRepo;
creativeWork: CreativeWorkRepo;
event: EventRepo;
eventSeries: EventSeriesRepo;
hasPOS: HasPOSRepo;
member: MemberRepo;
movieTheater: MovieTheaterRepo;
paymentServiceProvider: PaymentServiceProviderRepo;
offer: OfferRepo;
offerCatalog: OfferCatalogRepo;
offerCatalogItem: OfferCatalogItemRepo;
screeningRoom: ScreeningRoomRepo;
product: ProductRepo;
productModel: ProductModelRepo;
productOffer: ProductOfferRepo;
setting: SettingRepo;
task: TaskRepo;
}) => Promise<void>;