feat: 添加注释
This commit is contained in:
Vendored
+6
@@ -5,8 +5,12 @@ import {service} from '../models';
|
||||
|
||||
export function AskDeepSeek(arg1:string,arg2:string):Promise<string>;
|
||||
|
||||
export function ClearDatabase():Promise<string>;
|
||||
|
||||
export function CreateLibrary(arg1:string,arg2:string):Promise<string>;
|
||||
|
||||
export function DeleteItems(arg1:Array<number>):Promise<string>;
|
||||
|
||||
export function DeleteLibrary(arg1:string):Promise<string>;
|
||||
|
||||
export function GetActiveLibrary():Promise<string>;
|
||||
@@ -19,6 +23,8 @@ export function GetSettings():Promise<service.SettingsDTO>;
|
||||
|
||||
export function ImportCSV():Promise<service.ImportResult>;
|
||||
|
||||
export function ImportExcel():Promise<service.ImportResult>;
|
||||
|
||||
export function ListLibraries():Promise<Array<handler.LibraryInfo>>;
|
||||
|
||||
export function SaveSettings(arg1:service.SettingsDTO):Promise<string>;
|
||||
|
||||
@@ -6,10 +6,18 @@ export function AskDeepSeek(arg1, arg2) {
|
||||
return window['go']['main']['App']['AskDeepSeek'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function ClearDatabase() {
|
||||
return window['go']['main']['App']['ClearDatabase']();
|
||||
}
|
||||
|
||||
export function CreateLibrary(arg1, arg2) {
|
||||
return window['go']['main']['App']['CreateLibrary'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function DeleteItems(arg1) {
|
||||
return window['go']['main']['App']['DeleteItems'](arg1);
|
||||
}
|
||||
|
||||
export function DeleteLibrary(arg1) {
|
||||
return window['go']['main']['App']['DeleteLibrary'](arg1);
|
||||
}
|
||||
@@ -34,6 +42,10 @@ export function ImportCSV() {
|
||||
return window['go']['main']['App']['ImportCSV']();
|
||||
}
|
||||
|
||||
export function ImportExcel() {
|
||||
return window['go']['main']['App']['ImportExcel']();
|
||||
}
|
||||
|
||||
export function ListLibraries() {
|
||||
return window['go']['main']['App']['ListLibraries']();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user