@halcyontech/vscode-ibmi-types 2.6.2 → 2.6.3
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/Configuration.d.ts +2 -0
- package/api/IBMiContent.d.ts +2 -0
- package/api/Storage.d.ts +3 -0
- package/package.json +1 -1
- package/typings.d.ts +5 -1
package/api/Configuration.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as vscode from 'vscode';
|
2
2
|
import { DeploymentMethod } from '../typings';
|
3
3
|
export declare type SourceDateMode = "edit" | "diff";
|
4
|
+
export declare type DefaultOpenMode = "browse" | "edit";
|
4
5
|
export declare function onCodeForIBMiConfigurationChange<T>(props: string | string[], todo: (value: vscode.ConfigurationChangeEvent) => void): vscode.Disposable;
|
5
6
|
export declare namespace GlobalConfiguration {
|
6
7
|
function get<T>(key: string): T | undefined;
|
@@ -37,6 +38,7 @@ export declare namespace ConnectionConfiguration {
|
|
37
38
|
readOnlyMode: boolean;
|
38
39
|
quickConnect: boolean;
|
39
40
|
defaultDeploymentMethod: DeploymentMethod | '';
|
41
|
+
protectedPaths: string[];
|
40
42
|
[name: string]: any;
|
41
43
|
}
|
42
44
|
interface ObjectFilters {
|
package/api/IBMiContent.d.ts
CHANGED
@@ -113,5 +113,7 @@ export default class IBMiContent {
|
|
113
113
|
name: string;
|
114
114
|
type: string;
|
115
115
|
}, ...authorities: Authority[]): Promise<boolean>;
|
116
|
+
testStreamFile(path: string, right: "r" | "w" | "x"): Promise<boolean>;
|
117
|
+
isProtectedPath(path: string): boolean;
|
116
118
|
}
|
117
119
|
export {};
|
package/api/Storage.d.ts
CHANGED
@@ -78,5 +78,8 @@ export declare class ConnectionStorage extends Storage {
|
|
78
78
|
getDebugCommands(): DebugCommands;
|
79
79
|
setDebugCommands(existingCommands: DebugCommands): Promise<void>;
|
80
80
|
getWorkspaceDeployPath(workspaceFolder: vscode.WorkspaceFolder): string;
|
81
|
+
getRecentlyOpenedFiles(): string[];
|
82
|
+
setRecentlyOpenedFiles(recentlyOpenedFiles: string[]): Promise<void>;
|
83
|
+
clearRecentlyOpenedFiles(): Promise<void>;
|
81
84
|
}
|
82
85
|
export {};
|
package/package.json
CHANGED
package/typings.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { Ignore } from 'ignore';
|
3
|
-
import { ProviderResult, TreeItem, TreeItemCollapsibleState, WorkspaceFolder } from "vscode";
|
3
|
+
import { ProviderResult, Range, 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";
|
@@ -170,3 +170,7 @@ export declare type IBMiMessages = {
|
|
170
170
|
messages: IBMiMessage[];
|
171
171
|
findId(id: string): IBMiMessage | undefined;
|
172
172
|
};
|
173
|
+
export declare const IFS_BROWSER_MIMETYPE = "application/vnd.code.tree.ifsbrowser";
|
174
|
+
export declare type OpenEditableOptions = QsysFsOptions & {
|
175
|
+
position?: Range;
|
176
|
+
};
|