更新新增三个模块
This commit is contained in:
@@ -3,6 +3,7 @@ export interface UploadedJavaFile {
|
||||
originalFilename: string
|
||||
localPath: string
|
||||
size: number
|
||||
relativePath?: string
|
||||
}
|
||||
|
||||
export interface PywebviewApi {
|
||||
@@ -15,7 +16,7 @@ export interface PywebviewApi {
|
||||
select_folder?: () => Promise<string | null>
|
||||
select_brand_xlsx_files?: () => Promise<string[]>
|
||||
select_brand_folder?: () => Promise<string | null>
|
||||
upload_file_to_java?: (filePath: string) => Promise<{ success: boolean; message?: string; data?: UploadedJavaFile; error?: string }>
|
||||
upload_file_to_java?: (filePath: string, relativePath?: string) => Promise<{ success: boolean; message?: string; data?: UploadedJavaFile; error?: string }>
|
||||
save_file_from_url?: (url: string, filename: string) => Promise<{ success: boolean; path?: string; error?: string }>
|
||||
save_template_xlsx?: () => Promise<{ success: boolean; path?: string; error?: string }>
|
||||
save_template_zip?: () => Promise<{ success: boolean; path?: string; error?: string }>
|
||||
|
||||
Reference in New Issue
Block a user