diff --git a/lib/actions/thread-actions.js b/lib/actions/thread-action-types.js rename from lib/actions/thread-actions.js rename to lib/actions/thread-action-types.js diff --git a/lib/components/base-edit-thread-avatar-provider.react.js b/lib/components/base-edit-thread-avatar-provider.react.js --- a/lib/components/base-edit-thread-avatar-provider.react.js +++ b/lib/components/base-edit-thread-avatar-provider.react.js @@ -2,7 +2,7 @@ import * as React from 'react'; -import { changeThreadSettingsActionTypes } from '../actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from '../actions/thread-action-types.js'; import { useChangeThreadSettings } from '../hooks/thread-hooks.js'; import { createLoadingStatusSelector } from '../selectors/loading-selectors.js'; import { threadInfoSelector } from '../selectors/thread-selectors.js'; diff --git a/lib/hooks/promote-sidebar.react.js b/lib/hooks/promote-sidebar.react.js --- a/lib/hooks/promote-sidebar.react.js +++ b/lib/hooks/promote-sidebar.react.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { useChangeThreadSettings } from './thread-hooks.js'; -import { changeThreadSettingsActionTypes } from '../actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from '../actions/thread-action-types.js'; import { createLoadingStatusSelector } from '../selectors/loading-selectors.js'; import { threadInfoSelector } from '../selectors/thread-selectors.js'; import { diff --git a/lib/reducers/calendar-filters-reducer.js b/lib/reducers/calendar-filters-reducer.js --- a/lib/reducers/calendar-filters-reducer.js +++ b/lib/reducers/calendar-filters-reducer.js @@ -9,7 +9,7 @@ joinThreadActionTypes, leaveThreadActionTypes, deleteThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { keyserverAuthActionTypes, diff --git a/lib/reducers/entry-reducer.js b/lib/reducers/entry-reducer.js --- a/lib/reducers/entry-reducer.js +++ b/lib/reducers/entry-reducer.js @@ -31,7 +31,7 @@ removeUsersFromThreadActionTypes, changeThreadMemberRolesActionTypes, newThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { keyserverAuthActionTypes, diff --git a/lib/reducers/message-reducer.js b/lib/reducers/message-reducer.js --- a/lib/reducers/message-reducer.js +++ b/lib/reducers/message-reducer.js @@ -49,7 +49,7 @@ removeUsersFromThreadActionTypes, changeThreadMemberRolesActionTypes, joinThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { updateMultimediaMessageMediaActionType } from '../actions/upload-actions.js'; import { diff --git a/lib/reducers/thread-activity-reducer.js b/lib/reducers/thread-activity-reducer.js --- a/lib/reducers/thread-activity-reducer.js +++ b/lib/reducers/thread-activity-reducer.js @@ -14,7 +14,7 @@ modifyCommunityRoleActionTypes, newThreadActionTypes, removeUsersFromThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { deleteKeyserverAccountActionTypes } from '../actions/user-actions.js'; import { extractKeyserverIDFromIDOptional } from '../keyserver-conn/keyserver-call-utils.js'; diff --git a/lib/reducers/thread-reducer.js b/lib/reducers/thread-reducer.js --- a/lib/reducers/thread-reducer.js +++ b/lib/reducers/thread-reducer.js @@ -21,7 +21,7 @@ leaveThreadActionTypes, modifyCommunityRoleActionTypes, deleteCommunityRoleActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { keyserverAuthActionTypes, diff --git a/lib/reducers/user-reducer.js b/lib/reducers/user-reducer.js --- a/lib/reducers/user-reducer.js +++ b/lib/reducers/user-reducer.js @@ -9,7 +9,7 @@ import { joinThreadActionTypes, newThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import { fetchPendingUpdatesActionTypes } from '../actions/update-actions.js'; import { processNewUserIDsActionType, diff --git a/lib/shared/community-utils.js b/lib/shared/community-utils.js --- a/lib/shared/community-utils.js +++ b/lib/shared/community-utils.js @@ -10,7 +10,7 @@ useDeleteFarcasterChannelTag, } from '../actions/community-actions.js'; import { addKeyserverActionType } from '../actions/keyserver-actions.js'; -import { joinThreadActionTypes } from '../actions/thread-actions.js'; +import { joinThreadActionTypes } from '../actions/thread-action-types.js'; import type { LinkStatus } from '../hooks/invite-links.js'; import { useJoinThread } from '../hooks/thread-hooks.js'; import { extractKeyserverIDFromID } from '../keyserver-conn/keyserver-call-utils.js'; diff --git a/lib/shared/thread-actions-utils.js b/lib/shared/thread-actions-utils.js --- a/lib/shared/thread-actions-utils.js +++ b/lib/shared/thread-actions-utils.js @@ -10,7 +10,7 @@ import { newThreadActionTypes, removeUsersFromThreadActionTypes, -} from '../actions/thread-actions.js'; +} from '../actions/thread-action-types.js'; import type { RemoveUsersFromThreadInput } from '../hooks/thread-hooks.js'; import type { CalendarQuery } from '../types/entry-types.js'; import type { diff --git a/lib/shared/threads/protocols/keyserver-thread-protocol.js b/lib/shared/threads/protocols/keyserver-thread-protocol.js --- a/lib/shared/threads/protocols/keyserver-thread-protocol.js +++ b/lib/shared/threads/protocols/keyserver-thread-protocol.js @@ -13,7 +13,7 @@ import { changeThreadSettingsActionTypes, leaveThreadActionTypes, -} from '../../../actions/thread-actions.js'; +} from '../../../actions/thread-action-types.js'; import { type MediaMetadataReassignmentAction, updateMultimediaMessageMediaActionType, diff --git a/native/chat/chat-input-bar.react.js b/native/chat/chat-input-bar.react.js --- a/native/chat/chat-input-bar.react.js +++ b/native/chat/chat-input-bar.react.js @@ -33,7 +33,7 @@ import { joinThreadActionTypes, newThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import { useChatMentionContext, useThreadChatMentionCandidates, diff --git a/native/chat/compose-subchannel.react.js b/native/chat/compose-subchannel.react.js --- a/native/chat/compose-subchannel.react.js +++ b/native/chat/compose-subchannel.react.js @@ -7,7 +7,7 @@ import * as React from 'react'; import { Text, View } from 'react-native'; -import { newThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { newThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useENSNames } from 'lib/hooks/ens-cache.js'; import { useNewThinThread } from 'lib/hooks/thread-hooks.js'; import { threadInfoSelector } from 'lib/selectors/thread-selectors.js'; diff --git a/native/chat/settings/add-users-modal.react.js b/native/chat/settings/add-users-modal.react.js --- a/native/chat/settings/add-users-modal.react.js +++ b/native/chat/settings/add-users-modal.react.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { ActivityIndicator, Text, View } from 'react-native'; -import { changeThreadSettingsActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from 'lib/actions/thread-action-types.js'; import { useENSNames } from 'lib/hooks/ens-cache.js'; import { useChangeThreadSettings } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/native/chat/settings/color-selector-modal.react.js b/native/chat/settings/color-selector-modal.react.js --- a/native/chat/settings/color-selector-modal.react.js +++ b/native/chat/settings/color-selector-modal.react.js @@ -4,7 +4,7 @@ import * as React from 'react'; import { TouchableHighlight } from 'react-native'; -import { changeThreadSettingsActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from 'lib/actions/thread-action-types.js'; import { useChangeThreadSettings } from 'lib/hooks/thread-hooks.js'; import type { UseChangeThreadSettingsInput } from 'lib/hooks/thread-hooks.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; diff --git a/native/chat/settings/delete-thread.react.js b/native/chat/settings/delete-thread.react.js --- a/native/chat/settings/delete-thread.react.js +++ b/native/chat/settings/delete-thread.react.js @@ -10,7 +10,7 @@ } from 'react-native'; import { ScrollView } from 'react-native-gesture-handler'; -import { deleteThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { deleteThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useDeleteThread } from 'lib/hooks/thread-hooks.js'; import type { DeleteThreadInput } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/native/chat/settings/thread-settings-color.react.js b/native/chat/settings/thread-settings-color.react.js --- a/native/chat/settings/thread-settings-color.react.js +++ b/native/chat/settings/thread-settings-color.react.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { ActivityIndicator, Platform, Text, View } from 'react-native'; -import { changeThreadSettingsActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from 'lib/actions/thread-action-types.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import type { LoadingStatus } from 'lib/types/loading-types.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; diff --git a/native/chat/settings/thread-settings-description.react.js b/native/chat/settings/thread-settings-description.react.js --- a/native/chat/settings/thread-settings-description.react.js +++ b/native/chat/settings/thread-settings-description.react.js @@ -9,7 +9,7 @@ View, } from 'react-native'; -import { changeThreadSettingsActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from 'lib/actions/thread-action-types.js'; import { useChangeThreadSettings } from 'lib/hooks/thread-hooks.js'; import type { UseChangeThreadSettingsInput } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/native/chat/settings/thread-settings-leave-thread.react.js b/native/chat/settings/thread-settings-leave-thread.react.js --- a/native/chat/settings/thread-settings-leave-thread.react.js +++ b/native/chat/settings/thread-settings-leave-thread.react.js @@ -4,7 +4,7 @@ import * as React from 'react'; import { ActivityIndicator, Text, View } from 'react-native'; -import { leaveThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { leaveThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useLeaveThread, type UseLeaveThreadInput, diff --git a/native/chat/settings/thread-settings-member.react.js b/native/chat/settings/thread-settings-member.react.js --- a/native/chat/settings/thread-settings-member.react.js +++ b/native/chat/settings/thread-settings-member.react.js @@ -13,7 +13,7 @@ import { changeThreadMemberRolesActionTypes, removeUsersFromThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import { useENSNames } from 'lib/hooks/ens-cache.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import { useAvailableThreadMemberActions } from 'lib/shared/thread-utils.js'; diff --git a/native/chat/settings/thread-settings-name.react.js b/native/chat/settings/thread-settings-name.react.js --- a/native/chat/settings/thread-settings-name.react.js +++ b/native/chat/settings/thread-settings-name.react.js @@ -9,7 +9,7 @@ View, } from 'react-native'; -import { changeThreadSettingsActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadSettingsActionTypes } from 'lib/actions/thread-action-types.js'; import { useChangeThreadSettings } from 'lib/hooks/thread-hooks.js'; import type { UseChangeThreadSettingsInput } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/native/chat/settings/thread-settings.react.js b/native/chat/settings/thread-settings.react.js --- a/native/chat/settings/thread-settings.react.js +++ b/native/chat/settings/thread-settings.react.js @@ -21,7 +21,7 @@ changeThreadSettingsActionTypes, leaveThreadActionTypes, removeUsersFromThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import { usePromoteSidebar } from 'lib/hooks/promote-sidebar.react.js'; import { useAddUsersPermissions } from 'lib/permissions/add-users-permissions.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/native/community-creation/community-configuration.react.js b/native/community-creation/community-configuration.react.js --- a/native/community-creation/community-configuration.react.js +++ b/native/community-creation/community-configuration.react.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { Text, View } from 'react-native'; -import { newThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { newThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useNewThinThread } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import { threadInfoSelector } from 'lib/selectors/thread-selectors.js'; diff --git a/native/roles/change-roles-header-right-button.react.js b/native/roles/change-roles-header-right-button.react.js --- a/native/roles/change-roles-header-right-button.react.js +++ b/native/roles/change-roles-header-right-button.react.js @@ -6,7 +6,7 @@ import { Text, View } from 'react-native'; import { TouchableOpacity } from 'react-native-gesture-handler'; -import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-action-types.js'; import { useChangeThreadMemberRoles } from 'lib/hooks/thread-hooks.js'; import { useDispatchActionPromise } from 'lib/utils/redux-promise-utils.js'; diff --git a/native/roles/change-roles-screen.react.js b/native/roles/change-roles-screen.react.js --- a/native/roles/change-roles-screen.react.js +++ b/native/roles/change-roles-screen.react.js @@ -7,7 +7,7 @@ import { TouchableOpacity } from 'react-native-gesture-handler'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; -import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-action-types.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import { otherUsersButNoOtherAdmins } from 'lib/selectors/thread-selectors.js'; import { roleIsAdminRole } from 'lib/shared/thread-utils.js'; diff --git a/native/roles/create-roles-header-right-button.react.js b/native/roles/create-roles-header-right-button.react.js --- a/native/roles/create-roles-header-right-button.react.js +++ b/native/roles/create-roles-header-right-button.react.js @@ -5,7 +5,7 @@ import * as React from 'react'; import { TouchableOpacity, Text } from 'react-native'; -import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-actions.js'; +import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-action-types.js'; import { useModifyCommunityRole } from 'lib/hooks/thread-hooks.js'; import { values } from 'lib/utils/objects.js'; import { useDispatchActionPromise } from 'lib/utils/redux-promise-utils.js'; diff --git a/native/roles/create-roles-screen.react.js b/native/roles/create-roles-screen.react.js --- a/native/roles/create-roles-screen.react.js +++ b/native/roles/create-roles-screen.react.js @@ -4,7 +4,7 @@ import { ActivityIndicator, Text, TouchableOpacity, View } from 'react-native'; import { ScrollView } from 'react-native-gesture-handler'; -import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-actions.js'; +import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-action-types.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import type { LoadingStatus } from 'lib/types/loading-types.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; diff --git a/native/roles/role-utils.react.js b/native/roles/role-utils.react.js --- a/native/roles/role-utils.react.js +++ b/native/roles/role-utils.react.js @@ -2,7 +2,7 @@ import * as React from 'react'; -import { deleteCommunityRoleActionTypes } from 'lib/actions/thread-actions.js'; +import { deleteCommunityRoleActionTypes } from 'lib/actions/thread-action-types.js'; import { useDeleteCommunityRole } from 'lib/hooks/thread-hooks.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; import { useDispatchActionPromise } from 'lib/utils/redux-promise-utils.js'; diff --git a/web/chat/chat-input-bar.react.js b/web/chat/chat-input-bar.react.js --- a/web/chat/chat-input-bar.react.js +++ b/web/chat/chat-input-bar.react.js @@ -7,7 +7,7 @@ import { joinThreadActionTypes, newThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import SWMansionIcon from 'lib/components/swmansion-icon.react.js'; import { useChatMentionContext, diff --git a/web/modals/threads/create/compose-subchannel-modal.react.js b/web/modals/threads/create/compose-subchannel-modal.react.js --- a/web/modals/threads/create/compose-subchannel-modal.react.js +++ b/web/modals/threads/create/compose-subchannel-modal.react.js @@ -2,7 +2,7 @@ import * as React from 'react'; -import { newThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { newThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useNewThinThread } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js'; diff --git a/web/modals/threads/members/change-member-role-modal.react.js b/web/modals/threads/members/change-member-role-modal.react.js --- a/web/modals/threads/members/change-member-role-modal.react.js +++ b/web/modals/threads/members/change-member-role-modal.react.js @@ -3,7 +3,7 @@ import invariant from 'invariant'; import * as React from 'react'; -import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-actions.js'; +import { changeThreadMemberRolesActionTypes } from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import SWMansionIcon from 'lib/components/swmansion-icon.react.js'; import { useChangeThreadMemberRoles } from 'lib/hooks/thread-hooks.js'; diff --git a/web/modals/threads/settings/thread-settings-modal.react.js b/web/modals/threads/settings/thread-settings-modal.react.js --- a/web/modals/threads/settings/thread-settings-modal.react.js +++ b/web/modals/threads/settings/thread-settings-modal.react.js @@ -6,7 +6,7 @@ import { changeThreadSettingsActionTypes, deleteThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; import { threadInfoSelector } from 'lib/selectors/thread-selectors.js'; diff --git a/web/modals/threads/settings/thread-settings-utils.js b/web/modals/threads/settings/thread-settings-utils.js --- a/web/modals/threads/settings/thread-settings-utils.js +++ b/web/modals/threads/settings/thread-settings-utils.js @@ -5,7 +5,7 @@ import { changeThreadSettingsActionTypes, deleteThreadActionTypes, -} from 'lib/actions/thread-actions.js'; +} from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import { useChangeThreadSettings, diff --git a/web/roles/create-roles-modal.react.js b/web/roles/create-roles-modal.react.js --- a/web/roles/create-roles-modal.react.js +++ b/web/roles/create-roles-modal.react.js @@ -4,7 +4,7 @@ import invariant from 'invariant'; import * as React from 'react'; -import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-actions.js'; +import { modifyCommunityRoleActionTypes } from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import { useModifyCommunityRole } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/web/roles/delete-role-modal.react.js b/web/roles/delete-role-modal.react.js --- a/web/roles/delete-role-modal.react.js +++ b/web/roles/delete-role-modal.react.js @@ -2,7 +2,7 @@ import * as React from 'react'; -import { deleteCommunityRoleActionTypes } from 'lib/actions/thread-actions.js'; +import { deleteCommunityRoleActionTypes } from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import { useDeleteCommunityRole } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js'; diff --git a/web/sidebar/community-creation/community-creation-modal.react.js b/web/sidebar/community-creation/community-creation-modal.react.js --- a/web/sidebar/community-creation/community-creation-modal.react.js +++ b/web/sidebar/community-creation/community-creation-modal.react.js @@ -2,7 +2,7 @@ import * as React from 'react'; -import { newThreadActionTypes } from 'lib/actions/thread-actions.js'; +import { newThreadActionTypes } from 'lib/actions/thread-action-types.js'; import { useModalContext } from 'lib/components/modal-provider.react.js'; import { useNewThinThread } from 'lib/hooks/thread-hooks.js'; import { createLoadingStatusSelector } from 'lib/selectors/loading-selectors.js';