mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
feat(core-app): CB-720 naming
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
import { productInfoPlugin } from './manifest';
|
||||
|
||||
export default productInfoPlugin;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@cloudbeaver/plugin-product-info",
|
||||
"name": "@cloudbeaver/plugin-product",
|
||||
"sideEffects": false,
|
||||
"version": "0.1.0",
|
||||
"description": "",
|
||||
+1
-1
@@ -14,7 +14,7 @@ import { ServerConfigResource } from '@cloudbeaver/core-root';
|
||||
import { ProductInfoDialog } from './ProductInfoDialog';
|
||||
|
||||
@injectable()
|
||||
export class ProductInfoService extends Bootstrap {
|
||||
export class ProductBootstrap extends Bootstrap {
|
||||
private productInfoMenuToken = 'productInfoMenu';
|
||||
|
||||
constructor(
|
||||
@@ -0,0 +1,3 @@
|
||||
import { productPlugin } from './manifest';
|
||||
|
||||
export default productPlugin;
|
||||
+4
-4
@@ -9,9 +9,9 @@
|
||||
import type { PluginManifest } from '@cloudbeaver/core-di';
|
||||
|
||||
import { LocaleService } from './LocaleService';
|
||||
import { ProductInfoService } from './ProductInfoService';
|
||||
import { ProductBootstrap } from './ProductBootstrap';
|
||||
|
||||
export const productInfoPlugin: PluginManifest = {
|
||||
info: { name: 'Product information' },
|
||||
providers: [ProductInfoService, LocaleService],
|
||||
export const productPlugin: PluginManifest = {
|
||||
info: { name: 'Product plugin' },
|
||||
providers: [ProductBootstrap, LocaleService],
|
||||
};
|
||||
@@ -11,7 +11,7 @@ import spreadsheetNew from '@cloudbeaver/plugin-data-spreadsheet-new';
|
||||
import dataViewer from '@cloudbeaver/plugin-data-viewer';
|
||||
import ddlViewer from '@cloudbeaver/plugin-ddl-viewer';
|
||||
import objectViewer from '@cloudbeaver/plugin-object-viewer';
|
||||
import productInfoPlugin from '@cloudbeaver/plugin-product-info';
|
||||
import productPlugin from '@cloudbeaver/plugin-product';
|
||||
import sqlEditor from '@cloudbeaver/plugin-sql-editor';
|
||||
|
||||
import { defaultProductManifest } from './manifest';
|
||||
@@ -30,7 +30,7 @@ const PLUGINS = [
|
||||
sqlEditor,
|
||||
defaultProductManifest,
|
||||
connectionPlugin,
|
||||
productInfoPlugin,
|
||||
productPlugin,
|
||||
];
|
||||
|
||||
bootstrap(PLUGINS);
|
||||
|
||||
Reference in New Issue
Block a user