Mailspring/packages/client-app/internal_packages/search-index/lib/main.es6

18 lines
555 B
Text
Raw Normal View History

import ThreadSearchIndexStore from './thread-search-index-store'
import ContactSearchIndexer from './contact-search-indexer'
2016-11-22 05:49:57 +08:00
// import EventSearchIndexer from './event-search-indexer'
export function activate() {
ThreadSearchIndexStore.activate()
ContactSearchIndexer.activate()
2016-11-22 05:49:57 +08:00
// TODO Calendar feature has been punted, we will disable this indexer for now
// EventSearchIndexer.activate(indexer)
}
export function deactivate() {
ThreadSearchIndexStore.deactivate()
ContactSearchIndexer.deactivate()
2016-11-22 05:49:57 +08:00
// EventSearchIndexer.deactivate()
}