feat: Update version to 3.0.1 and enhance portal settings configuration

This commit is contained in:
Torsten Brendgen
2026-08-18 15:09:56 +02:00
parent 490e9adbd8
commit 6f548362e2
11 changed files with 58 additions and 13 deletions
+2
View File
@@ -18,6 +18,8 @@ function element(raw) {
var empty = normalize({}, siteUrl);
assert(empty.config.schemaVersion === 2, 'Das aktuelle Schema muss Version 2 verwenden.');
assert(empty.config.portalSettings.providerKey === 'custombranding', 'PortalSettings Provider-Key fehlt.');
assert(empty.config.portalSettings.contractVersion === 1, 'PortalSettings Contract-Version fehlt.');
assert(empty.config.enabled === true, 'Branding muss standardmaessig aktiviert sein.');
var legacy = normalize({ elements: [{ type: 'span', content: 'Alt' }] }, siteUrl);