Storage service logging same

This commit is contained in:
Josh Perez
2021-04-06 15:54:47 -07:00
committed by GitHub
parent d6bb8ae35e
commit e4db9358cf
5 changed files with 80 additions and 46 deletions

View File

@@ -203,7 +203,7 @@ export type ServerInterface = DataInterface & {
getAllConversations: () => Promise<Array<ConversationType>>;
getAllGroupsInvolvingId: (id: string) => Promise<Array<ConversationType>>;
getAllPrivateConversations: () => Promise<Array<ConversationType>>;
getConversationById: (id: string) => Promise<ConversationType>;
getConversationById: (id: string) => Promise<ConversationType | null>;
getExpiredMessages: () => Promise<Array<MessageType>>;
getMessageById: (id: string) => Promise<MessageType | undefined>;
getMessageBySender: (options: {
@@ -291,7 +291,7 @@ export type ClientInterface = DataInterface & {
getConversationById: (
id: string,
options: { Conversation: typeof ConversationModel }
) => Promise<ConversationModel>;
) => Promise<ConversationModel | undefined>;
getExpiredMessages: (options: {
MessageCollection: typeof MessageModelCollectionType;
}) => Promise<MessageModelCollectionType>;