@theia/plugin 1.18.0-next.118 → 1.18.0-next.122

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/theia.d.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.18.0-next.118+de70cd3f0fa",
3
+ "version": "1.18.0-next.122+49055bf84e9",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "nyc": {
33
33
  "extends": "../../configs/nyc.json"
34
34
  },
35
- "gitHead": "de70cd3f0fa475d1c1932adb3bba9e06bdd6426b"
35
+ "gitHead": "49055bf84e9f707422090815f162dc2879c50090"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -10807,6 +10807,12 @@ declare module '@theia/plugin' {
10807
10807
  */
10808
10808
  tags?: readonly SymbolTag[];
10809
10809
 
10810
+ /**
10811
+ * A data entry field that is preserved between a call hierarchy prepare and
10812
+ * incoming calls or outgoing calls requests.
10813
+ */
10814
+ data?: unknown;
10815
+
10810
10816
  /**
10811
10817
  * Creates a new call hierarchy item.
10812
10818
  */
@@ -10882,7 +10888,7 @@ declare module '@theia/plugin' {
10882
10888
  * @returns A call hierarchy item or a thenable that resolves to such. The lack of a result can be
10883
10889
  * signaled by returning `undefined` or `null`.
10884
10890
  */
10885
- prepareCallHierarchy(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<CallHierarchyItem>;
10891
+ prepareCallHierarchy(document: TextDocument, position: Position, token: CancellationToken): ProviderResult<CallHierarchyItem | CallHierarchyItem[]>;
10886
10892
 
10887
10893
  /**
10888
10894
  * Provide all incoming calls for an item, e.g all callers for a method. In graph terms this describes directed