feat(database): add CRUD operations for parsed sessions and update session name functionality

This commit is contained in:
kever
2026-02-16 00:39:24 +08:00
parent 41814a2bc8
commit f0a26e31f9
18 changed files with 1119 additions and 1573 deletions

View File

@@ -2,6 +2,10 @@
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function DeleteParsedSession(arg1) {
return window['go']['service']['App']['DeleteParsedSession'](arg1);
}
export function ExportCurrentData(arg1) {
return window['go']['service']['App']['ExportCurrentData'](arg1);
}
@@ -38,6 +42,14 @@ export function GetNetworkInterfaces() {
return window['go']['service']['App']['GetNetworkInterfaces']();
}
export function GetParsedDataByID(arg1) {
return window['go']['service']['App']['GetParsedDataByID'](arg1);
}
export function GetParsedSessions() {
return window['go']['service']['App']['GetParsedSessions']();
}
export function ParseData(arg1) {
return window['go']['service']['App']['ParseData'](arg1);
}
@@ -58,6 +70,10 @@ export function StartCapture(arg1) {
return window['go']['service']['App']['StartCapture'](arg1);
}
export function StartCaptureWithFilter(arg1, arg2) {
return window['go']['service']['App']['StartCaptureWithFilter'](arg1, arg2);
}
export function StopAndParseCapture() {
return window['go']['service']['App']['StopAndParseCapture']();
}
@@ -65,3 +81,7 @@ export function StopAndParseCapture() {
export function StopCapture() {
return window['go']['service']['App']['StopCapture']();
}
export function UpdateParsedSessionName(arg1, arg2) {
return window['go']['service']['App']['UpdateParsedSessionName'](arg1, arg2);
}