diff --git a/src/common/catalog-entities/kubernetes-cluster.ts b/src/common/catalog-entities/kubernetes-cluster.ts index 6ffda7b393..d4949be70a 100644 --- a/src/common/catalog-entities/kubernetes-cluster.ts +++ b/src/common/catalog-entities/kubernetes-cluster.ts @@ -87,7 +87,7 @@ export class KubernetesClusterCategory extends CatalogCategory { versions: [ { name: "v1alpha1", - EntityClass: KubernetesCluster + entityClass: KubernetesCluster } ], names: { diff --git a/src/common/catalog-entities/web-link.ts b/src/common/catalog-entities/web-link.ts index e1ae005def..b8180010eb 100644 --- a/src/common/catalog-entities/web-link.ts +++ b/src/common/catalog-entities/web-link.ts @@ -50,7 +50,7 @@ export class WebLinkCategory extends CatalogCategory { versions: [ { name: "v1alpha1", - EntityClass: WebLink + entityClass: WebLink } ], names: { diff --git a/src/common/catalog/catalog-category-registry.ts b/src/common/catalog/catalog-category-registry.ts index 404e0b9cf9..13e81aa165 100644 --- a/src/common/catalog/catalog-category-registry.ts +++ b/src/common/catalog/catalog-category-registry.ts @@ -36,7 +36,7 @@ export class CatalogCategoryRegistry { return null; } - return new specVersion.EntityClass(data); + return new specVersion.entityClass(data); } getCategoryForEntity(data: CatalogEntityData & CatalogEntityKindData) { diff --git a/src/common/catalog/catalog-entity.ts b/src/common/catalog/catalog-entity.ts index 38e716fad6..141df3b7b3 100644 --- a/src/common/catalog/catalog-entity.ts +++ b/src/common/catalog/catalog-entity.ts @@ -15,7 +15,7 @@ export type CatalogEntityConstructor = ( export interface CatalogCategoryVersion { name: string; - EntityClass: CatalogEntityConstructor; + entityClass: CatalogEntityConstructor; } export interface CatalogCategorySpec {