Themes(sauna): refactor 'sauna_at_leisure' to contain all sauna relevant questions and 'layers/sauna.json' to contain only related questions; include 'sauna_at_leisure' in 'hotels' and 'beauty shops'; add beauty shop types

This commit is contained in:
Pieter Vander Vennet 2025-07-03 17:32:22 +02:00
parent ccbbba5628
commit c701247066
8 changed files with 452 additions and 174 deletions

View file

@ -1072,7 +1072,7 @@ class DeriveSource extends DesugaringStep<LayerConfigJson> {
return json
}
json.source = { osmTags }
json.source = { osmTags: {and: [osmTags]} }
return json
}
}

View file

@ -71,7 +71,7 @@ export default class LayerConfig extends WithContextLoader {
* If this layer is based on another layer, this might be indicated here
* @private
*/
private readonly _basedOn: string | undefined
public readonly _basedOn: string | undefined
constructor(
json: LayerConfigJson,