Files
wails-epic/frontend/wailsjs/go/service/App.js
hu xiaotong 1b90af57ba feat(database): 实现数据库功能并优化数据导出
- 新增数据库相关 API 和服务
- 实现数据导出功能,支持导出到 JSON 文件
- 优化数据导入流程,增加数据校验
- 新增数据库页面,展示解析数据和统计信息
- 更新捕获页面,支持导入数据到数据库
2025-07-04 12:48:40 +08:00

68 lines
1.9 KiB
JavaScript

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function ExportCurrentData(arg1) {
return window['go']['service']['App']['ExportCurrentData'](arg1);
}
export function ExportData(arg1, arg2) {
return window['go']['service']['App']['ExportData'](arg1, arg2);
}
export function GetAllAppSettings() {
return window['go']['service']['App']['GetAllAppSettings']();
}
export function GetAppSetting(arg1) {
return window['go']['service']['App']['GetAppSetting'](arg1);
}
export function GetCaptureStatus() {
return window['go']['service']['App']['GetCaptureStatus']();
}
export function GetCapturedData() {
return window['go']['service']['App']['GetCapturedData']();
}
export function GetCurrentDataForExport() {
return window['go']['service']['App']['GetCurrentDataForExport']();
}
export function GetLatestParsedDataFromDatabase() {
return window['go']['service']['App']['GetLatestParsedDataFromDatabase']();
}
export function GetNetworkInterfaces() {
return window['go']['service']['App']['GetNetworkInterfaces']();
}
export function ParseData(arg1) {
return window['go']['service']['App']['ParseData'](arg1);
}
export function ReadRawJsonFile() {
return window['go']['service']['App']['ReadRawJsonFile']();
}
export function SaveAppSetting(arg1, arg2) {
return window['go']['service']['App']['SaveAppSetting'](arg1, arg2);
}
export function SaveParsedDataToDatabase(arg1, arg2, arg3) {
return window['go']['service']['App']['SaveParsedDataToDatabase'](arg1, arg2, arg3);
}
export function StartCapture(arg1) {
return window['go']['service']['App']['StartCapture'](arg1);
}
export function StopAndParseCapture() {
return window['go']['service']['App']['StopAndParseCapture']();
}
export function StopCapture() {
return window['go']['service']['App']['StopCapture']();
}