@halcyontech/vscode-ibmi-types 2.16.0 → 2.16.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/IBMi.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import * as node_ssh from "node-ssh";
|
3
|
-
import {
|
4
|
-
import {
|
3
|
+
import { EventEmitter } from 'stream';
|
4
|
+
import { EditorPath } from '../typings';
|
5
5
|
import IBMiContent from "./IBMiContent";
|
6
|
-
import { CodeForIStorage } from './configuration/storage/CodeForIStorage';
|
7
6
|
import { Tools } from './Tools';
|
7
|
+
import { IBMiComponent } from "./components/component";
|
8
|
+
import { ComponentManager, ComponentSearchProps } from "./components/manager";
|
8
9
|
import { ConnectionManager } from './configuration/config/ConnectionManager';
|
9
|
-
import { AspInfo, CommandData, CommandResult, ConnectionData, IBMiMember, RemoteCommand } from './types';
|
10
|
-
import { EventEmitter } from 'stream';
|
11
10
|
import { ConnectionConfig } from './configuration/config/types';
|
12
|
-
import {
|
11
|
+
import { CodeForIStorage } from './configuration/storage/CodeForIStorage';
|
12
|
+
import { AspInfo, CommandData, CommandResult, ConnectionData, IBMiMember, RemoteCommand } from './types';
|
13
13
|
export interface MemberParts extends IBMiMember {
|
14
14
|
basename: string;
|
15
15
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
export declare abstract class BaseStorage {
|
2
2
|
protected readonly globalState: any;
|
3
|
+
private uniqueKeyPrefix;
|
3
4
|
constructor(globalState: any);
|
4
5
|
keys(): readonly string[];
|
6
|
+
setUniqueKeyPrefix(prefix: string): void;
|
5
7
|
get<T>(key: string): T | undefined;
|
6
8
|
set(key: string, value: any): Promise<void>;
|
7
9
|
getStorageKey(key: string): string;
|
@@ -28,7 +28,6 @@ export declare type CachedServerSettings = {
|
|
28
28
|
export declare class CodeForIStorage {
|
29
29
|
private internalStorage;
|
30
30
|
constructor(internalStorage: BaseStorage);
|
31
|
-
protected getStorageKey(key: string): string;
|
32
31
|
getLastConnections(): LastConnection[];
|
33
32
|
setLastConnection(name: string): Promise<void>;
|
34
33
|
setLastConnections(lastConnections: LastConnection[]): Promise<void>;
|
@@ -12,7 +12,6 @@ export declare class ConnectionStorage {
|
|
12
12
|
constructor(internalStorage: BaseStorage);
|
13
13
|
get ready(): boolean;
|
14
14
|
setConnectionName(connectionName: string): void;
|
15
|
-
protected getStorageKey(key: string): string;
|
16
15
|
getSourceList(): PathContent;
|
17
16
|
setSourceList(sourceList: PathContent): Promise<void>;
|
18
17
|
getLastProfile(): string;
|
@@ -32,5 +31,7 @@ export declare class ConnectionStorage {
|
|
32
31
|
getAuthorisedExtensions(): AuthorisedExtension[];
|
33
32
|
revokeAllExtensionAuthorisations(): void;
|
34
33
|
revokeExtensionAuthorisation(...extensions: AuthorisedExtension[]): Promise<void>;
|
34
|
+
hasMessageBeenShown(messageId: string): boolean;
|
35
|
+
markMessageAsShown(messageId: string): Promise<void>;
|
35
36
|
}
|
36
37
|
export {};
|
package/api/types.d.ts
CHANGED
package/debug/server.d.ts
CHANGED
@@ -4,6 +4,7 @@ export declare type DebugJob = {
|
|
4
4
|
name: string;
|
5
5
|
ports: number[];
|
6
6
|
};
|
7
|
+
export declare const MIN_DEBUG_VERSION = 3;
|
7
8
|
export declare function debugPTFInstalled(connection: IBMi): boolean;
|
8
9
|
export declare function isDebugSupported(connection: IBMi): Promise<boolean>;
|
9
10
|
export declare function startService(connection: IBMi): Promise<boolean>;
|