Mailspring/internal_packages/search-index/lib/main.es6
2016-11-21 13:50:09 -08:00

17 lines
548 B
JavaScript

import ThreadSearchIndexStore from './thread-search-index-store'
import ContactSearchIndexer from './contact-search-indexer'
// import EventSearchIndexer from './event-search-indexer'
export function activate() {
ThreadSearchIndexStore.activate()
ContactSearchIndexer.activate()
// TODO Calendar feature has been punted, we will disable this indexer for now
// EventSearchIndexer.activate()
}
export function deactivate() {
ThreadSearchIndexStore.deactivate()
ContactSearchIndexer.deactivate()
// EventSearchIndexer.deactivate()
}