Save group send endorsements
This commit is contained in:
parent
dea641bae4
commit
4253bed0bd
12 changed files with 583 additions and 91 deletions
|
@ -31,6 +31,7 @@ import type {
|
|||
} from '../types/CallDisposition';
|
||||
import type { CallLinkStateType, CallLinkType } from '../types/CallLink';
|
||||
import type { AttachmentDownloadJobType } from '../types/AttachmentDownload';
|
||||
import type { GroupSendEndorsementsData } from '../types/GroupSendEndorsements';
|
||||
|
||||
export type AdjacentMessagesByConversationOptionsType = Readonly<{
|
||||
conversationId: string;
|
||||
|
@ -526,6 +527,14 @@ export type DataInterface = {
|
|||
serviceId: ServiceIdString
|
||||
) => Promise<Array<ConversationType>>;
|
||||
|
||||
replaceAllEndorsementsForGroup: (
|
||||
data: GroupSendEndorsementsData
|
||||
) => Promise<void>;
|
||||
deleteAllEndorsementsForGroup: (groupId: string) => Promise<void>;
|
||||
getGroupSendCombinedEndorsementExpiration: (
|
||||
groupId: string
|
||||
) => Promise<number | null>;
|
||||
|
||||
getMessageCount: (conversationId?: string) => Promise<number>;
|
||||
getStoryCount: (conversationId: string) => Promise<number>;
|
||||
saveMessage: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue