Updated
This commit is contained in:
@@ -4,13 +4,23 @@
|
|||||||
"title": "Events",
|
"title": "Events",
|
||||||
"description": "Events for entities",
|
"description": "Events for entities",
|
||||||
"additionalProperties": { "$ref": "#/definitions/event_base" },
|
"additionalProperties": { "$ref": "#/definitions/event_base" },
|
||||||
|
"defaultSnippets": [
|
||||||
|
{
|
||||||
|
"label": "New Add Event",
|
||||||
|
"body": { "$1": { "add": { "component_groups": ["$2"] } } }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "New Remove Event",
|
||||||
|
"body": { "$1": { "remove": { "component_groups": ["$2"] } } }
|
||||||
|
}
|
||||||
|
],
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"addremove": {
|
"addremove": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"title": "Add Or Remove",
|
"title": "Add Or Remove",
|
||||||
"description": "The components groups to add or remove",
|
"description": "The components groups to add or remove",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"examples": [{ "component_groups": [] }],
|
"examples": [{ "component_groups": ["self:variant1"] }],
|
||||||
"properties": {
|
"properties": {
|
||||||
"component_groups": {
|
"component_groups": {
|
||||||
"title": "Component Groups",
|
"title": "Component Groups",
|
||||||
|
|||||||
Reference in New Issue
Block a user