ui-framework-jps
Version:
A simple UI framework for state management and UI components
10 lines (9 loc) • 373 B
TypeScript
import { Priority, SimpleAttachment } from "./Types";
export interface ChatEmitter {
login(): void;
logout(): void;
joinChat(room: string): void;
leaveChat(room: string): void;
sendMessage(room: string, message: string, priority?: Priority, simpleAttachment?: SimpleAttachment, attachment?: any): void;
sendInvite(to: string, room: string): void;
}