import { ResourceWithMetadata } from '@kui-shell/core' ; import { KubeResourceWithSummary } from '@kui-shell/plugin-kubectl' ; import apiVersion from '../controller/helm/apiVersion' ; const kind = 'HelmRelease' ; export interface HelmRelease extends KubeResourceWithSummary { apiVersion ; kind ; isSimulacrum : true ; } export function isHelmRelease ( resource ) { return resource . apiVersion === apiVersion && resource . kind === kind ; }