@chevre/domain
Version:
Chevre Domain Library for Node.js
26 lines (25 loc) • 1.13 kB
TypeScript
import * as factory from '../../../factory';
import type { ActionRepo } from '../../../repo/action';
import type { EventRepo } from '../../../repo/event';
import type { EventSeriesRepo } from '../../../repo/eventSeries';
import type { MemberRepo } from '../../../repo/member';
import type { MovieTheaterRepo } from '../../../repo/place/movieTheater';
import type { ScreeningRoomRepo } from '../../../repo/place/screeningRoom';
import type { ProductRepo } from '../../../repo/product';
import type { ProjectRepo } from '../../../repo/project';
import type { ScheduleRepo } from '../../../repo/schedule';
import type { SettingRepo } from '../../../repo/setting';
import type { TaskRepo } from '../../../repo/task';
export declare function createEvent(params: factory.task.createEvent.IData): (repos: {
action: ActionRepo;
event: EventRepo;
eventSeries: EventSeriesRepo;
member: MemberRepo;
movieTheater: MovieTheaterRepo;
screeningRoom: ScreeningRoomRepo;
product: ProductRepo;
project: ProjectRepo;
schedule: ScheduleRepo;
setting: SettingRepo;
task: TaskRepo;
}) => Promise<void>;