Couchdb object synchronization (#3674)

* Implements ObjectAPI changes to refresh objects when an update is received from the database.
* Populates a virtual folder of plans from CouchDB
* Fixes bug with supportsMutation API call parameters
This commit is contained in:
Shefali Joshi
2021-02-22 18:35:11 -08:00
committed by GitHub
parent dd3d4c8c3a
commit 29128a891d
14 changed files with 513 additions and 68 deletions

View File

@ -63,7 +63,8 @@ define([
'./timeline/plugin',
'./viewDatumAction/plugin',
'./interceptors/plugin',
'./performanceIndicator/plugin'
'./performanceIndicator/plugin',
'./CouchDBSearchFolder/plugin'
], function (
_,
UTCTimeSystem,
@ -107,7 +108,8 @@ define([
Timeline,
ViewDatumAction,
ObjectInterceptors,
PerformanceIndicator
PerformanceIndicator,
CouchDBSearchFolder
) {
const bundleMap = {
LocalStorage: 'platform/persistence/local',
@ -206,6 +208,7 @@ define([
plugins.ViewDatumAction = ViewDatumAction.default;
plugins.ObjectInterceptors = ObjectInterceptors.default;
plugins.PerformanceIndicator = PerformanceIndicator.default;
plugins.CouchDBSearchFolder = CouchDBSearchFolder.default;
return plugins;
});