2015-07-08 15:32:20 -07:00
|
|
|
{
|
|
|
|
"name": "Search View",
|
2015-07-09 11:16:55 -07:00
|
|
|
"description": "Allows the user to search through the file tree.",
|
2015-07-08 15:32:20 -07:00
|
|
|
"extensions": {
|
2015-07-23 12:15:14 -07:00
|
|
|
"controllers": [
|
2015-07-15 13:29:45 -07:00
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "SearchController",
|
|
|
|
"implementation": "controllers/SearchController.js",
|
2015-07-27 12:59:32 -07:00
|
|
|
"depends": [ "$scope", "searchService" ]
|
2015-07-22 14:48:14 -07:00
|
|
|
},
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "SearchItemController",
|
|
|
|
"implementation": "controllers/SearchItemController.js",
|
2015-07-22 14:48:14 -07:00
|
|
|
"depends": [ "$scope" ]
|
2015-07-15 13:29:45 -07:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"templates": [
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "search",
|
2015-07-24 16:52:55 -07:00
|
|
|
"templateUrl": "templates/search.html",
|
|
|
|
"uses": [ "controls", "forms" ]
|
2015-07-08 15:32:20 -07:00
|
|
|
}
|
2015-07-08 16:20:12 -07:00
|
|
|
],
|
|
|
|
"representations": [
|
|
|
|
{
|
2015-07-22 15:43:28 -07:00
|
|
|
"key": "search-item",
|
2015-07-24 15:08:43 -07:00
|
|
|
"templateUrl": "templates/search-item.html"
|
2015-07-08 16:20:12 -07:00
|
|
|
}
|
2015-07-13 10:34:06 -07:00
|
|
|
],
|
2015-07-16 10:35:26 -07:00
|
|
|
"components": [
|
2015-07-13 10:34:06 -07:00
|
|
|
{
|
2015-07-16 10:35:26 -07:00
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
2015-07-17 13:49:09 -07:00
|
|
|
"implementation": "providers/GenericSearchProvider.js",
|
2015-07-22 16:21:34 -07:00
|
|
|
"depends": [ "$rootScope", "objectService", "workerService", "roots[]" ]
|
2015-07-16 10:35:26 -07:00
|
|
|
},
|
2015-07-21 15:14:07 -07:00
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "provider",
|
|
|
|
"implementation": "providers/ElasticsearchSearchProvider.js",
|
|
|
|
"depends": [ "$http", "objectService", "ELASTIC_ROOT" ]
|
|
|
|
},
|
2015-07-16 10:35:26 -07:00
|
|
|
{
|
|
|
|
"provides": "searchService",
|
|
|
|
"type": "aggregator",
|
2015-07-27 12:59:32 -07:00
|
|
|
"implementation": "SearchAggregator.js",
|
|
|
|
"depends": [ "$timeout" ]
|
2015-07-13 10:34:06 -07:00
|
|
|
}
|
2015-07-21 09:44:14 -07:00
|
|
|
],
|
|
|
|
"workers": [
|
|
|
|
{
|
|
|
|
"key": "genericSearchWorker",
|
|
|
|
"scriptUrl": "workers/GenericSearchWorker.js",
|
|
|
|
"depends": [ "objectService" ]
|
|
|
|
}
|
2015-07-08 15:32:20 -07:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|