2015-03-20 20:20:14 +00:00
|
|
|
{
|
|
|
|
"extensions": {
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"type": "decorator",
|
|
|
|
"provides": "capabilityService",
|
|
|
|
"implementation": "QueuingPersistenceCapabilityDecorator.js",
|
|
|
|
"depends": [ "persistenceQueue" ]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"key": "persistenceQueue",
|
|
|
|
"implementation": "PersistenceQueue.js",
|
|
|
|
"depends": [
|
|
|
|
"$q",
|
|
|
|
"$timeout",
|
|
|
|
"dialogService",
|
|
|
|
"PERSISTENCE_QUEUE_DELAY"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"constants": [
|
|
|
|
{
|
|
|
|
"key": "PERSISTENCE_QUEUE_DELAY",
|
|
|
|
"value": 5
|
|
|
|
}
|
2015-03-20 21:23:51 +00:00
|
|
|
],
|
|
|
|
"templates": [
|
|
|
|
{
|
|
|
|
"key": "persistence-failure-dialog",
|
|
|
|
"templateUrl": "templates/persistence-failure-dialog.html"
|
|
|
|
}
|
2015-03-20 20:20:14 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|