chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-07-10 18:26:31 +02:00
parent a190597905
commit 087e639020
382 changed files with 29496 additions and 2675 deletions

View file

@ -427,7 +427,7 @@ export class AddEditingElements extends DesugaringStep<LayerConfigJson> {
})
}
const spacerIndex = json.tagRenderings.findIndex(item => item?.["id"] === "spacer")
const spacerIndex = json.tagRenderings.findIndex((item) => item?.["id"] === "spacer")
if (spacerIndex >= 0) {
json.tagRenderings.splice(spacerIndex, 1)
}
@ -1087,13 +1087,12 @@ class DeriveSource extends DesugaringStep<LayerConfigJson> {
return json
}
json.source = { osmTags: {and: [osmTags]} }
json.source = { osmTags: { and: [osmTags] } }
return json
}
}
export class OrderLayer extends DesugaringStep<LayerConfigJson>{
export class OrderLayer extends DesugaringStep<LayerConfigJson> {
private static readonly layerAttributesOrder: ReadonlyArray<string> = Utils.Dedup(
(<ConfigMeta[]>layerconfig).filter((c) => c.path.length === 1).map((c) => c.path[0])
)