create offline direct message

This commit is contained in:
Peter Maquiran
2024-09-17 16:02:12 +01:00
parent 9be19bfc78
commit 1bc5707321
266 changed files with 860 additions and 2771 deletions
+1
View File
@@ -35,6 +35,7 @@ export class MessageViewModal {
$id?: string
id?: string
roomId?: string
$roomId: string
receiverId?: number
message?: string
canEdit: boolean = false
+4 -1
View File
@@ -4,7 +4,8 @@ import { isDocument } from "src/app/utils/document-mimetype";
export class RoomViewModel implements IRoom {
id: typeof RoomEntitySchema._input.id
$id: typeof RoomEntitySchema._input.$id
id?: typeof RoomEntitySchema._input.id
roomName: typeof RoomEntitySchema._input.roomName
createdBy: typeof RoomEntitySchema._input.createdBy
createdAt: typeof RoomEntitySchema._input.createdAt
@@ -12,6 +13,8 @@ export class RoomViewModel implements IRoom {
roomType: typeof RoomEntitySchema._input.roomType
members: typeof RoomEntitySchema._input.members
messages: typeof RoomEntitySchema._input.messages
local: typeof RoomEntitySchema._input.local
receiverId?: typeof RoomEntitySchema._input.receiverId
displayDate = ''
lastMessageImage = false
lastMessageDocument = false