feat(config.json): füge admin-Konfiguration mit Token-Management hinzu
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-04-24 14:48:16 +00:00
parent 303652101b
commit 40446e13bb

View File

@@ -25,7 +25,9 @@
"imageUrl": {
"description": "project's teaser image url shown in admin ui",
"oneOf": [
{ "type": "string" },
{
"type": "string"
},
{
"$ref": "definitions.json#/definitions/evalObject"
}
@@ -124,7 +126,33 @@
"description": "max age in seconds"
}
}
},
"admin": {
"type": "object",
"description": "admin configuration",
"additionalProperties": false,
"properties": {
"tokens": {
"type": "array",
"description": "list of admin tokens",
"items": {
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "admin token"
},
"allowReload": {
"type": "boolean",
"description": "allow reload"
}
}
}
}
}
}
},
"required": ["namespace"]
}
"required": [
"namespace"
]
}