@theia/plugin 1.32.0-next.17 → 1.32.0-next.20

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 +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.32.0-next.17+ab26210b9",
3
+ "version": "1.32.0-next.20+6b14f040f",
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": "ab26210b9950363b41386cee76aff0082251ab96"
35
+ "gitHead": "6b14f040f82f0e99de711978ae1cfdc38f288756"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -5108,6 +5108,18 @@ export module '@theia/plugin' {
5108
5108
  */
5109
5109
  export function registerUriHandler(handler: UriHandler): Disposable;
5110
5110
 
5111
+ /**
5112
+ * Show progress in the Source Control viewlet while running the given callback and while
5113
+ * its returned promise isn't resolve or rejected.
5114
+ *
5115
+ * @deprecated Use `withProgress` instead.
5116
+ *
5117
+ * @param task A callback returning a promise. Progress increments can be reported with
5118
+ * the provided {@link Progress}-object.
5119
+ * @return The thenable the task did return.
5120
+ */
5121
+ export function withScmProgress<R>(task: (progress: Progress<number>) => Thenable<R>): Thenable<R>;
5122
+
5111
5123
  /**
5112
5124
  * Show progress in the editor. Progress is shown while running the given callback
5113
5125
  * and while the promise it returned isn't resolved nor rejected. The location at which