mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
feat(mentions): client api types, store, snapshot + message hooks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
export interface IMentionEntry
|
||||
{
|
||||
mentionId: number;
|
||||
senderId: number;
|
||||
senderUsername: string;
|
||||
roomId: number;
|
||||
roomName: string;
|
||||
message: string;
|
||||
mentionType: number;
|
||||
timestamp: number;
|
||||
read: boolean;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export class MentionType
|
||||
{
|
||||
public static DIRECT: number = 0;
|
||||
public static ROOM: number = 1;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './MentionType';
|
||||
export * from './IMentionEntry';
|
||||
Reference in New Issue
Block a user