mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +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,
|
projectPath: string,
|
||||||
projectDefinition: string
|
projectDefinition: string
|
||||||
) => Promise<{ success: boolean; error?: string }>;
|
) => Promise<{ success: boolean; error?: string }>;
|
||||||
|
generateFeatures: (projectPath: string) => Promise<{
|
||||||
|
success: boolean;
|
||||||
|
error?: string;
|
||||||
|
}>;
|
||||||
stop: () => Promise<{ success: boolean; error?: string }>;
|
stop: () => Promise<{ success: boolean; error?: string }>;
|
||||||
status: () => Promise<{
|
status: () => Promise<{
|
||||||
success: boolean;
|
success: boolean;
|
||||||
isRunning?: boolean;
|
isRunning?: boolean;
|
||||||
|
currentPhase?: string;
|
||||||
error?: string;
|
error?: string;
|
||||||
}>;
|
}>;
|
||||||
onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void;
|
onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user