FEATURE: Allow theme settings to request refresh (#15037)

Similar to site settings, adds support for `refresh` option to theme settings.

```yaml
super_feature_enabled:
  type: bool
  default: false
  refresh: true
```
This commit is contained in:
Jarek Radosz
2021-11-22 13:16:56 +01:00
committed by GitHub
parent f43c433d50
commit d91d67a442
5 changed files with 63 additions and 0 deletions

View File

@@ -80,3 +80,7 @@ invalid_json_schema_setting:
valid_json_schema_setting:
default: ""
json_schema: '{ "type": "array", "uniqueItems": true, "items": { "type": "object", "properties": { "color": { "type": "string" }, "icon": { "type": "string" } }, "additionalProperties": false } }'
causes_refresh:
default: ""
refresh: true