( sourcePath: string, options?: ImportOptions, )
| 36 | }; |
| 37 | |
| 38 | export const importVideoPath = async ( |
| 39 | sourcePath: string, |
| 40 | options?: ImportOptions, |
| 41 | ) => { |
| 42 | const projectPath = await commands.startVideoImport(sourcePath); |
| 43 | await commands.showWindow({ Editor: { project_path: projectPath } }); |
| 44 | await maybeHideCurrentWindow(options); |
| 45 | return projectPath; |
| 46 | }; |
| 47 | |
| 48 | export const importImagePath = async ( |
| 49 | sourcePath: string, |
no test coverage detected