Skip to content

Commit

Permalink
make data source related plugins as optional dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Jackie Han <[email protected]>
  • Loading branch information
jackiehanyang committed Apr 8, 2024
1 parent fdc8636 commit 44723e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ import { DataSourcePluginSetup } from '../../../src/plugins/data_source/server/t
import { DataSourceManagementPlugin } from '../../../src/plugins/data_source_management/public';

export interface ADPluginSetupDependencies {
dataSourceManagement: ReturnType<DataSourceManagementPlugin['setup']>;
dataSource: DataSourcePluginSetup;
dataSourceManagement?: ReturnType<DataSourceManagementPlugin['setup']>;
dataSource?: DataSourcePluginSetup;
}

export class AnomalyDetectionOpenSearchDashboardsPlugin
Expand Down

0 comments on commit 44723e7

Please sign in to comment.