@halcyontech/vscode-ibmi-types 2.2.0 → 2.3.1
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/CustomUI.d.ts +6 -0
- package/api/Storage.d.ts +2 -0
- package/package.json +1 -1
- package/typings.d.ts +2 -3
package/api/CompileTools.d.ts
CHANGED
@@ -7,7 +7,7 @@ export interface ILELibrarySettings {
|
|
7
7
|
}
|
8
8
|
export declare namespace CompileTools {
|
9
9
|
function register(context: vscode.ExtensionContext): void;
|
10
|
-
function runAction(instance: Instance, uri: vscode.Uri, customAction?: Action, method?: DeploymentMethod): Promise<
|
10
|
+
function runAction(instance: Instance, uri: vscode.Uri, customAction?: Action, method?: DeploymentMethod): Promise<boolean>;
|
11
11
|
/**
|
12
12
|
* Execute a command
|
13
13
|
*/
|
package/api/CustomUI.d.ts
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
import vscode from 'vscode';
|
2
|
+
declare type PanelOptions = {
|
3
|
+
fullWidth?: boolean;
|
4
|
+
};
|
2
5
|
export interface Page<T> {
|
3
6
|
panel: vscode.WebviewPanel;
|
4
7
|
data?: T;
|
@@ -46,6 +49,7 @@ export declare class Section {
|
|
46
49
|
addField(field: Field): this;
|
47
50
|
}
|
48
51
|
export declare class CustomUI extends Section {
|
52
|
+
private options?;
|
49
53
|
/**
|
50
54
|
* If no callback is provided, a Promise will be returned.
|
51
55
|
* If the page is already opened, it grabs the focus and return no Promise (as it's alreay handled by the first call).
|
@@ -55,6 +59,7 @@ export declare class CustomUI extends Section {
|
|
55
59
|
* @returns a Promise<Page<T>> if no callback is provided
|
56
60
|
*/
|
57
61
|
loadPage<T>(title: string, callback?: (page: Page<T>) => void): Promise<Page<T>> | undefined;
|
62
|
+
setOptions(options: PanelOptions): this;
|
58
63
|
private createPage;
|
59
64
|
private getHTML;
|
60
65
|
}
|
@@ -101,3 +106,4 @@ export declare class Field {
|
|
101
106
|
private renderLabel;
|
102
107
|
private renderDescription;
|
103
108
|
}
|
109
|
+
export {};
|
package/api/Storage.d.ts
CHANGED
@@ -56,6 +56,8 @@ export declare class GlobalStorage extends Storage {
|
|
56
56
|
};
|
57
57
|
setServerSettingsCache(name: string, serverSettings: CachedServerSettings): Promise<void>;
|
58
58
|
deleteServerSettingsCache(name: string): Promise<void>;
|
59
|
+
getPreviousSearchTerms(): string[];
|
60
|
+
setPreviousSearchTerms(previousSearchTerms: string[]): Promise<void>;
|
59
61
|
}
|
60
62
|
export declare class ConnectionStorage extends Storage {
|
61
63
|
private connectionName;
|
package/package.json
CHANGED
package/typings.d.ts
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { Ignore } from 'ignore';
|
3
|
-
import { TreeItem, TreeItemCollapsibleState, WorkspaceFolder } from "vscode";
|
3
|
+
import { ProviderResult, TreeItem, TreeItemCollapsibleState, WorkspaceFolder } from "vscode";
|
4
4
|
import { ConnectionConfiguration } from './api/Configuration';
|
5
5
|
import { CustomUI } from "./api/CustomUI";
|
6
6
|
import Instance from "./api/Instance";
|
7
7
|
import { Tools } from "./api/Tools";
|
8
|
-
import { ProviderResult } from './api/import/git';
|
9
8
|
import { DeployTools } from "./api/local/deployTools";
|
10
9
|
export interface CodeForIBMi {
|
11
10
|
instance: Instance;
|
@@ -64,7 +63,7 @@ export interface ConnectionData {
|
|
64
63
|
port: number;
|
65
64
|
username: string;
|
66
65
|
password?: string;
|
67
|
-
|
66
|
+
privateKeyPath?: string;
|
68
67
|
keepaliveInterval?: number;
|
69
68
|
}
|
70
69
|
export interface Server {
|