Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(sheets-drawing): add missing dependent on (#3428)

Wenzhao Hub5ee896107a8
diff --git a/packages/sheets-drawing/src/plugin.ts b/packages/sheets-drawing/src/plugin.ts
index 0d166dc8ce..29b795d15e 100644
--- a/packages/sheets-drawing/src/plugin.ts
+++ b/packages/sheets-drawing/src/plugin.ts
@@ -14,13 +14,15 @@
* limitations under the License.
*/
-import { IConfigService, Inject, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
+import { DependentOn, IConfigService, Inject, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
+import { UniverDrawingPlugin } from '@univerjs/drawing';
import type { Dependency } from '@univerjs/core';
+import { defaultPluginConfig, PLUGIN_CONFIG_KEY } from './controllers/config.schema';
import { SHEET_DRAWING_PLUGIN, SheetsDrawingLoadController } from './controllers/sheet-drawing.controller';
import { ISheetDrawingService, SheetDrawingService } from './services/sheet-drawing.service';
import type { IUniverSheetsDrawingConfig } from './controllers/config.schema';
-import { defaultPluginConfig, PLUGIN_CONFIG_KEY } from './controllers/config.schema';
+@DependentOn(UniverDrawingPlugin)
export class UniverSheetsDrawingPlugin extends Plugin {
static override pluginName = SHEET_DRAWING_PLUGIN;
static override type = UniverInstanceType.UNIVER_SHEET;