diff --git a/packages/types/custom/CHANGELOG.md b/packages/types/custom/CHANGELOG.md index 15d75c571..bf2ba3460 100644 --- a/packages/types/custom/CHANGELOG.md +++ b/packages/types/custom/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## unpublished + +- Fix: Add `string` as option for `SearchType` since arbitrary strings can be registered. + ## 1.4.1 - Fix: Increase type precision of EPSG codes from `string` to `EPSG:${string}`. diff --git a/packages/types/custom/core.ts b/packages/types/custom/core.ts index edd59cb1a..dc8cdaa25 100644 --- a/packages/types/custom/core.ts +++ b/packages/types/custom/core.ts @@ -35,7 +35,7 @@ export interface PluginOptions { export type RenderType = 'iconMenu' | 'independent' /** Possible search methods by type */ -export type SearchType = 'bkg' | 'gazetteer' | 'wfs' | 'mpapi' +export type SearchType = 'bkg' | 'gazetteer' | 'wfs' | 'mpapi' | string /** * Additional queryParameters for the GET-Request;