mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
3b62f1a979
Use timeouts to make the generic search's item indexing not block up the page.
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"name": "Search",
|
|
"description": "Allows the user to search through the file tree.",
|
|
"extensions": {
|
|
"constants": [
|
|
{
|
|
"key": "GENERIC_SEARCH_ROOTS",
|
|
"value": [ "ROOT" ],
|
|
"priority": "fallback"
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"provides": "searchService",
|
|
"type": "provider",
|
|
"implementation": "GenericSearchProvider.js",
|
|
"depends": [ "$q", "$timeout", "objectService", "workerService", "GENERIC_SEARCH_ROOTS" ]
|
|
},
|
|
{
|
|
"provides": "searchService",
|
|
"type": "aggregator",
|
|
"implementation": "SearchAggregator.js",
|
|
"depends": [ "$q" ]
|
|
}
|
|
],
|
|
"workers": [
|
|
{
|
|
"key": "genericSearchWorker",
|
|
"scriptUrl": "GenericSearchWorker.js",
|
|
"depends": [ "objectService" ]
|
|
}
|
|
]
|
|
}
|
|
} |