Making changes backwards compatible by keeping the ClusterDetails object as an accepted type.

Signed-off-by: Nicolas Arnold <nic@roadie.io>
This commit is contained in:
Nicolas Arnold
2021-07-20 14:20:06 +01:00
parent 65a4d89831
commit 7e84b1bd9f
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -123,7 +123,8 @@ export interface ObjectFetchParams {
clusterDetails:
| AWSClusterDetails
| GKEClusterDetails
| ServiceAccountClusterDetails;
| ServiceAccountClusterDetails
| ClusterDetails;
// (undocumented)
customResources: CustomResource[];
// (undocumented)
@@ -30,7 +30,8 @@ export interface ObjectFetchParams {
clusterDetails:
| AWSClusterDetails
| GKEClusterDetails
| ServiceAccountClusterDetails;
| ServiceAccountClusterDetails
| ClusterDetails;
objectTypesToFetch: Set<KubernetesObjectTypes>;
labelSelector: string;
customResources: CustomResource[];