2022-03-08 14:24:21 +00:00
|
|
|
import { ILastMessage } from './IMessage';
|
|
|
|
|
|
|
|
export interface ISearchLocal {
|
|
|
|
avatarETag: string;
|
|
|
|
rid: string;
|
|
|
|
name: string;
|
|
|
|
t: string;
|
|
|
|
fname: string;
|
2022-05-02 22:48:29 +00:00
|
|
|
encrypted: boolean;
|
2022-03-08 14:24:21 +00:00
|
|
|
lastMessage?: ILastMessage;
|
2024-01-25 14:11:07 +00:00
|
|
|
status?: string;
|
|
|
|
teamMain?: boolean;
|
|
|
|
prid?: string;
|
|
|
|
f?: boolean;
|
2022-03-08 14:24:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ISearch extends ISearchLocal {
|
|
|
|
// return only from api search
|
|
|
|
_id: string;
|
|
|
|
status?: string;
|
|
|
|
username: string;
|
|
|
|
outside?: boolean;
|
|
|
|
search?: boolean;
|
|
|
|
}
|