1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-04-05 12:29:20 +00:00
comunicapiv2/src/entities/Conversation.ts

19 lines
329 B
TypeScript

/**
* Single conversation information
*
* @author Pierre HUBERT
*/
export interface BaseConversation {
ownerID: number,
name: string,
following: boolean,
members: Array<number>
}
export interface Conversation extends BaseConversation {
id: number,
lastActive: number,
timeCreate: number,
sawLastMessage: boolean,
}