@theia/plugin 1.30.0-next.1 → 1.30.0-next.14

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 +17 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.30.0-next.1+77e8a6029f3",
3
+ "version": "1.30.0-next.14+26f9d943931",
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": "77e8a6029f3d83183f823fd7a53ccdaa54beb47d"
35
+ "gitHead": "26f9d943931b67aba0a5ae0f194b3e4c19d14a62"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -2074,7 +2074,7 @@ export module '@theia/plugin' {
2074
2074
  * Fire the event and pass data object
2075
2075
  * @param data
2076
2076
  */
2077
- fire(data?: T): void;
2077
+ fire(data: T): void;
2078
2078
 
2079
2079
  /**
2080
2080
  * Dispose this object
@@ -2782,6 +2782,16 @@ export module '@theia/plugin' {
2782
2782
  */
2783
2783
  clear(): void;
2784
2784
 
2785
+ /**
2786
+ * Reveal this channel in the UI.
2787
+ *
2788
+ * @deprecated Use the overload with just one parameter (`show(preserveFocus?: boolean): void`).
2789
+ *
2790
+ * @param column This argument is **deprecated** and will be ignored.
2791
+ * @param preserveFocus When `true` the channel will not take focus.
2792
+ */
2793
+ show(column?: ViewColumn, preserveFocus?: boolean): void;
2794
+
2785
2795
  /**
2786
2796
  * Reveal this channel in the UI.
2787
2797
  *
@@ -2928,6 +2938,12 @@ export module '@theia/plugin' {
2928
2938
  */
2929
2939
  readonly exitStatus: TerminalExitStatus | undefined;
2930
2940
 
2941
+ /**
2942
+ * The object used to initialize the terminal, this is useful for example to detecting the shell type of when the terminal was not launched by this extension or for
2943
+ * detecting what folder the shell was launched in.
2944
+ */
2945
+ readonly creationOptions: Readonly<TerminalOptions | ExtensionTerminalOptions>
2946
+
2931
2947
  /**
2932
2948
  * Send text to the terminal.
2933
2949
  * @param text - text content.