@theia/plugin 1.22.0 → 1.23.0-next.2
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/package.json +3 -3
- package/src/theia.d.ts +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0-next.2+be4eba9d5ae",
|
|
4
4
|
"description": "Theia - Plugin API",
|
|
5
5
|
"types": "./src/theia.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"watch": "theiaext watch"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@theia/ext-scripts": "1.22.
|
|
30
|
+
"@theia/ext-scripts": "1.22.1"
|
|
31
31
|
},
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "be4eba9d5aeb08e29f5a7dcf646c6defb25c28d4"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -2745,6 +2745,7 @@ export module '@theia/plugin' {
|
|
|
2745
2745
|
|
|
2746
2746
|
/**
|
|
2747
2747
|
* Options a virtual process terminal.
|
|
2748
|
+
* @deprecated since 1.23.0 - Use [ExtensionTerminalOptions](#ExtensionTerminalOptions) instead.
|
|
2748
2749
|
*/
|
|
2749
2750
|
export interface PseudoTerminalOptions {
|
|
2750
2751
|
/**
|
|
@@ -2759,6 +2760,22 @@ export module '@theia/plugin' {
|
|
|
2759
2760
|
pty: Pseudoterminal;
|
|
2760
2761
|
}
|
|
2761
2762
|
|
|
2763
|
+
/**
|
|
2764
|
+
* Options a virtual process terminal.
|
|
2765
|
+
*/
|
|
2766
|
+
export interface ExtensionTerminalOptions {
|
|
2767
|
+
/**
|
|
2768
|
+
* The name of the terminal.
|
|
2769
|
+
*/
|
|
2770
|
+
name: string;
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* An implementation of [Pseudoterminal](#Pseudoterminal) where an extension can
|
|
2774
|
+
* control it.
|
|
2775
|
+
*/
|
|
2776
|
+
pty: Pseudoterminal;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2762
2779
|
/**
|
|
2763
2780
|
* Defines the interface of a terminal pty, enabling extensions to control a terminal.
|
|
2764
2781
|
*/
|
|
@@ -4439,6 +4456,14 @@ export module '@theia/plugin' {
|
|
|
4439
4456
|
*/
|
|
4440
4457
|
export function createTerminal(options: PseudoTerminalOptions): Terminal;
|
|
4441
4458
|
|
|
4459
|
+
/**
|
|
4460
|
+
* Creates a pseudo where an extension controls its input and output.
|
|
4461
|
+
*
|
|
4462
|
+
* @param options ExtensionTerminalOptions.
|
|
4463
|
+
* @return A new Terminal.
|
|
4464
|
+
*/
|
|
4465
|
+
export function createTerminal(options: ExtensionTerminalOptions): Terminal;
|
|
4466
|
+
|
|
4442
4467
|
/**
|
|
4443
4468
|
* Register a [TreeDataProvider](#TreeDataProvider) for the view contributed using the extension point `views`.
|
|
4444
4469
|
* This will allow you to contribute data to the [TreeView](#TreeView) and update if the data changes.
|