openmct/platform/features/search/bundle.json

63 lines
2.0 KiB
JSON
Raw Normal View History

{
"name": "Search View",
"description": "Allows the user to search through the file tree.",
"extensions": {
"controllers": [
{
"key": "SearchbarController",
"implementation": "controllers/SearchbarController.js",
"depends": [ "$scope", "$timeout", "searchService" ]
},
{
"key": "SearchbarItemController",
"implementation": "controllers/SearchbarItemController.js",
"depends": [ "$scope" ]
},
{
"key": "ToggleController",
"implementation": "controllers/ToggleController.js",
"depends": [ ]
}
],
"templates": [
{
"key": "searchbar",
"templateUrl": "templates/searchbar.html",
"uses": [ "composition" ]
}
],
"representations": [
{
"key": "searchbar-item",
"templateUrl": "templates/searchbar-item.html",
"uses": [ "composition" ]
}
],
"components": [
{
"provides": "searchService",
"type": "provider",
"implementation": "providers/GenericSearchProvider.js",
"depends": [ "$rootScope", "objectService", "workerService" ]
},
{
"provides": "searchService",
"type": "provider",
"implementation": "providers/ElasticsearchSearchProvider.js",
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
},
{
"provides": "searchService",
"type": "aggregator",
"implementation": "SearchAggregator.js"
}
],
"workers": [
{
"key": "genericSearchWorker",
"scriptUrl": "workers/GenericSearchWorker.js",
"depends": [ "objectService" ]
}
]
}
}