From f9ad79cedc2a395ded5fd7b5b259a12f45a4bfc5 Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 24 Aug 2022 21:40:09 +0200 Subject: [PATCH] chore: updating the api-report and fix the warning Signed-off-by: blam --- plugins/catalog-backend/api-report.md | 1 + plugins/catalog-backend/src/service/CatalogBuilder.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/catalog-backend/api-report.md b/plugins/catalog-backend/api-report.md index 22a7f8192c..d15c631e0c 100644 --- a/plugins/catalog-backend/api-report.md +++ b/plugins/catalog-backend/api-report.md @@ -150,6 +150,7 @@ export class CatalogBuilder { getDefaultProcessors(): CatalogProcessor[]; replaceEntityPolicies(policies: EntityPolicy[]): CatalogBuilder; replaceProcessors(processors: CatalogProcessor[]): CatalogBuilder; + setAllowedLocationTypes(allowedLocationTypes: string[]): this; setEntityDataParser(parser: CatalogProcessorParser): CatalogBuilder; setFieldFormatValidators(validators: Partial): CatalogBuilder; setLocationAnalyzer(locationAnalyzer: LocationAnalyzer): CatalogBuilder; diff --git a/plugins/catalog-backend/src/service/CatalogBuilder.ts b/plugins/catalog-backend/src/service/CatalogBuilder.ts index 9015bf4297..a8ed0f492a 100644 --- a/plugins/catalog-backend/src/service/CatalogBuilder.ts +++ b/plugins/catalog-backend/src/service/CatalogBuilder.ts @@ -368,7 +368,7 @@ export class CatalogBuilder { /** * Sets up the allowed location types from being registered via the location service. * - * @param allowedLocationTypes + * @param allowedLocationTypes - the allowed location types */ setAllowedLocationTypes(allowedLocationTypes: string[]) { this.allowedLocationType = allowedLocationTypes;