mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
move view models over to domain
This commit is contained in:
parent
e3d931b966
commit
2dbd0fb9dc
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user