diff options
Diffstat (limited to 'docs/next/api')
| -rw-r--r-- | docs/next/api/herdr-api.schema.json | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index d146e11b..a9712784 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -3052,6 +3052,16 @@ "default": false, "type": "boolean" }, + "height": { + "anyOf": [ + { + "$ref": "#/schemas/request/$defs/PopupSize" + }, + { + "type": "null" + } + ] + }, "placement": { "anyOf": [ { @@ -3071,6 +3081,16 @@ "null" ] }, + "width": { + "anyOf": [ + { + "$ref": "#/schemas/request/$defs/PopupSize" + }, + { + "type": "null" + } + ] + }, "workspace_id": { "type": [ "string", @@ -3087,6 +3107,7 @@ "PluginPanePlacement": { "enum": [ "overlay", + "popup", "split", "tab", "zoomed" @@ -3175,6 +3196,21 @@ ], "type": "object" }, + "PopupSize": { + "oneOf": [ + { + "description": "Outer popup size in terminal cells, including the border.", + "maximum": 65535, + "minimum": 0, + "type": "integer" + }, + { + "description": "Outer popup size as a percentage of the terminal area, for example 80%.", + "pattern": "^(100|[1-9][0-9]?)%$", + "type": "string" + } + ] + }, "ReadFormat": { "enum": [ "text", @@ -5030,6 +5066,22 @@ { "properties": { "method": { + "const": "popup.close", + "type": "string" + }, + "params": { + "$ref": "#/schemas/request/$defs/EmptyParams" + } + }, + "required": [ + "method", + "params" + ], + "type": "object" + }, + { + "properties": { + "method": { "const": "events.subscribe", "type": "string" }, @@ -7756,6 +7808,16 @@ "null" ] }, + "height": { + "anyOf": [ + { + "$ref": "#/schemas/success_response/$defs/PopupSize" + }, + { + "type": "null" + } + ] + }, "id": { "type": "string" }, @@ -7774,6 +7836,16 @@ }, "title": { "type": "string" + }, + "width": { + "anyOf": [ + { + "$ref": "#/schemas/success_response/$defs/PopupSize" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -7805,6 +7877,7 @@ "PluginPanePlacement": { "enum": [ "overlay", + "popup", "split", "tab", "zoomed" @@ -7879,6 +7952,21 @@ ], "type": "string" }, + "PopupSize": { + "oneOf": [ + { + "description": "Outer popup size in terminal cells, including the border.", + "maximum": 65535, + "minimum": 0, + "type": "integer" + }, + { + "description": "Outer popup size as a percentage of the terminal area, for example 80%.", + "pattern": "^(100|[1-9][0-9]?)%$", + "type": "string" + } + ] + }, "ReadFormat": { "enum": [ "text", |
