@halcyontech/vscode-ibmi-types 3.0.5 → 3.0.7

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
@@ -10,7 +10,7 @@ import { ConnectionManager } from './configuration/config/ConnectionManager';
10
10
  import { ConnectionConfig, RemoteConfigFile } from './configuration/config/types';
11
11
  import { ConfigFile } from './configuration/serverFile';
12
12
  import { CodeForIStorage } from './configuration/storage/CodeForIStorage';
13
- import { AspInfo, CommandData, CommandResult, ConnectionData, EditorPath, IBMiMember, RemoteCommand, QsysPath, CacheItem } from './types';
13
+ import { AspInfo, CacheItem, CommandData, CommandResult, ConnectionData, EditorPath, IBMiMember, QsysPath, RemoteCommand } from './types';
14
14
  export interface MemberParts extends IBMiMember {
15
15
  basename: string;
16
16
  }
@@ -119,6 +119,7 @@ export default class IBMi {
119
119
  getContent(): IBMiContent;
120
120
  getConfig(): ConnectionConfig;
121
121
  setConfig(newConfig: ConnectionConfig): void;
122
+ getTempDirectory(): string;
122
123
  constructor();
123
124
  connect(connectionObject: ConnectionData, options: ConnectionOptions): Promise<ConnectionResult>;
124
125
  private checkOrCreateTempLibrary;
@@ -12,6 +12,7 @@ export type SortOptions = {
12
12
  export default class IBMiContent {
13
13
  readonly ibmi: IBMi;
14
14
  constructor(ibmi: IBMi);
15
+ private dummyDSPF;
15
16
  private get config();
16
17
  private getTempRemote;
17
18
  private getNotUTF8CCSID;
@@ -3,14 +3,13 @@ import { ComponentState, IBMiComponent, SecureComponentState } from "./component
3
3
  export declare class IBMiComponentRuntime {
4
4
  protected readonly connection: IBMi;
5
5
  readonly component: IBMiComponent;
6
- static readonly InstallDirectory = "$HOME/.vscode/";
7
6
  private state;
8
7
  private cachedInstallDirectory;
9
8
  constructor(connection: IBMi, component: IBMiComponent);
10
- getInstallDirectory(): Promise<string>;
9
+ getInstallDirectory(): string;
11
10
  getState(): SecureComponentState;
12
11
  setState(newState: SecureComponentState): Promise<void>;
13
- overrideState(newState: SecureComponentState): Promise<void>;
12
+ overrideState(newState: SecureComponentState): void;
14
13
  update(): Promise<void>;
15
14
  startupCheck(): Promise<this>;
16
15
  getCurrentState(): Promise<SecureComponentState>;
@@ -11,15 +11,14 @@ export declare class ExtendedIBMiContent {
11
11
  downloadMemberContentWithDates(uri: vscode.Uri): Promise<string>;
12
12
  /**
13
13
  * Determine the member record length
14
- * @param {string} aliasPath member sql alias path e.g. ILEDITOR.QGPL_QRPGLESC_MYRPGPGM
15
- * @param {string} lib
16
- * @param {string} spf
17
14
  */
18
- private getRecordLength;
15
+ private readRecordLength;
19
16
  /**
20
17
  * Upload to a member with source dates
21
18
  * @param {vscode.Uri} uri
22
19
  * @param {string} body
23
20
  */
24
21
  uploadMemberContentWithDates(uri: vscode.Uri, body: string): Promise<void>;
22
+ private overDBFile;
23
+ private deleteOVRDBFile;
25
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halcyontech/vscode-ibmi-types",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "Types for vscode-ibmi",
5
5
  "typings": "./typings.d.ts",
6
6
  "scripts": {