mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
Add object interceptor API to allow missing model and missing my-items handling (#3522)
* Extends Object API to allow adding interceptors Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -59,7 +59,8 @@ define([
|
||||
'./persistence/couch/plugin',
|
||||
'./defaultRootName/plugin',
|
||||
'./timeline/plugin',
|
||||
'./viewDatumAction/plugin'
|
||||
'./viewDatumAction/plugin',
|
||||
'./interceptors/plugin'
|
||||
], function (
|
||||
_,
|
||||
UTCTimeSystem,
|
||||
@ -99,7 +100,8 @@ define([
|
||||
CouchDBPlugin,
|
||||
DefaultRootName,
|
||||
Timeline,
|
||||
ViewDatumAction
|
||||
ViewDatumAction,
|
||||
ObjectInterceptors
|
||||
) {
|
||||
const bundleMap = {
|
||||
LocalStorage: 'platform/persistence/local',
|
||||
@ -194,6 +196,7 @@ define([
|
||||
plugins.DefaultRootName = DefaultRootName.default;
|
||||
plugins.Timeline = Timeline.default;
|
||||
plugins.ViewDatumAction = ViewDatumAction.default;
|
||||
plugins.ObjectInterceptors = ObjectInterceptors.default;
|
||||
|
||||
return plugins;
|
||||
});
|
||||
|
Reference in New Issue
Block a user