@halcyontech/vscode-ibmi-types 1.6.14 → 1.6.15

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/api/Tools.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { API } from "./import/git";
1
2
  export declare namespace Tools {
2
3
  interface DB2Headers {
3
4
  name: string;
@@ -26,4 +27,5 @@ export declare namespace Tools {
26
27
  * @returns the escaped path
27
28
  */
28
29
  function escapePath(Path: string): string;
30
+ function getGitAPI(): API | undefined;
29
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyontech/vscode-ibmi-types",
3
- "version": "1.6.14",
3
+ "version": "1.6.15",
4
4
  "description": "Types for vscode-ibmi",
5
5
  "typings": "./typings.d.ts",
6
6
  "scripts": {
package/typings.d.ts CHANGED
@@ -10,13 +10,7 @@ export interface CodeForIBMi {
10
10
  deploy: (parameters: DeploymentParameters) => Promise<boolean>;
11
11
  evfeventParser: (lines: string[]) => Map<string, FileError[]>;
12
12
  }
13
- export declare enum DeploymentMethod {
14
- "all" = 0,
15
- "staged" = 1,
16
- "unstaged" = 2,
17
- "changed" = 3,
18
- "compare" = 4
19
- }
13
+ export declare type DeploymentMethod = "all" | "staged" | "unstaged" | "changed" | "compare";
20
14
  export interface DeploymentParameters {
21
15
  method: DeploymentMethod;
22
16
  localFolder: Uri;