aboutsummaryrefslogtreecommitdiff
path: root/docs/next/api/herdr-api.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/next/api/herdr-api.schema.json')
-rw-r--r--docs/next/api/herdr-api.schema.json114
1 files changed, 114 insertions, 0 deletions
diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json
index dc6dce83..59a0c6a3 100644
--- a/docs/next/api/herdr-api.schema.json
+++ b/docs/next/api/herdr-api.schema.json
@@ -206,6 +206,38 @@
},
{
"properties": {
+ "before_workspace_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "workspace_reordered",
+ "type": "string"
+ },
+ "workspace_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "workspaces": {
+ "items": {
+ "$ref": "#/schemas/event/$defs/WorkspaceInfo"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "workspace_ids",
+ "workspaces"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
"type": {
"const": "workspace_focused",
"type": "string"
@@ -702,6 +734,7 @@
"workspace_closed",
"workspace_renamed",
"workspace_moved",
+ "workspace_reordered",
"workspace_focused",
"worktree_created",
"worktree_opened",
@@ -3665,6 +3698,18 @@
{
"properties": {
"type": {
+ "const": "workspace.reordered",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
"const": "workspace.closed",
"type": "string"
}
@@ -4081,6 +4126,26 @@
},
"type": "object"
},
+ "WorkspaceMoveBlockParams": {
+ "properties": {
+ "before_workspace_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "workspace_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "workspace_ids"
+ ],
+ "type": "object"
+ },
"WorkspaceMoveParams": {
"properties": {
"insert_index": {
@@ -4575,6 +4640,22 @@
{
"properties": {
"method": {
+ "const": "workspace.move_block",
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/schemas/request/$defs/WorkspaceMoveBlockParams"
+ }
+ },
+ "required": [
+ "method",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "method": {
"const": "workspace.report_metadata",
"type": "string"
},
@@ -6337,6 +6418,38 @@
},
{
"properties": {
+ "before_workspace_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "workspace_reordered",
+ "type": "string"
+ },
+ "workspace_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "workspaces": {
+ "items": {
+ "$ref": "#/schemas/success_response/$defs/WorkspaceInfo"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "workspace_ids",
+ "workspaces"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
"type": {
"const": "workspace_focused",
"type": "string"
@@ -6848,6 +6961,7 @@
"workspace_closed",
"workspace_renamed",
"workspace_moved",
+ "workspace_reordered",
"workspace_focused",
"worktree_created",
"worktree_opened",