fix(plugin-diagram-d3js): CB-2039 add objectId data context

This commit is contained in:
Naumov Alexey
2022-05-31 12:10:25 +02:00
parent 3a2d39291f
commit 09ec5148ae
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2022 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import { createDataContext } from '@cloudbeaver/core-view';
export const DATA_CONTEXT_OBJECT_ID = createDataContext<string>('object-id');
@@ -7,3 +7,4 @@ export * from './ObjectPage/DBObjectPageService';
export * from './ObjectPage/ObjectPage';
export * from './ObjectViewerTabService';
export * from './IObjectViewerTabState';
export * from './DATA_CONTEXT_OBJECT_ID';