mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
create offline direct message
This commit is contained in:
@@ -35,6 +35,7 @@ export class MessageViewModal {
|
||||
$id?: string
|
||||
id?: string
|
||||
roomId?: string
|
||||
$roomId: string
|
||||
receiverId?: number
|
||||
message?: string
|
||||
canEdit: boolean = false
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user