move view models over to domain
This commit is contained in:
parent
e3d931b966
commit
2dbd0fb9dc
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
import EventEmitter from "../../EventEmitter.js";
|
||||
import RoomTileViewModel from "./RoomTileViewModel.js";
|
||||
import RoomViewModel from "./RoomViewModel.js";
|
||||
import RoomTileViewModel from "./roomlist/RoomTileViewModel.js";
|
||||
import RoomViewModel from "./room/RoomViewModel.js";
|
||||
|
||||
export default class SessionViewModel extends EventEmitter {
|
||||
constructor(session) {
|
|
@ -1,4 +1,4 @@
|
|||
import EventEmitter from "../../EventEmitter.js";
|
||||
import EventEmitter from "../../../EventEmitter.js";
|
||||
|
||||
export default class RoomViewModel extends EventEmitter {
|
||||
constructor(room) {
|
|
@ -3,7 +3,7 @@ import Session from "./matrix/session.js";
|
|||
import createIdbStorage from "./matrix/storage/idb/create.js";
|
||||
import Sync from "./matrix/sync.js";
|
||||
import SessionView from "./ui/web/SessionView.js";
|
||||
import SessionViewModel from "./ui/viewmodels/SessionViewModel.js";
|
||||
import SessionViewModel from "./domain/session/SessionViewModel.js";
|
||||
|
||||
const HOST = "localhost";
|
||||
const HOMESERVER = `http://${HOST}:8008`;
|
||||
|
|
Reference in a new issue