feature(themeconfig): Make filters reusable from builtin layers

This commit is contained in:
Pieter Vander Vennet 2023-03-09 14:45:36 +01:00
parent bdcf8a2601
commit eb6093dd9f
3 changed files with 34 additions and 20 deletions

View file

@ -317,7 +317,7 @@ export interface LayerConfigJson {
/**
* All the extra questions for filtering.
* If a string is given, mapComplete will search in 'filters.json' for the appropriate filter
* If a string is given, mapComplete will search in 'filters.json' for the appropriate filter or will try to parse it as `layername.filterid` and us that one
*/
filter?: (FilterConfigJson | string)[] | { sameAs: string }