feat: 项目创建接收后台执行 ID

This commit is contained in:
GouJ committed 2026-09-26 20:10:40 +08:00
1 parent 6b3cb8c78b
commit 5502823524
1 file changed
+1 -1
+1 -1
View File
@@ -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) =>