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.

7 lines
513 B

  1. // simple restrictions that MVC impose: The Control has a reference to the View and Model + the View has a reference to the Model and the Controller.It also does not have any Observer implementation in the Model, so that the View can update based on it.
  2. import { Model } from "../model/AbstractModel";
  3. import { Controller } from "../controller/AbstractController";
  4. import { Observer } from "../observe/Observer";
  5. export interface View extends Observer<any> {
  6. readonly model: Model,
  7. readonly element: any
  8. }