A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
802 B

5 years ago
4 years ago
5 years ago
4 years ago
5 years ago
  1. import { UserModel } from "../model/UserModel";
  2. import { ChatModel } from "../model/ChatModel";
  3. import { SearchService } from "../service/SearchService";
  4. import { ActiveUserViewModel } from "../viewmodel/ActiveUserViewModel";
  5. import { NotificationService } from "../service/NotificationService";
  6. export interface UserViewDeps {
  7. model: UserModel;
  8. chatModel: ChatModel;
  9. usersListElement: HTMLElement;
  10. userSearchInputElement: HTMLInputElement;
  11. userSearchButton: HTMLElement;
  12. userSearchCancelButton: HTMLElement;
  13. searchService: SearchService<ActiveUserViewModel>;
  14. userContactOnlineTemplate: Handlebars.TemplateDelegate<ActiveUserViewModel>;
  15. userContactOfflineTemplate: Handlebars.TemplateDelegate<ActiveUserViewModel>;
  16. notificationService: NotificationService;
  17. }