Themes: allow to easily import tagrenderings and add a prefix key to all tags

This commit is contained in:
Pieter Vander Vennet 2025-04-21 02:51:41 +02:00
parent 4d9bdaf877
commit 01680f236c
9 changed files with 201 additions and 31 deletions

View file

@ -422,8 +422,15 @@ export interface LayerConfigJson {
| string
| {
id?: string
/**
* Special value: "<layerid>.title" will return the layer's title for an element
*/
builtin: string | string[]
override: Partial<QuestionableTagRenderingConfigJson>
override: Partial<QuestionableTagRenderingConfigJson>,
/**
* Add this prefix to all keys. This is applied _before_ the override, thus keys added in 'override' will not be prefixed
*/
prefix?: string
}
| QuestionableTagRenderingConfigJson
| (RewritableConfigJson<