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.
|
|
import { Model } from "../model/AbstractModel";
import { View } from "../view/AbstractView"; // 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.
// export abstract class Controller {
// protected _model: Model | undefined;
// protected _view: View | undefined;
// }
export interface Controller { model: Model, view: View }
|