allow reuse of filters, update to artwork theme

This commit is contained in:
Pieter Vander Vennet 2022-09-14 16:29:41 +02:00
parent a1a12e6f38
commit 585dbb4587
8 changed files with 221 additions and 119 deletions

View file

@ -316,9 +316,10 @@ export interface LayerConfigJson {
)[]
/**
* All the extra questions for filtering
* All the extra questions for filtering.
* If a string is given, mapComplete will search in 'filters.json' for the appropriate filter
*/
filter?: FilterConfigJson[] | { sameAs: string }
filter?: (FilterConfigJson | string)[] | { sameAs: string }
/**
* This block defines under what circumstances the delete dialog is shown for objects of this layer.