Updated components

This commit is contained in:
DaanV2
2022-04-20 12:11:16 +02:00
parent 36866067ca
commit a54f6b3fb7
2 changed files with 13 additions and 14 deletions

View File

@@ -26,23 +26,13 @@
"on_home": { "on_home": {
"description": "Event to run when this mob gets home.", "description": "Event to run when this mob gets home.",
"title": "On Home", "title": "On Home",
"oneOf": [ "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
{
"$ref": "../types/trigger.json"
},
{
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
}
]
}, },
"on_failed": { "on_failed": {
"$ref": "../types/event.json",
"title": "On Failed", "title": "On Failed",
"description": "UNDOCUMENTED", "description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED" "$comment": "UNDOCUMENTED",
"oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }]
} }
}, },
"examples": [ "examples": [
@@ -51,4 +41,4 @@
"interval": 120 "interval": 120
} }
] ]
} }

View File

@@ -38,6 +38,15 @@
} }
} }
} }
},
"sources": {
"title": "Sources",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"$ref": "../../filters/filters.json"
}
} }
}, },
"examples": [ "examples": [