openmct/platform/search/bundle.json

52 lines
1.6 KiB
JSON
Raw Normal View History

{
"name": "Search",
"description": "Allows the user to search through the file tree.",
"extensions": {
"controllers": [
{
"key": "SearchController",
"implementation": "controllers/SearchController.js",
"depends": [ "$scope", "searchService" ]
},
{
"key": "SearchItemController",
"implementation": "controllers/SearchItemController.js",
"depends": [ "$scope" ]
}
],
"templates": [
{
"key": "search",
"templateUrl": "templates/search.html",
"uses": [ "controls", "forms" ]
}
],
"representations": [
{
"key": "search-item",
"templateUrl": "templates/search-item.html"
}
],
"components": [
{
"provides": "searchService",
"type": "provider",
"implementation": "services/GenericSearchProvider.js",
"depends": [ "$q", "objectService", "workerService", "roots[]" ]
},
{
"provides": "searchService",
"type": "aggregator",
"implementation": "services/SearchAggregator.js",
"depends": [ "$q" ]
}
],
"workers": [
{
"key": "genericSearchWorker",
"scriptUrl": "services/GenericSearchWorker.js",
"depends": [ "objectService" ]
}
]
}
}