|
@@ -1409,6 +1409,20 @@ export type ToolList = Array<ToolListItem>
|
|
|
|
|
|
|
|
export type ToolIds = Array<string>
|
|
export type ToolIds = Array<string>
|
|
|
|
|
|
|
|
|
|
+export type WorktreeError = {
|
|
|
|
|
+ name:
|
|
|
|
|
+ | "WorktreeNotGitError"
|
|
|
|
|
+ | "WorktreeNameGenerationFailedError"
|
|
|
|
|
+ | "WorktreeCreateFailedError"
|
|
|
|
|
+ | "WorktreeStartCommandFailedError"
|
|
|
|
|
+ | "WorktreeRemoveFailedError"
|
|
|
|
|
+ | "WorktreeResetFailedError"
|
|
|
|
|
+ | "WorktreeListFailedError"
|
|
|
|
|
+ data: {
|
|
|
|
|
+ message: string
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export type WorktreeCreateInput = {
|
|
export type WorktreeCreateInput = {
|
|
|
name?: string
|
|
name?: string
|
|
|
/**
|
|
/**
|
|
@@ -3843,9 +3857,9 @@ export type WorktreeRemoveData = {
|
|
|
|
|
|
|
|
export type WorktreeRemoveErrors = {
|
|
export type WorktreeRemoveErrors = {
|
|
|
/**
|
|
/**
|
|
|
- * Bad request
|
|
|
|
|
|
|
+ * WorktreeError
|
|
|
*/
|
|
*/
|
|
|
- 400: BadRequestError
|
|
|
|
|
|
|
+ 400: WorktreeError
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export type WorktreeRemoveError = WorktreeRemoveErrors[keyof WorktreeRemoveErrors]
|
|
export type WorktreeRemoveError = WorktreeRemoveErrors[keyof WorktreeRemoveErrors]
|
|
@@ -3869,6 +3883,15 @@ export type WorktreeListData = {
|
|
|
url: "/experimental/worktree"
|
|
url: "/experimental/worktree"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export type WorktreeListErrors = {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * WorktreeError
|
|
|
|
|
+ */
|
|
|
|
|
+ 400: WorktreeError
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export type WorktreeListError = WorktreeListErrors[keyof WorktreeListErrors]
|
|
|
|
|
+
|
|
|
export type WorktreeListResponses = {
|
|
export type WorktreeListResponses = {
|
|
|
/**
|
|
/**
|
|
|
* List of worktree directories
|
|
* List of worktree directories
|
|
@@ -3890,9 +3913,9 @@ export type WorktreeCreateData = {
|
|
|
|
|
|
|
|
export type WorktreeCreateErrors = {
|
|
export type WorktreeCreateErrors = {
|
|
|
/**
|
|
/**
|
|
|
- * Bad request
|
|
|
|
|
|
|
+ * WorktreeError
|
|
|
*/
|
|
*/
|
|
|
- 400: BadRequestError
|
|
|
|
|
|
|
+ 400: WorktreeError
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export type WorktreeCreateError = WorktreeCreateErrors[keyof WorktreeCreateErrors]
|
|
export type WorktreeCreateError = WorktreeCreateErrors[keyof WorktreeCreateErrors]
|
|
@@ -3918,9 +3941,9 @@ export type WorktreeResetData = {
|
|
|
|
|
|
|
|
export type WorktreeResetErrors = {
|
|
export type WorktreeResetErrors = {
|
|
|
/**
|
|
/**
|
|
|
- * Bad request
|
|
|
|
|
|
|
+ * WorktreeError
|
|
|
*/
|
|
*/
|
|
|
- 400: BadRequestError
|
|
|
|
|
|
|
+ 400: WorktreeError
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export type WorktreeResetError = WorktreeResetErrors[keyof WorktreeResetErrors]
|
|
export type WorktreeResetError = WorktreeResetErrors[keyof WorktreeResetErrors]
|