Chatto/src/main/frontend/chat/view/UserViewDeps.ts

21 lines
802 B
TypeScript
Raw Normal View History

2019-12-11 10:30:45 +00:00
import { UserModel } from "../model/UserModel";
import { ChatModel } from "../model/ChatModel";
import { SearchService } from "../service/SearchService";
import { ActiveUserViewModel } from "../viewmodel/ActiveUserViewModel";
2020-02-14 13:48:22 +00:00
import { NotificationService } from "../service/NotificationService";
2019-12-11 10:30:45 +00:00
export interface UserViewDeps {
model: UserModel;
chatModel: ChatModel;
usersListElement: HTMLElement;
userSearchInputElement: HTMLInputElement;
userSearchButton: HTMLElement;
userSearchCancelButton: HTMLElement;
searchService: SearchService<ActiveUserViewModel>;
userContactOnlineTemplate: Handlebars.TemplateDelegate<ActiveUserViewModel>;
userContactOfflineTemplate: Handlebars.TemplateDelegate<ActiveUserViewModel>;
2020-02-14 13:48:22 +00:00
notificationService: NotificationService;
2019-12-11 10:30:45 +00:00
}