quick tip for sorting with temporary top in inbox
This commit is contained in:
@@ -3,7 +3,14 @@ import Conversation from '@nirvana/core/models/conversation.model';
|
||||
import User from '@nirvana/core/models/user.model';
|
||||
|
||||
export type ConversationMap = {
|
||||
[conversationId: string]: Conversation & { tunedInUsers: string[]; connectedUserIds: string[] };
|
||||
[conversationId: string]: Conversation & {
|
||||
tunedInUsers: string[];
|
||||
connectedUserIds: string[];
|
||||
|
||||
// allows client side to have this pushed up in the list and can uncheck it once user is done with this
|
||||
// if action is take, normal ordering should take place with database upserts
|
||||
temporaryInboxTop: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
export type UserMap = {
|
||||
|
||||
Reference in New Issue
Block a user