@adminide-stack/extension-api 3.1.2-alpha.9 → 3.1.2-alpha.94
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.
|
@@ -42,6 +42,8 @@ export interface IContributions {
|
|
|
42
42
|
buttons?: IButtonContributions;
|
|
43
43
|
/** @sri custom: PageNavBar contributes by the extension. */
|
|
44
44
|
pageNavBar?: IPageNavBarItemContributions[];
|
|
45
|
+
/** @sri custom: ConfigValue contributes by the extension. */
|
|
46
|
+
configValue?: IConfigValueContributions;
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* An action contribution describes a command that can be invoked, along with a title, description, icon, etc.
|
|
@@ -380,4 +382,6 @@ export interface IPageNavBarItemContributions {
|
|
|
380
382
|
/** function return react component */
|
|
381
383
|
component: (params?: any) => ReactHTML | null;
|
|
382
384
|
}
|
|
385
|
+
export interface IConfigValueContributions extends Partial<Record<string, any>> {
|
|
386
|
+
}
|
|
383
387
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contribution.js","sourceRoot":"","sources":["../../../src/interfaces/contributions/contribution.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"contribution.js","sourceRoot":"","sources":["../../../src/interfaces/contributions/contribution.ts"],"names":[],"mappings":";;;AA4PA,IAAY,kBAwBX;AAxBD,WAAY,kBAAkB;IAC1B,kCAAkC;IAClC,uDAAiC,CAAA;IAEjC,oDAAoD;IACpD,8CAAwB,CAAA;IAExB,8CAA8C;IAC9C,kDAA4B,CAAA;IAE5B,2EAA2E;IAC3E,sDAAgC,CAAA;IAEhC,yBAAyB;IACzB,qCAAe,CAAA;IAEf,yBAAyB;IACzB,oDAA8B,CAAA;IAE9B,kCAAkC;IAClC,qEAA+C,CAAA;IAE/C,wCAAwC;IACxC,mCAAa,CAAA;AACjB,CAAC,EAxBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAwB7B;AAuDD,iEAAiE;AACpD,QAAA,0BAA0B,GAAG;IACtC;;;;;OAKG;IACH,KAAK,EAAE,cAAc;IAErB;;OAEG;IACH,UAAU,EAAE,aAAa;IAEzB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Unsubscribable } from 'rxjs';
|
|
2
2
|
import * as cdeops from 'cdeops/client';
|
|
3
|
-
import { ICommandHandlerDescription } from '@workbench-stack/core';
|
|
4
|
-
import { ConfigurationTarget } from '@adminide-stack/core';
|
|
3
|
+
import { ICommandHandlerDescription, IConfigurationOverrides } from '@workbench-stack/core';
|
|
4
|
+
import { ConfigurationTarget, IConfigurationChange } from '@adminide-stack/core';
|
|
5
5
|
import { ITextDocumentItem } from '@workbench-stack/core';
|
|
6
6
|
import { UriComponents } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
|
7
7
|
import { IRPCProtocol, ProxyIdentifier } from './proxy-identifier';
|
|
8
|
-
import { IOrganizationData, ILanguageFeaturesShape, IConfigurationInitData
|
|
8
|
+
import { IOrganizationData, ILanguageFeaturesShape, IConfigurationInitData } from './common.protocol';
|
|
9
9
|
import { IModelChangedEvent } from './temporary-types';
|
|
10
10
|
/**
|
|
11
11
|
* Required information when initializing an extension host.
|
|
@@ -28,28 +28,28 @@ export interface WebExtHostExtensionServiceShape {
|
|
|
28
28
|
$deactivateExtension(extensionID: string): Promise<void>;
|
|
29
29
|
}
|
|
30
30
|
export interface ClientThreadConfigurationShape {
|
|
31
|
-
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any,
|
|
32
|
-
$removeConfigurationOption(target: ConfigurationTarget, key: string,
|
|
31
|
+
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any, overrides: IConfigurationOverrides): Promise<void>;
|
|
32
|
+
$removeConfigurationOption(target: ConfigurationTarget, key: string, overrides: IConfigurationOverrides): Promise<void>;
|
|
33
33
|
}
|
|
34
34
|
export interface ClientThreadConfigurationRoleShape {
|
|
35
|
-
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any,
|
|
36
|
-
$removeConfigurationOption(target: ConfigurationTarget, key: string,
|
|
35
|
+
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any, overrides: IConfigurationOverrides): Promise<void>;
|
|
36
|
+
$removeConfigurationOption(target: ConfigurationTarget, key: string, overrides: IConfigurationOverrides): Promise<void>;
|
|
37
37
|
}
|
|
38
38
|
export interface ClientThreadConfigurationPolicyShape {
|
|
39
|
-
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any,
|
|
40
|
-
$removeConfigurationOption(target: ConfigurationTarget, key: string,
|
|
39
|
+
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any, roverrides: IConfigurationOverrides): Promise<void>;
|
|
40
|
+
$removeConfigurationOption(target: ConfigurationTarget, key: string, overrides: IConfigurationOverrides): Promise<void>;
|
|
41
41
|
}
|
|
42
42
|
export interface WebExtHostConfigurationShape {
|
|
43
43
|
$initializeConfiguration(data: IConfigurationInitData): void;
|
|
44
|
-
$acceptConfigurationChanged(data: IConfigurationInitData,
|
|
44
|
+
$acceptConfigurationChanged(data: IConfigurationInitData, change: IConfigurationChange): void;
|
|
45
45
|
}
|
|
46
46
|
export interface WebExtHostConfigurationRoleShape {
|
|
47
47
|
$initializeConfiguration(data: IConfigurationInitData): void;
|
|
48
|
-
$acceptConfigurationChanged(data: IConfigurationInitData,
|
|
48
|
+
$acceptConfigurationChanged(data: IConfigurationInitData, change: IConfigurationChange): void;
|
|
49
49
|
}
|
|
50
50
|
export interface WebExtHostConfigurationPolicyShape {
|
|
51
51
|
$initializeConfiguration(data: IConfigurationInitData): void;
|
|
52
|
-
$acceptConfigurationChanged(data: IConfigurationInitData,
|
|
52
|
+
$acceptConfigurationChanged(data: IConfigurationInitData, change: IConfigurationChange): void;
|
|
53
53
|
}
|
|
54
54
|
export interface WebExtHostOrganizationShape {
|
|
55
55
|
$acceptOrganizationData(organization: IOrganizationData): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.protocol.js","sourceRoot":"","sources":["../../src/protocol/client.protocol.ts"],"names":[],"mappings":";;;AAMA,yDAAyK;
|
|
1
|
+
{"version":3,"file":"client.protocol.js","sourceRoot":"","sources":["../../src/protocol/client.protocol.ts"],"names":[],"mappings":";;;AAMA,yDAAyK;AAmI5J,QAAA,aAAa,GAAG;IACzB,4BAA4B,EAAE,IAAA,mDAAY,EAAoC,8BAA8B,CAAC;CAChH,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { IRPCProtocol, ProxyIdentifier } from './proxy-identifier';
|
|
3
|
-
import { IOrganizationData,
|
|
3
|
+
import { IOrganizationData, IConfigurationInitData, IDocumentsShape } from './common.protocol';
|
|
4
4
|
import { CdmLogger } from '@cdm-logger/core';
|
|
5
5
|
import { IDisposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle';
|
|
6
6
|
import { ExtensionIdentifier, ICommandHandlerDescription, IExtensionDescription } from '@workbench-stack/core';
|
|
7
|
-
import { ConfigurationTarget } from '@adminide-stack/core';
|
|
7
|
+
import { ConfigurationTarget, IConfigurationOverrides, IConfigurationChange } from '@adminide-stack/core';
|
|
8
8
|
import { UriComponents } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
|
9
9
|
import { CancellationToken } from '@vscode-alt/monaco-editor/esm/vs/base/common/cancellation';
|
|
10
10
|
import Severity from '@vscode-alt/monaco-editor/esm/vs/base/common/severity';
|
|
@@ -23,7 +23,7 @@ export interface ExtHostCommandsShape {
|
|
|
23
23
|
}
|
|
24
24
|
export interface ExtHostConfigurationShape {
|
|
25
25
|
$initializeConfiguration(data: IConfigurationInitData): void;
|
|
26
|
-
$acceptConfigurationChanged(data: IConfigurationInitData,
|
|
26
|
+
$acceptConfigurationChanged(data: IConfigurationInitData, change: IConfigurationChange): void;
|
|
27
27
|
}
|
|
28
28
|
export interface ExtHostOrganizationShape {
|
|
29
29
|
$acceptOrganizationData(organization: IOrganizationData): void;
|
|
@@ -51,8 +51,8 @@ export interface MainThreadCommandsShape extends IDisposable {
|
|
|
51
51
|
$getCommands(): Promise<string[]>;
|
|
52
52
|
}
|
|
53
53
|
export interface MainThreadConfigurationShape extends IDisposable {
|
|
54
|
-
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any,
|
|
55
|
-
$removeConfigurationOption(target: ConfigurationTarget, key: string,
|
|
54
|
+
$updateConfigurationOption(target: ConfigurationTarget, key: string, value: any, overrides: IConfigurationOverrides | undefined): Promise<void>;
|
|
55
|
+
$removeConfigurationOption(target: ConfigurationTarget, key: string, overrides: IConfigurationOverrides | undefined): Promise<void>;
|
|
56
56
|
}
|
|
57
57
|
export interface MainThreadUrlsShape extends IDisposable {
|
|
58
58
|
$registerUriHandler(handle: number, extensionId: ExtensionIdentifier): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminide-stack/extension-api",
|
|
3
|
-
"version": "3.1.2-alpha.
|
|
3
|
+
"version": "3.1.2-alpha.94",
|
|
4
4
|
"description": "Workbench core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@adminide-stack/core": "3.1.2-alpha.
|
|
38
|
+
"@adminide-stack/core": "3.1.2-alpha.94",
|
|
39
39
|
"abort-controller": "^2.0.0",
|
|
40
40
|
"abortable-rx": "^1.0.9",
|
|
41
41
|
"cdeops": "3.1.2-alpha.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"typescript": {
|
|
57
57
|
"definition": "lib/index.d.ts"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1a776133d0e9864c5c374b593d6ab4b8ad3a845f"
|
|
60
60
|
}
|