11 lines
593 B
TypeScript
11 lines
593 B
TypeScript
import { CreateChatCommand } from './ChatCommands';
|
|
import { IChatRepository } from '../../../Domain/IRepository/IChatRepository';
|
|
import { IUserRepository } from '../../../Domain/IRepository/IUserRepository';
|
|
import { ChatAggregate } from '../../../Domain/Chat/ChatAggregate';
|
|
export declare class CreateChatCommandHandler {
|
|
private chatRepository;
|
|
private userRepository;
|
|
constructor(chatRepository: IChatRepository, userRepository: IUserRepository);
|
|
execute(command: CreateChatCommand): Promise<ChatAggregate | null>;
|
|
}
|
|
//# sourceMappingURL=CreateChatCommandHandler.d.ts.map
|