@openkaiden/api 0.3.0 → 0.3.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.
- package/package.json +1 -1
- package/src/extension-api.d.ts +15 -0
package/package.json
CHANGED
package/src/extension-api.d.ts
CHANGED
|
@@ -787,6 +787,16 @@ declare module '@openkaiden/api' {
|
|
|
787
787
|
create(params: { [key: string]: any }, logger?: Logger, token?: CancellationToken): Promise<void>;
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
+
export interface SemanticRouterCreateParams {
|
|
791
|
+
name: string;
|
|
792
|
+
config: string;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export interface SemanticRouterFactory extends ProviderConnectionFactory {
|
|
796
|
+
readonly type: string;
|
|
797
|
+
create(params: SemanticRouterCreateParams, logger?: Logger, token?: CancellationToken): Promise<void>;
|
|
798
|
+
}
|
|
799
|
+
|
|
790
800
|
// create a kubernetes provider
|
|
791
801
|
export interface KubernetesProviderConnectionFactory extends ProviderConnectionFactory {
|
|
792
802
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -999,6 +1009,11 @@ declare module '@openkaiden/api' {
|
|
|
999
1009
|
connectionAuditor?: Auditor,
|
|
1000
1010
|
): Disposable;
|
|
1001
1011
|
|
|
1012
|
+
setSemanticRouterConnectionFactory(
|
|
1013
|
+
semanticRouterConnectionFactory: SemanticRouterFactory,
|
|
1014
|
+
connectionAuditor?: Auditor,
|
|
1015
|
+
): Disposable;
|
|
1016
|
+
|
|
1002
1017
|
registerContainerProviderConnection(connection: ContainerProviderConnection): Disposable;
|
|
1003
1018
|
registerKubernetesProviderConnection(connection: KubernetesProviderConnection): Disposable;
|
|
1004
1019
|
registerVmProviderConnection(connection: VmProviderConnection): Disposable;
|