import { RootState } from '../types' ; export const hitDatabaseSelector = ( state ) => state . hitDatabase ; export const hitBlocklistSelector = ( state ) => state . hitBlocklist ; export const hitBlocklistFilterSettingsSelector = ( state ) => state . hitBlocklistFilterSettings ; export const loggedSearchResultsSelector = ( state ) => state . notifiedSearchResultIds ; export const loggedRequestersSelector = ( state ) => state . loggedRequesters ; export const requesterBlocklistSelector = ( state ) => state . requesterBlocklist ; export const notificationSettingsSelector = ( state ) => state . notificationSettings ; export const queueSelector = ( state ) => state . queue ; export const searchResultsSelector = ( state ) => state . search ; export const markedAsReadGroupIdsSelector = ( state ) => state . markedAsReadGroupIds ; export const selectedHitDbDateSelector = ( state ) => state . selectedHitDbDate ; export const sortOptionSelector = ( state ) => state . sortingOption ; export const uploadedStateSelector = ( state ) => state . uploadedState ; /**
 * WARNING: Never call this selector in a connected component directly. Legacy
 * watchers may not have all the properties of new watchers. Always call the
 * normalizedWatchers selector instead.
 */ export const watchersSelector = ( state ) => state . watchers ; export const watcherTreeSelector = ( state ) => state . watcherTreeSettings ; export const watcherTimersSelector = ( state ) => state . watcherTimers ; export const watcherFoldersSelector = ( state ) => state . watcherFolders ; export const turkopticonSettingsSelector = ( state ) => state . topticonSettings ; export const databaseFilterSettingsSelector = ( state ) => state . databaseFilterSettings ;