vscode-kubernetes-tools-api
Advanced tools
Comparing version 0.0.1 to 0.0.2
import { Extension, API, ComponentKey, Version } from '.'; | ||
import { ClusterProviderV1 } from './clusterprovider/v1'; | ||
import { KubectlV1 } from './kubectl/v1'; | ||
import { CommandTargetsV1 } from './command-targets/v1'; | ||
import { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
export declare class ExtensionHelper implements Extension { | ||
@@ -15,5 +15,5 @@ private readonly apiBroker; | ||
}>; | ||
readonly commandTargets: Readonly<{ | ||
v1: Promise<API<CommandTargetsV1>>; | ||
readonly clusterExplorer: Readonly<{ | ||
v1: Promise<API<ClusterExplorerV1>>; | ||
}>; | ||
} |
@@ -41,4 +41,4 @@ "use strict"; | ||
}); | ||
this.commandTargets = readonlify({ | ||
v1: this.get("commandtargets", "v1"), | ||
this.clusterExplorer = readonlify({ | ||
v1: this.get("clusterexplorer", "v1"), | ||
}); | ||
@@ -45,0 +45,0 @@ } |
@@ -5,4 +5,4 @@ import { ClusterProviderAPI } from './clusterprovider/versions'; | ||
import { KubectlV1 } from './kubectl/v1'; | ||
import { CommandTargetsAPI } from './command-targets/versions'; | ||
import { CommandTargetsV1 } from './command-targets/v1'; | ||
import { ClusterExplorerAPI } from './cluster-explorer/versions'; | ||
import { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
export { ClusterProviderAPI } from './clusterprovider/versions'; | ||
@@ -12,4 +12,4 @@ export { ClusterProviderV1 } from './clusterprovider/v1'; | ||
export { KubectlV1 } from './kubectl/v1'; | ||
export { CommandTargetsAPI } from './command-targets/versions'; | ||
export { CommandTargetsV1 } from './command-targets/v1'; | ||
export { ClusterExplorerAPI } from './cluster-explorer/versions'; | ||
export { ClusterExplorerV1 } from './cluster-explorer/v1'; | ||
/** | ||
@@ -58,5 +58,5 @@ * Provides convenient access to the Kubernetes extension's API. | ||
/** | ||
* Provides access to the Kubernetes extension's Cluster Provider API. | ||
* Provides access to the Kubernetes extension's Cluster Explorer API. | ||
*/ | ||
readonly commandTargets: CommandTargetsAPI; | ||
readonly clusterExplorer: ClusterExplorerAPI; | ||
} | ||
@@ -123,3 +123,3 @@ /** | ||
*/ | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends CommandTargetsV1 ? "commandtargets" : "invalid_api_interface"; | ||
export declare type ComponentKey<T> = T extends ClusterProviderV1 ? "clusterprovider" : T extends KubectlV1 ? "kubectl" : T extends ClusterExplorerV1 ? "clusterexplorer" : "invalid_api_interface"; | ||
/** | ||
@@ -129,2 +129,2 @@ * A TypeScript type associating Kubernetes extension API version IDs with | ||
*/ | ||
export declare type Version<T> = T extends ClusterProviderV1 ? "v1" : T extends KubectlV1 ? "v1" : T extends CommandTargetsV1 ? "v1" : "invalid_api_interface"; | ||
export declare type Version<T> = T extends ClusterProviderV1 ? "v1" : T extends KubectlV1 ? "v1" : T extends ClusterExplorerV1 ? "v1" : "invalid_api_interface"; |
{ | ||
"name": "vscode-kubernetes-tools-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Documents and encapsulates the API for the Kubernetes extension for Visual Studio Code", | ||
@@ -5,0 +5,0 @@ "main": "js/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57915
49
1129
1