mirror of https://github.com/Lissy93/dashy.git
🗃️ Adds pages to schema
This commit is contained in:
parent
a9496391cd
commit
a7a7032b1d
|
@ -5,6 +5,29 @@
|
|||
],
|
||||
"additionalProperties": false,
|
||||
"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": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in New Issue