Skip to content

Commit e6a6b4c

Browse files
authored
Merge pull request #27 from AutoMaker-Org/copilot/sub-pr-26
Fix TypeScript build errors in SpecRegenerationAPI interface
2 parents f757270 + 1e6412e commit e6a6b4c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/src/lib/electron.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,15 @@ export interface SpecRegenerationAPI {
147147
projectPath: string,
148148
projectDefinition: string
149149
) => Promise<{ success: boolean; error?: string }>;
150+
generateFeatures: (projectPath: string) => Promise<{
151+
success: boolean;
152+
error?: string;
153+
}>;
150154
stop: () => Promise<{ success: boolean; error?: string }>;
151155
status: () => Promise<{
152156
success: boolean;
153157
isRunning?: boolean;
158+
currentPhase?: string;
154159
error?: string;
155160
}>;
156161
onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void;

0 commit comments

Comments
 (0)