@adminide-stack/extension-api 10.1.1-alpha.9 → 10.2.1-alpha.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/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{graphQLContent}from'./interfaces/graphql.js';export{ContributableViewContainer
|
1
|
+
export{graphQLContent}from'./interfaces/graphql.js';export{ContributableMenu,ContributableViewContainer}from'./interfaces/contributions/contribution.js';export{EMPTY_MODEL}from'./interfaces/model.js';export{match,score}from'./interfaces/text-document.js';export{WebviewContentPurpose}from'./interfaces/webview/webview.js';export{EditorPosition}from'./protocol/editor-missing-types.js';export{HostIdentifier,ProxyIdentifier,RequestType,TransportType,createExtHostContextProxyIdentifier,createMainContextProxyIdentifier,getStringIdentifierForProxy}from'./protocol/proxy-identifier.js';export{modes}from'./protocol/temporary-types.js';export{ClientContext}from'./protocol/client.protocol.js';export{IdObject,ObjectIdentifier,SuggestDataDtoField,SuggestResultDtoField,reviveWorkspaceEditDto}from'./protocol/common.protocol.js';export{editorGroupToViewColumn,viewColumnToEditorGroup}from'./protocol/shared/editor.js';export{ExtHostContext,MainContext}from'./protocol/server.protocol.js';export{ArgType,MessageBuffer,MessageIO,MessageType,RPCProtocol,RequestInitiator,ResponsiveState,safeStringify}from'./protocol/rpc-protocol.js';export{RPCLogger}from'./protocol/rpc-logger.js';export{createBarrier}from'./utils/helper.test.js';export{flattenAndCompact,generateContributionId,isPromise,isSubscribable,tryCatchPromise}from'./utils/util.js';export{asError,isErrorLike}from'./utils/errors.js';export{getScriptURLFromExtensionManifest}from'./utils/extensions.js';export{combineLatestOrDefault}from'./utils/rxjs/combineLatestOrDefault.js';import*as pathsUtil from'./utils/paths-util.js';export{pathsUtil as path };export{ConfigurationTarget,Disposable,LogLevel,RelativePattern}from'./core/types/ext-host-types.js';export{Expression,TemplateExpression,parse,parseTemplate}from'./core/expr/evaluator.js';export{Lexer,OPERATORS,OPERATOR_CHARS,TemplateLexer,TokenType}from'./core/expr/lexer.js';export{Parser,TemplateParser}from'./core/expr/parser.js';export{ConnectionError,ConnectionErrors,createConnection}from'./connections/jsonrpc2/connection.js';export{createWebWorkerMessageTransports}from'./connections/jsonrpc2/transports/webWorker.js';export{BrowserConsoleTracer,noopTracer}from'./connections/jsonrpc2/trace.js';export{createMessagePipe,createMessageTransports}from'./connections/jsonrpc2/test-helper.js';export{BrowserRemoteRPC}from'./connections/remote-rpc/browser-remote-rpc.js';export{createExtensionProxy,createProxy,createProxyAndHandleRequests,handleRequests,handleServerProxyRequest,handleServerProxyRequests}from'./connections/proxy/proxy.js';export{ClientTypes}from'./constants/types.js';export{COMMAND_ACTION_TYPES,CONTRIBUTION_ACTION_TYPES,EXTENSION_ACTION_TYPES,SETTINGS_ACTION_TYPES}from'./constants/action-types.js';export{middleware}from'./middlewares/extensionController.js';
|
@@ -205,7 +205,7 @@ export interface IActionItem {
|
|
205
205
|
*/
|
206
206
|
pressed?: Expression<boolean>;
|
207
207
|
}
|
208
|
-
export declare enum
|
208
|
+
export declare enum ContributableMenu {
|
209
209
|
/** The global command palette. */
|
210
210
|
CommandPalette = "commandPalette",
|
211
211
|
/** The global navigation bar in the application. */
|
@@ -226,7 +226,7 @@ export declare enum IContributableMenu {
|
|
226
226
|
/**
|
227
227
|
* MenuContributions describes the menu items contributed by an extension.
|
228
228
|
*/
|
229
|
-
export interface IMenuContributions extends Partial<Record<
|
229
|
+
export interface IMenuContributions extends Partial<Record<ContributableMenu, IMenuItemContribution[]>> {
|
230
230
|
}
|
231
231
|
/**
|
232
232
|
* MenuItemContribution is a menu item contributed by an extension.
|
@@ -296,7 +296,7 @@ export declare const ContributableViewContainer: {
|
|
296
296
|
*/
|
297
297
|
readonly InsightsPage: "insightsPage";
|
298
298
|
};
|
299
|
-
export type IContributableViewContainer = typeof ContributableViewContainer[keyof typeof ContributableViewContainer];
|
299
|
+
export type IContributableViewContainer = (typeof ContributableViewContainer)[keyof typeof ContributableViewContainer];
|
300
300
|
/**
|
301
301
|
* A view contributed by an extension.
|
302
302
|
*/
|
@@ -1,22 +1,22 @@
|
|
1
|
-
var
|
2
|
-
(function (
|
1
|
+
var ContributableMenu;
|
2
|
+
(function (ContributableMenu) {
|
3
3
|
/** The global command palette. */
|
4
|
-
|
4
|
+
ContributableMenu["CommandPalette"] = "commandPalette";
|
5
5
|
/** The global navigation bar in the application. */
|
6
|
-
|
6
|
+
ContributableMenu["GlobalNav"] = "global/nav";
|
7
7
|
/** The title bar for the current document. */
|
8
|
-
|
8
|
+
ContributableMenu["EditorTitle"] = "editor/title";
|
9
9
|
/** A directory page (including for the root directory of a repository). */
|
10
|
-
|
10
|
+
ContributableMenu["DirectoryPage"] = "directory/page";
|
11
11
|
/** The hover tooltip. */
|
12
|
-
|
12
|
+
ContributableMenu["Hover"] = "hover";
|
13
13
|
/** The panel toolbar. */
|
14
|
-
|
14
|
+
ContributableMenu["PanelToolbar"] = "panel/toolbar";
|
15
15
|
/** The search results toolbar. */
|
16
|
-
|
16
|
+
ContributableMenu["SearchResultsToolbar"] = "search/results/toolbar";
|
17
17
|
/** The help menu in the application. */
|
18
|
-
|
19
|
-
})(
|
18
|
+
ContributableMenu["Help"] = "help";
|
19
|
+
})(ContributableMenu || (ContributableMenu = {}));
|
20
20
|
/** The containers to which an extension can contribute views. */
|
21
21
|
const ContributableViewContainer = {
|
22
22
|
/**
|
@@ -42,4 +42,4 @@ const ContributableViewContainer = {
|
|
42
42
|
* A view contributed to the dashboard on the insights page.
|
43
43
|
*/
|
44
44
|
InsightsPage: 'insightsPage',
|
45
|
-
};export{ContributableViewContainer
|
45
|
+
};export{ContributableMenu,ContributableViewContainer};
|
@@ -21,7 +21,7 @@ export declare class IdObject {
|
|
21
21
|
private static _n;
|
22
22
|
static mixin<T extends object>(object: T): T & IdObject;
|
23
23
|
}
|
24
|
-
export declare const enum
|
24
|
+
export declare const enum SuggestDataDtoField {
|
25
25
|
label = "a",
|
26
26
|
kind = "b",
|
27
27
|
detail = "c",
|
@@ -39,42 +39,42 @@ export declare const enum ISuggestDataDtoField {
|
|
39
39
|
label2 = "o"
|
40
40
|
}
|
41
41
|
export interface ISuggestDataDto {
|
42
|
-
[
|
43
|
-
[
|
44
|
-
[
|
45
|
-
[
|
46
|
-
[
|
47
|
-
[
|
48
|
-
[
|
49
|
-
[
|
50
|
-
[
|
51
|
-
[
|
52
|
-
[
|
42
|
+
[SuggestDataDtoField.label]: string;
|
43
|
+
[SuggestDataDtoField.label2]?: string | modes.CompletionItemLabel;
|
44
|
+
[SuggestDataDtoField.kind]?: modes.CompletionItemKind;
|
45
|
+
[SuggestDataDtoField.detail]?: string;
|
46
|
+
[SuggestDataDtoField.documentation]?: string | IMarkdownString;
|
47
|
+
[SuggestDataDtoField.sortText]?: string;
|
48
|
+
[SuggestDataDtoField.filterText]?: string;
|
49
|
+
[SuggestDataDtoField.preselect]?: true;
|
50
|
+
[SuggestDataDtoField.insertText]?: string;
|
51
|
+
[SuggestDataDtoField.insertTextRules]?: modes.CompletionItemInsertTextRule;
|
52
|
+
[SuggestDataDtoField.range]?: IRange | {
|
53
53
|
insert: IRange;
|
54
54
|
replace: IRange;
|
55
55
|
};
|
56
|
-
[
|
57
|
-
[
|
58
|
-
[
|
59
|
-
[
|
56
|
+
[SuggestDataDtoField.commitCharacters]?: string[];
|
57
|
+
[SuggestDataDtoField.additionalTextEdits]?: ISingleEditOperation[];
|
58
|
+
[SuggestDataDtoField.command]?: modes.Command;
|
59
|
+
[SuggestDataDtoField.kindModifier]?: modes.CompletionItemTag[];
|
60
60
|
x?: ChainedCacheId;
|
61
61
|
}
|
62
62
|
export type CacheId = number;
|
63
63
|
export type ChainedCacheId = [CacheId, CacheId];
|
64
|
-
export declare const enum
|
64
|
+
export declare const enum SuggestResultDtoField {
|
65
65
|
defaultRanges = "a",
|
66
66
|
completions = "b",
|
67
67
|
isIncomplete = "c",
|
68
68
|
duration = "d"
|
69
69
|
}
|
70
70
|
export interface SuggestResultDto extends IdObject {
|
71
|
-
[
|
71
|
+
[SuggestResultDtoField.defaultRanges]: {
|
72
72
|
insert: IRange;
|
73
73
|
replace: IRange;
|
74
74
|
};
|
75
|
-
[
|
76
|
-
[
|
77
|
-
[
|
75
|
+
[SuggestResultDtoField.completions]: ISuggestDataDto[];
|
76
|
+
[SuggestResultDtoField.isIncomplete]: undefined | true;
|
77
|
+
[SuggestResultDtoField.duration]: number;
|
78
78
|
x?: number;
|
79
79
|
}
|
80
80
|
export interface WorkspaceSymbolDto extends IdObject {
|
@@ -7,32 +7,32 @@ import {URI}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';class IdOb
|
|
7
7
|
}
|
8
8
|
}
|
9
9
|
// needed
|
10
|
-
var
|
11
|
-
(function (
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
10
|
+
var SuggestDataDtoField;
|
11
|
+
(function (SuggestDataDtoField) {
|
12
|
+
SuggestDataDtoField["label"] = "a";
|
13
|
+
SuggestDataDtoField["kind"] = "b";
|
14
|
+
SuggestDataDtoField["detail"] = "c";
|
15
|
+
SuggestDataDtoField["documentation"] = "d";
|
16
|
+
SuggestDataDtoField["sortText"] = "e";
|
17
|
+
SuggestDataDtoField["filterText"] = "f";
|
18
|
+
SuggestDataDtoField["preselect"] = "g";
|
19
|
+
SuggestDataDtoField["insertText"] = "h";
|
20
|
+
SuggestDataDtoField["insertTextRules"] = "i";
|
21
|
+
SuggestDataDtoField["range"] = "j";
|
22
|
+
SuggestDataDtoField["commitCharacters"] = "k";
|
23
|
+
SuggestDataDtoField["additionalTextEdits"] = "l";
|
24
|
+
SuggestDataDtoField["command"] = "m";
|
25
|
+
SuggestDataDtoField["kindModifier"] = "n";
|
26
26
|
// to merge into label
|
27
|
-
|
28
|
-
})(
|
29
|
-
var
|
30
|
-
(function (
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
})(
|
27
|
+
SuggestDataDtoField["label2"] = "o";
|
28
|
+
})(SuggestDataDtoField || (SuggestDataDtoField = {}));
|
29
|
+
var SuggestResultDtoField;
|
30
|
+
(function (SuggestResultDtoField) {
|
31
|
+
SuggestResultDtoField["defaultRanges"] = "a";
|
32
|
+
SuggestResultDtoField["completions"] = "b";
|
33
|
+
SuggestResultDtoField["isIncomplete"] = "c";
|
34
|
+
SuggestResultDtoField["duration"] = "d";
|
35
|
+
})(SuggestResultDtoField || (SuggestResultDtoField = {}));
|
36
36
|
function reviveWorkspaceEditDto(data) {
|
37
37
|
if (data && data.edits) {
|
38
38
|
for (const edit of data.edits) {
|
@@ -59,4 +59,4 @@ var ObjectIdentifier;
|
|
59
59
|
return obj[ObjectIdentifier.name];
|
60
60
|
}
|
61
61
|
ObjectIdentifier.of = of;
|
62
|
-
})(ObjectIdentifier || (ObjectIdentifier = {}));export{
|
62
|
+
})(ObjectIdentifier || (ObjectIdentifier = {}));export{IdObject,ObjectIdentifier,SuggestDataDtoField,SuggestResultDtoField,reviveWorkspaceEditDto};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@adminide-stack/extension-api",
|
3
|
-
"version": "10.
|
3
|
+
"version": "10.2.1-alpha.0",
|
4
4
|
"description": "Workbench core for higher packages to depend on",
|
5
5
|
"license": "ISC",
|
6
6
|
"author": "CDMBase LLC",
|
@@ -21,11 +21,11 @@
|
|
21
21
|
"watch": "npm run build:lib:watch"
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
|
-
"@adminide-stack/core": "10.
|
24
|
+
"@adminide-stack/core": "10.2.1-alpha.0",
|
25
25
|
"@workbench-stack/core": "3.9.7",
|
26
26
|
"abort-controller": "^3.0.0",
|
27
|
-
"cdeops": "10.
|
28
|
-
"common": "10.
|
27
|
+
"cdeops": "10.2.1-alpha.0",
|
28
|
+
"common": "10.2.1-alpha.0",
|
29
29
|
"minimatch": "^10.0.0",
|
30
30
|
"queueing-subject": "0.3.4",
|
31
31
|
"utility-types": "^3.10.0",
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"publishConfig": {
|
42
42
|
"access": "public"
|
43
43
|
},
|
44
|
-
"gitHead": "a0bf665c149b90af7eeffb0d4179672c9954bd93",
|
45
44
|
"typescript": {
|
46
45
|
"definition": "lib/index.d.ts"
|
47
|
-
}
|
46
|
+
},
|
47
|
+
"gitHead": "9c0b401c30fbf003c423f64ab83f234e5156fda6"
|
48
48
|
}
|