mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 16:43:13 +01:00
🗃️ Adds pages to schema
This commit is contained in:
parent
a9496391cd
commit
a7a7032b1d
1 changed files with 23 additions and 0 deletions
|
|
@ -5,6 +5,29 @@
|
||||||
],
|
],
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"pages": {
|
||||||
|
"title": "Page List",
|
||||||
|
"type": "array",
|
||||||
|
"description": "List of additional config files to load as extra pages",
|
||||||
|
"items": {
|
||||||
|
"title": "Pages",
|
||||||
|
"type": "object",
|
||||||
|
"required": ["name", "path"],
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"title": "Name",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Unique page identifier"
|
||||||
|
},
|
||||||
|
"path": {
|
||||||
|
"title": "Path",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The file name, or path. If in public directory, use just `file-name.yml`"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"pageInfo": {
|
"pageInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue