@halcyontech/vscode-ibmi-types 2.16.0 → 2.16.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.
@@ -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/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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyontech/vscode-ibmi-types",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "Types for vscode-ibmi",
5
5
  "typings": "./typings.d.ts",
6
6
  "scripts": {