mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
1d0d2302d8
Moved the actual searching implementation into the query service. The search view controller now just calls the query service.
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "Search View",
|
|
"description": "Allows the user to search through the file tree.",
|
|
"extensions": {
|
|
"views": [
|
|
{
|
|
"key": "search",
|
|
"name": "Search",
|
|
"glyph": "5",
|
|
"description": "Search functionality.",
|
|
"templateUrl": "templates/search.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "SearchController",
|
|
"implementation": "SearchController.js",
|
|
"depends": [ "$scope", "queryService" ]
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "search-item",
|
|
"templateUrl": "templates/search-item.html",
|
|
"uses": [ "grid-item" ]
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "queryService",
|
|
"implementation": "QueryService.js",
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
|
}
|
|
]
|
|
}
|
|
} |