export const STATUS = { PENDING: 'PENDING', RESOLVED: 'RESOLVED', ERROR: 'ERROR', }; export const getControllerSearchProps = ( controller, id = 'searchBar', canCreateBookmarks = true ) => ({ controller, autocomplete: { id, searchQuery: '', url: `${controller}/auto_complete_search`, useKeyShortcuts: true, }, bookmarks: { url: '/api/bookmarks', canCreateBookmarks, documentationUrl: `4.1.5Searching`, }, });