From e5c5caf26e0893733ea7c764a0c3894d309d3f9d Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 20 Mar 2015 13:20:14 -0700 Subject: [PATCH] [Persistence] Add bundle definition Add bundle definition for the persistence queue which will provide Overwrite/Cancel options, WTD-1033. --- platform/persistence/queue/bundle.json | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 platform/persistence/queue/bundle.json diff --git a/platform/persistence/queue/bundle.json b/platform/persistence/queue/bundle.json new file mode 100644 index 0000000000..52ff6655f0 --- /dev/null +++ b/platform/persistence/queue/bundle.json @@ -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 + } + ] + } +} \ No newline at end of file