[Persistence] Add bundle definition

Add bundle definition for the persistence queue which will
provide Overwrite/Cancel options, WTD-1033.
This commit is contained in:
Victor Woeltjen 2015-03-20 13:20:14 -07:00
parent 7b6ecd7bd7
commit e5c5caf26e

View File

@ -0,0 +1,31 @@
{
"extensions": {
"components": [
{
"type": "decorator",
"provides": "capabilityService",
"implementation": "QueuingPersistenceCapabilityDecorator.js",
"depends": [ "persistenceQueue" ]
}
],
"services": [
{
"key": "persistenceQueue",
"implementation": "PersistenceQueue.js",
"depends": [
"$q",
"$timeout",
"dialogService",
"persistenceService",
"PERSISTENCE_QUEUE_DELAY"
]
}
],
"constants": [
{
"key": "PERSISTENCE_QUEUE_DELAY",
"value": 5
}
]
}
}