2015-07-08 22:32:20 +00:00
|
|
|
{
|
|
|
|
"name": "Search View",
|
2015-07-09 18:16:55 +00:00
|
|
|
"description": "Allows the user to search through the file tree.",
|
2015-07-08 22:32:20 +00:00
|
|
|
"extensions": {
|
|
|
|
"views": [
|
|
|
|
{
|
|
|
|
"key": "search",
|
|
|
|
"name": "Search",
|
|
|
|
"glyph": "5",
|
|
|
|
"description": "Search functionality.",
|
|
|
|
"templateUrl": "templates/search.html"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"controllers": [
|
|
|
|
{
|
|
|
|
"key": "SearchController",
|
2015-07-16 17:10:07 +00:00
|
|
|
"implementation": "controllers/SearchController.js",
|
|
|
|
"depends": [ "$scope", "searchService" ]
|
2015-07-15 20:29:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "SearchbarController",
|
2015-07-16 17:10:07 +00:00
|
|
|
"implementation": "controllers/SearchbarController.js",
|
|
|
|
"depends": [ "$scope", "searchService" ]
|
2015-07-15 20:29:45 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"key": "searchbar",
|
|
|
|
"templateUrl": "templates/searchbar.html",
|
|
|
|
"uses": [ "composition" ]
|
2015-07-08 22:32:20 +00:00
|
|
|
}
|
2015-07-08 23:20:12 +00:00
|
|
|
],
|
|
|
|
"representations": [
|
|
|
|
{
|
2015-07-15 20:29:45 +00:00
|
|
|
"key": "searchbar-item",
|
|
|
|
"templateUrl": "templates/searchbar-item.html",
|
|
|
|
"uses": [ "composition" ]
|
2015-07-08 23:20:12 +00:00
|
|
|
}
|
2015-07-13 17:34:06 +00:00
|
|
|
],
|
2015-07-16 17:35:26 +00:00
|
|
|
"components": [
|
2015-07-13 17:34:06 +00:00
|
|
|
{
|
2015-07-16 17:35:26 +00:00
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "providers/ElasticsearchSearchProvider.js",
|
2015-07-14 18:28:47 +00:00
|
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
2015-07-16 17:35:26 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "providers/EverythingSearchProvider.js",
|
|
|
|
"depends": [ "objectService" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "aggregator",
|
|
|
|
"implementation": "SearchAggregator.js",
|
|
|
|
"depends": [ "$q" ]
|
2015-07-13 17:34:06 +00:00
|
|
|
}
|
2015-07-08 22:32:20 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|