UNPKG

@chevre/domain

Version:

Chevre Domain Library for Node.js

61 lines (60 loc) 2.27 kB
/** * プロジェクトサービス */ import type { AccountTitleRepo } from '../repo/accountTitle'; import type { ActionRepo } from '../repo/action'; import type { AssetTransactionRepo } from '../repo/assetTransaction'; import type { CategoryCodeRepo } from '../repo/categoryCode'; import type { CreativeWorkRepo } from '../repo/creativeWork'; import type { EventRepo } from '../repo/event'; import type { MemberRepo } from '../repo/member'; import type { OfferRepo } from '../repo/offer/unitPriceInCatalog'; import type { OfferCatalogRepo } from '../repo/offerCatalog'; import type { MovieTheaterRepo } from '../repo/place/movieTheater'; import type { ScreeningRoomRepo } from '../repo/place/screeningRoom'; import type { PriceSpecificationRepo } from '../repo/priceSpecification'; import type { ProductRepo } from '../repo/product'; import type { ProjectRepo } from '../repo/project'; import type { ReservationRepo } from '../repo/reservation'; import type { SellerRepo } from '../repo/seller'; import type { TaskRepo } from '../repo/task'; export declare function deleteProject(params: { id: string; }): (repos: { accountTitle: AccountTitleRepo; action: ActionRepo; categoryCode: CategoryCodeRepo; creativeWork: CreativeWorkRepo; event: EventRepo; member: MemberRepo; offer: OfferRepo; offerCatalog: OfferCatalogRepo; priceSpecification: PriceSpecificationRepo; product: ProductRepo; project: ProjectRepo; reservation: ReservationRepo; movieTheater: MovieTheaterRepo; screeningRoom: ScreeningRoomRepo; seller: SellerRepo; task: TaskRepo; assetTransaction: AssetTransactionRepo; }) => Promise<void>; export declare function cleanUpDatabaseByProject(params: { id: string; }): (repos: { accountTitle: AccountTitleRepo; action: ActionRepo; assetTransaction: AssetTransactionRepo; categoryCode: CategoryCodeRepo; creativeWork: CreativeWorkRepo; event: EventRepo; offer: OfferRepo; offerCatalog: OfferCatalogRepo; priceSpecification: PriceSpecificationRepo; product: ProductRepo; reservation: ReservationRepo; movieTheater: MovieTheaterRepo; screeningRoom: ScreeningRoomRepo; seller: SellerRepo; task: TaskRepo; }) => Promise<void>;