diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-07-26 02:45:44 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-26 02:45:44 +0300 |
| commit | 8843bbb0c4dc4e6b52ca5d0a6592ce80be56a19c (patch) | |
| tree | 9387a75a8ae34fd864de83355412331c4f22a2b9 /docs/next/api/herdr-api.schema.json | |
| parent | 547aba8e0ab310623f1986d3026658f708d432bd (diff) | |
fix: improve sidebar worktree hierarchy and reordering (#1873)
* fix: clarify sidebar worktree hierarchy
refs #1694
* feat: reorder worktree groups as a unit
refs #1694
Diffstat (limited to 'docs/next/api/herdr-api.schema.json')
| -rw-r--r-- | docs/next/api/herdr-api.schema.json | 114 |
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", |
