mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
eraseAllStorageServiceState: Delete everything, delete in memory
This commit is contained in:
committed by
Jamie Kyle
parent
b7b725f74c
commit
90f0f8e255
@@ -500,7 +500,6 @@ export type DataInterface = {
|
||||
removeAllSessions: () => Promise<void>;
|
||||
getAllSessions: () => Promise<Array<SessionType>>;
|
||||
|
||||
eraseStorageServiceStateFromConversations: () => Promise<void>;
|
||||
getConversationCount: () => Promise<number>;
|
||||
saveConversation: (data: ConversationType) => Promise<void>;
|
||||
saveConversations: (array: Array<ConversationType>) => Promise<void>;
|
||||
@@ -794,6 +793,7 @@ export type DataInterface = {
|
||||
|
||||
removeAll: () => Promise<void>;
|
||||
removeAllConfiguration: (type?: RemoveAllConfiguration) => Promise<void>;
|
||||
eraseStorageServiceState: () => Promise<void>;
|
||||
|
||||
getMessagesNeedingUpgrade: (
|
||||
limit: number,
|
||||
@@ -933,6 +933,7 @@ export type ClientExclusiveInterface = {
|
||||
|
||||
updateConversation: (data: ConversationType) => void;
|
||||
removeConversation: (id: string) => Promise<void>;
|
||||
flushUpdateConversationBatcher: () => Promise<void>;
|
||||
|
||||
searchMessages: ({
|
||||
query,
|
||||
|
||||
Reference in New Issue
Block a user