15 lines
714 B
TypeScript
15 lines
714 B
TypeScript
import { MikroORM } from '@mikro-orm/core';
|
|
import { EventEmitter2 } from '@nestjs/event-emitter';
|
|
import { Guest } from '../entities/guest.entity';
|
|
import { CreateGuestDto } from '../api/dto/create-guest.dto';
|
|
import { UpdateRsvpDto } from '../api/dto/update-rsvp.dto';
|
|
export declare class GuestService {
|
|
private readonly orm;
|
|
private readonly eventEmitter;
|
|
constructor(orm: MikroORM, eventEmitter: EventEmitter2);
|
|
private get em();
|
|
createGuest(tenantId: string, dto: CreateGuestDto): Promise<Guest>;
|
|
updateRsvp(tenantId: string, guestId: string, dto: UpdateRsvpDto): Promise<Guest | null>;
|
|
listGuests(tenantId: string): Promise<Guest[]>;
|
|
}
|
|
//# sourceMappingURL=guest.service.d.ts.map
|