mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
Merge pull request #27 from AutoMaker-Org/copilot/sub-pr-26
Fix TypeScript build errors in SpecRegenerationAPI interface
This commit is contained in:
@@ -147,10 +147,15 @@ export interface SpecRegenerationAPI {
|
||||
projectPath: string,
|
||||
projectDefinition: string
|
||||
) => Promise<{ success: boolean; error?: string }>;
|
||||
generateFeatures: (projectPath: string) => Promise<{
|
||||
success: boolean;
|
||||
error?: string;
|
||||
}>;
|
||||
stop: () => Promise<{ success: boolean; error?: string }>;
|
||||
status: () => Promise<{
|
||||
success: boolean;
|
||||
isRunning?: boolean;
|
||||
currentPhase?: string;
|
||||
error?: string;
|
||||
}>;
|
||||
onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void;
|
||||
|
||||
Reference in New Issue
Block a user