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

21 lines
822 B
TypeScript
Raw Normal View History

import { UserModel } from "../../common/model/UserModel";
2019-12-11 10:30:45 +00:00
import { ChatModel } from "../../common/model/ChatModel";
2019-12-11 10:30:45 +00:00
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
}