Themes: automatically derive source from presets if no source is given

This commit is contained in:
Pieter Vander Vennet 2024-08-16 02:09:54 +02:00
parent 662b5d0735
commit 06897588be
6 changed files with 243 additions and 184 deletions

View file

@ -63,9 +63,11 @@ export interface LayerConfigJson {
*
* types: Load data with specific tags from OpenStreetMap ; Load data from an external geojson source ;
* typesdefault: 0
* ifunset: Determine the tags automatically based on the presets
* group: Basic
*/
source:
| undefined
| "special"
| "special:library"
| {