eraseAllStorageServiceState: Delete everything, delete in memory
This commit is contained in:
parent
b7b725f74c
commit
90f0f8e255
7 changed files with 143 additions and 36 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue