@halcyontech/vscode-ibmi-types 2.12.1 → 2.13.0
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/IBMi.d.ts +2 -0
- package/api/Search.d.ts +2 -2
- package/api/Storage.d.ts +2 -0
- package/api/Tools.d.ts +1 -1
- package/api/debug/certificates.d.ts +1 -0
- package/api/debug/config.d.ts +2 -0
- package/package.json +1 -1
package/api/IBMi.d.ts
CHANGED
@@ -49,6 +49,7 @@ export default class IBMi {
|
|
49
49
|
content: IBMiContent;
|
50
50
|
shell?: string;
|
51
51
|
commandsExecuted: number;
|
52
|
+
maximumArgsLength: number;
|
52
53
|
dangerousVariants: boolean;
|
53
54
|
constructor();
|
54
55
|
/**
|
@@ -76,6 +77,7 @@ export default class IBMi {
|
|
76
77
|
sendCommand(options: CommandData): Promise<CommandResult>;
|
77
78
|
private appendOutput;
|
78
79
|
private determineClear;
|
80
|
+
private disconnect;
|
79
81
|
end(): Promise<void>;
|
80
82
|
/**
|
81
83
|
* SQL only available when runner is installed and CCSID is valid.
|
package/api/Search.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { SearchResults } from '../typings';
|
1
|
+
import { IBMiMember, SearchResults } from '../typings';
|
2
2
|
import Instance from './Instance';
|
3
3
|
export declare namespace Search {
|
4
|
-
function searchMembers(instance: Instance, library: string, sourceFile: string,
|
4
|
+
function searchMembers(instance: Instance, library: string, sourceFile: string, searchTerm: string, members: IBMiMember[] | string, readOnly?: boolean): Promise<SearchResults>;
|
5
5
|
function searchIFS(instance: Instance, path: string, searchTerm: string): Promise<SearchResults | undefined>;
|
6
6
|
function findIFS(instance: Instance, path: string, findTerm: string): Promise<SearchResults | undefined>;
|
7
7
|
}
|
package/api/Storage.d.ts
CHANGED
@@ -40,6 +40,7 @@ export declare type CachedServerSettings = {
|
|
40
40
|
pathChecked?: boolean;
|
41
41
|
userDefaultCCSID: number | null;
|
42
42
|
debugConfigLoaded: boolean;
|
43
|
+
maximumArgsLength: number;
|
43
44
|
} | undefined;
|
44
45
|
export declare class GlobalStorage extends Storage {
|
45
46
|
private static instance;
|
@@ -69,6 +70,7 @@ export declare class GlobalStorage extends Storage {
|
|
69
70
|
pathChecked?: boolean;
|
70
71
|
userDefaultCCSID: number;
|
71
72
|
debugConfigLoaded: boolean;
|
73
|
+
maximumArgsLength: number;
|
72
74
|
};
|
73
75
|
setServerSettingsCache(name: string, serverSettings: CachedServerSettings): Promise<void>;
|
74
76
|
setServerSettingsCacheSpecific(name: string, newSettings: Partial<CachedServerSettings>): Promise<void>;
|
package/api/Tools.d.ts
CHANGED
@@ -27,7 +27,7 @@ export declare namespace Tools {
|
|
27
27
|
* @param member Optional
|
28
28
|
* @param iasp Optional: an iASP name
|
29
29
|
*/
|
30
|
-
function qualifyPath(library: string, object: string, member?: string, iasp?: string,
|
30
|
+
function qualifyPath(library: string, object: string, member?: string, iasp?: string, noEscape?: boolean): string;
|
31
31
|
/**
|
32
32
|
* Unqualify member path from root
|
33
33
|
*/
|
@@ -18,6 +18,7 @@ export declare const LEGACY_CERT_DIRECTORY = "/QIBM/ProdData/IBMiDebugService/bi
|
|
18
18
|
* @param imported if defined, gives the location and password of a local or remote (i.e. on the IFS) service certificate to import
|
19
19
|
*/
|
20
20
|
export declare function setup(connection: IBMi, imported?: ImportedCertificate): Promise<void>;
|
21
|
+
export declare function debugKeyFileExists(connection: IBMi, debugConfig: DebugConfiguration): Promise<boolean>;
|
21
22
|
export declare function remoteCertificatesExists(debugConfig?: DebugConfiguration): Promise<boolean>;
|
22
23
|
export declare function downloadClientCert(connection: IBMi): Promise<void>;
|
23
24
|
export declare function getLocalCertPath(connection: IBMi): string;
|
package/api/debug/config.d.ts
CHANGED
@@ -17,6 +17,8 @@ export declare class DebugConfiguration {
|
|
17
17
|
getRemoteServiceRoot(): string;
|
18
18
|
getRemoteServiceBin(): string;
|
19
19
|
getRemoteServiceWorkDir(): string;
|
20
|
+
getCode4iDebug(): string;
|
21
|
+
setCode4iDebug(value: string): void;
|
20
22
|
}
|
21
23
|
interface DebugServiceDetails {
|
22
24
|
version: string;
|