mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-04-05 12:29:20 +00:00
19 lines
329 B
TypeScript
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,
|
|
} |