Add database for library

This commit is contained in:
Myx
2025-03-28 04:46:29 +01:00
committed by Myx
parent c0cfca39a2
commit 35fd50c728
17 changed files with 382 additions and 80 deletions

View File

@@ -25,6 +25,10 @@ const electronApi: ContextBridgeApi = {
isMaximized: getInvoker('isMaximized'),
showOpenDialog: getInvoker('showOpenDialog'),
getThemeColors: getInvoker('getThemeColors'),
addChart: getInvoker('addChart'),
removeChart: getInvoker('removeChart'),
removeCharts: getInvoker('removeCharts'),
getChartsBySearchTerm: getInvoker('getChartsBySearchTerm'),
},
emit: {
download: getEmitter('download'),
@@ -41,6 +45,7 @@ const electronApi: ContextBridgeApi = {
showFolder: getEmitter('showFolder'),
showFile: getEmitter('showFile'),
scanIssues: getEmitter('scanIssues'),
removeAllCharts: getEmitter('removeAllCharts'),
},
on: {
errorLog: getListenerAdder('errorLog'),