@univerjs-pro/sheets-mcp 0.10.10 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/tools/common.d.ts +11 -1
- package/lib/umd/index.js +1 -1
- package/package.json +14 -13
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { ICommandService } from '@univerjs/core';
|
|
1
|
+
import { Injector, ICommandService } from '@univerjs/core';
|
|
2
2
|
import { SheetInterceptorService } from '@univerjs/sheets';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
/**
|
|
5
5
|
* Get UniverAPI instance from globalThis (temporary implementation)
|
|
6
6
|
*/
|
|
7
7
|
export declare function getUniverAPI(): any;
|
|
8
|
+
/**
|
|
9
|
+
* Get UniverAPI injector instance
|
|
10
|
+
* @returns univer injector instance
|
|
11
|
+
*/
|
|
12
|
+
export declare function getInjector(): Injector;
|
|
13
|
+
/**
|
|
14
|
+
* Get Univer container element
|
|
15
|
+
* @returns univer container element
|
|
16
|
+
*/
|
|
17
|
+
export declare function getContainerElement(): HTMLElement;
|
|
8
18
|
/**
|
|
9
19
|
* Get ICommandService instance from UniverAPI injector
|
|
10
20
|
*/
|