Move models to their own files

This commit is contained in:
miruka
2019-07-04 16:01:44 -04:00
parent 990770dd38
commit fde7f4aee6
21 changed files with 107 additions and 93 deletions

View File

@@ -10,12 +10,12 @@ HColumnLayout {
property string category: ""
property string roomId: ""
readonly property var roomInfo: models.rooms.getWhere(
readonly property var roomInfo: rooms.getWhere(
{"userId": userId, "roomId": roomId, "category": category}, 1
)[0]
readonly property var sender:
models.users.getWhere({"userId": userId}, 1)[0]
users.getWhere({"userId": userId}, 1)[0]
readonly property bool hasUnknownDevices: false
//category == "Rooms" ?