diff --git a/src/features/projects/api.ts b/src/features/projects/api.ts index 417d75f..d84d1c4 100644 --- a/src/features/projects/api.ts +++ b/src/features/projects/api.ts @@ -1,5 +1,6 @@ import { request, optionalResource } from '../../lib/http' import type { Checkpoint } from '../workflows/types' +import type { WorkflowExecutionStart } from '../workflows/execution.types' import type { CreateProjectInput, DramaState, Project, ProjectDetail, UpdateProjectInput } from './types' /** 项目与 Create Drama API;路径严格对应后端 dev。 */ @@ -25,5 +26,5 @@ export const projectsApi = { checkpoints: (id: string, signal?: AbortSignal) => request(`/projects/${encodeURIComponent(id)}/checkpoints`, { signal }), resume: (id: string, action: 'resume-generation' | 'resume-rewrite') => - request(`/projects/${encodeURIComponent(id)}/${action}`, { method: 'POST', timeoutMs: 0 }) + request(`/projects/${encodeURIComponent(id)}/${action}`, { method: 'POST' }) }