feat: 脚本录制功能完善
This commit is contained in:
@@ -15,4 +15,6 @@ export const scriptApi = {
|
||||
window.api.scriptApi.startRecording(url),
|
||||
stopRecording: (): Promise<{ success: boolean; code?: string; error?: string }> =>
|
||||
window.api.scriptApi.stopRecording(),
|
||||
codegen: (id: string, url?: string): Promise<{ success: boolean; code?: string; error?: string }> =>
|
||||
window.api.scriptApi.codegen(id, url),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user