diff --git a/lib/actions/draft-actions.js b/lib/actions/draft-actions.js --- a/lib/actions/draft-actions.js +++ b/lib/actions/draft-actions.js @@ -2,6 +2,5 @@ const updateDraftActionType = 'UPDATE_DRAFT'; const moveDraftActionType = 'MOVE_DRAFT'; -const setDraftStoreDrafts = 'SET_DRAFT_STORE_DRAFTS'; -export { updateDraftActionType, moveDraftActionType, setDraftStoreDrafts }; +export { updateDraftActionType, moveDraftActionType }; diff --git a/lib/actions/message-actions.js b/lib/actions/message-actions.js --- a/lib/actions/message-actions.js +++ b/lib/actions/message-actions.js @@ -199,7 +199,6 @@ const saveMessagesActionType = 'SAVE_MESSAGES'; const processMessagesActionType = 'PROCESS_MESSAGES'; const messageStorePruneActionType = 'MESSAGE_STORE_PRUNE'; -const setMessageStoreMessages = 'SET_MESSAGE_STORE_MESSAGES'; export { fetchMessagesBeforeCursorActionTypes, @@ -217,5 +216,4 @@ saveMessagesActionType, processMessagesActionType, messageStorePruneActionType, - setMessageStoreMessages, }; diff --git a/lib/actions/thread-actions.js b/lib/actions/thread-actions.js --- a/lib/actions/thread-actions.js +++ b/lib/actions/thread-actions.js @@ -161,7 +161,6 @@ updatesResult: response.updatesResult, }; }; -const setThreadStoreActionType = 'SET_THREAD_STORE'; export { deleteThreadActionTypes, @@ -178,5 +177,4 @@ joinThread, leaveThreadActionTypes, leaveThread, - setThreadStoreActionType, }; diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js --- a/lib/types/redux-types.js +++ b/lib/types/redux-types.js @@ -552,10 +552,6 @@ +newKey: string, }, } - | { - +type: 'SET_DRAFT_STORE_DRAFTS', - +payload: $ReadOnlyArray<{ +key: string, +text: string }>, - } | { +type: 'SET_CLIENT_DB_STORE', +payload: { @@ -737,10 +733,6 @@ +type: 'MESSAGE_STORE_PRUNE', +payload: MessageStorePrunePayload, } - | { - +type: 'SET_MESSAGE_STORE_MESSAGES', - +payload: $ReadOnlyArray, - } | { +type: 'SET_LATE_RESPONSE', +payload: SetLateResponsePayload, @@ -807,10 +799,6 @@ +type: 'SET_THREAD_UNREAD_STATUS_SUCCESS', +payload: SetThreadUnreadStatusPayload, } - | { - +type: 'SET_THREAD_STORE', - +payload: ThreadStore, - } | { +type: 'SET_USER_SETTINGS_STARTED', +payload?: void,