quick tip for sorting with temporary top in inbox

This commit is contained in:
talksik
2022-06-11 11:10:45 -05:00
parent fa38aa8af8
commit 9504846172
+8 -1
View File
@@ -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 = {