feat: 项目创建接收后台执行 ID
This commit is contained in:
1 parent
6b3cb8c78b
commit
5502823524
1 file changed
+1
-1
@@ -8,7 +8,7 @@ export const projectsApi = {
|
||||
detail: (id: string, signal?: AbortSignal) =>
|
||||
request<ProjectDetail>(`/projects/${encodeURIComponent(id)}`, { signal }),
|
||||
create: (input: CreateProjectInput) =>
|
||||
request<{ projectId: string; status: string }>('/projects', { method: 'POST', body: input }),
|
||||
request<{ projectId: string; status: string; executionId: string }>('/projects', { method: 'POST', body: input }),
|
||||
update: (id: string, input: UpdateProjectInput) =>
|
||||
request<Project>(`/projects/${encodeURIComponent(id)}`, { method: 'PUT', body: input }),
|
||||
deleteReadiness: (id: string, signal?: AbortSignal) =>
|
||||
|
||||
Reference in new issue
Block a user