Created & applied new event_object type (#109)
Created new event type. some components only allow for an event to be an object, not a string Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
@@ -7,17 +7,17 @@
|
||||
"required": [],
|
||||
"properties": {
|
||||
"on_close": {
|
||||
"$ref": "../types/event.json",
|
||||
"$ref": "../types/event_object.json",
|
||||
"description": "Event to call when the entity is done peeking.",
|
||||
"title": "On Close"
|
||||
},
|
||||
"on_open": {
|
||||
"$ref": "../types/event.json",
|
||||
"$ref": "../types/event_object.json",
|
||||
"description": "Event to call when the entity starts peeking.",
|
||||
"title": "On Open"
|
||||
},
|
||||
"on_target_open": {
|
||||
"$ref": "../types/event.json",
|
||||
"$ref": "../types/event_object.json",
|
||||
"description": "Event to call when the entity's target entity starts peeking.",
|
||||
"title": "On Target Open"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user