Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:card_file_box: Adds pages to schema

Alicia Sykesa7a7032b1d83
diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json
index 1d9bd140..8f24c989 100644
--- a/src/utils/ConfigSchema.json
+++ b/src/utils/ConfigSchema.json
@@ -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": {