From 987b12d1e0e2ea520cb90dab16442f8b1620aa49 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 23 Apr 2021 11:28:49 -0400 Subject: [PATCH] revert PascalCase Signed-off-by: Sebastian Malton --- src/common/catalog-entities/kubernetes-cluster.ts | 2 +- src/common/catalog-entities/web-link.ts | 2 +- src/common/catalog/catalog-category-registry.ts | 2 +- src/common/catalog/catalog-entity.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 {