feat(tui): delete working copies from move dialog (#31017)
This commit is contained in:
@@ -818,9 +818,9 @@ export class ProjectCopy extends HeyApiClient {
|
||||
public remove<ThrowOnError extends boolean = false>(
|
||||
parameters: {
|
||||
projectID: string
|
||||
query_directory?: string
|
||||
workspace?: string
|
||||
body_directory?: string
|
||||
directory?: string
|
||||
force?: boolean
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
) {
|
||||
@@ -830,17 +830,9 @@ export class ProjectCopy extends HeyApiClient {
|
||||
{
|
||||
args: [
|
||||
{ in: "path", key: "projectID" },
|
||||
{
|
||||
in: "query",
|
||||
key: "query_directory",
|
||||
map: "directory",
|
||||
},
|
||||
{ in: "query", key: "workspace" },
|
||||
{
|
||||
in: "body",
|
||||
key: "body_directory",
|
||||
map: "directory",
|
||||
},
|
||||
{ in: "body", key: "directory" },
|
||||
{ in: "body", key: "force" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -2484,6 +2484,7 @@ export type ProjectCopyError = {
|
||||
name: "ProjectCopyError"
|
||||
data: {
|
||||
message: string
|
||||
forceRequired?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6971,12 +6972,12 @@ export type ProjectDirectoriesResponse = ProjectDirectoriesResponses[keyof Proje
|
||||
export type ExperimentalProjectCopyRemoveData = {
|
||||
body?: {
|
||||
directory: string
|
||||
force: boolean
|
||||
}
|
||||
path: {
|
||||
projectID: string
|
||||
}
|
||||
query?: {
|
||||
directory?: string
|
||||
workspace?: string
|
||||
}
|
||||
url: "/experimental/project/{projectID}/copy"
|
||||
|
||||
Reference in New Issue
Block a user