@halcyontech/vscode-ibmi-types 2.6.0 → 2.6.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/api/CompileTools.d.ts +1 -1
- package/api/Tools.d.ts +2 -0
- package/package.json +1 -1
- package/typings.d.ts +8 -0
package/api/CompileTools.d.ts
CHANGED
@@ -11,5 +11,5 @@ export declare namespace CompileTools {
|
|
11
11
|
/**
|
12
12
|
* Execute a command
|
13
13
|
*/
|
14
|
-
function runCommand(instance: Instance, options: RemoteCommand, writeEvent?: EventEmitter<string>): Promise<CommandResult
|
14
|
+
function runCommand(instance: Instance, options: RemoteCommand, writeEvent?: EventEmitter<string>): Promise<CommandResult>;
|
15
15
|
}
|
package/api/Tools.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import vscode from "vscode";
|
2
|
+
import { IBMiMessages } from '../typings';
|
2
3
|
import { API } from "./import/git";
|
3
4
|
export declare namespace Tools {
|
4
5
|
class SqlError extends Error {
|
@@ -41,4 +42,5 @@ export declare namespace Tools {
|
|
41
42
|
function md5Hash(file: vscode.Uri): string;
|
42
43
|
function capitalize(text: string): string;
|
43
44
|
function sanitizeLibraryNames(libraries: string[]): string[];
|
45
|
+
function parseMessages(output: string): IBMiMessages;
|
44
46
|
}
|
package/package.json
CHANGED
package/typings.d.ts
CHANGED
@@ -162,3 +162,11 @@ export interface SourcePhysicalFileItem extends FilteredItem, WithPath {
|
|
162
162
|
export interface MemberItem extends FilteredItem, WithPath {
|
163
163
|
member: IBMiMember;
|
164
164
|
}
|
165
|
+
export declare type IBMiMessage = {
|
166
|
+
id: string;
|
167
|
+
text: string;
|
168
|
+
};
|
169
|
+
export declare type IBMiMessages = {
|
170
|
+
messages: IBMiMessage[];
|
171
|
+
findId(id: string): IBMiMessage | undefined;
|
172
|
+
};
|