mirror of
https://github.com/nasa/openmct.git
synced 2025-01-01 10:56:41 +00:00
[Persistence] Add bundle definition
Add bundle definition for the persistence queue which will provide Overwrite/Cancel options, WTD-1033.
This commit is contained in:
parent
7b6ecd7bd7
commit
e5c5caf26e
31
platform/persistence/queue/bundle.json
Normal file
31
platform/persistence/queue/bundle.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user