fix: resolve build errors and add missing electron IPC

- Replace deprecated reminderId with remindAt in templates
- Add fileSyncListFiles to electron preload
- Fix Typia type narrowing in validate-state.service
- Fix jasmine matcher type in hydrator spec
This commit is contained in:
Johannes Millan 2025-12-08 12:55:22 +01:00
parent d3061fc15b
commit 7ff7a8bbf2
7 changed files with 8 additions and 6 deletions

View file

@ -45,6 +45,8 @@ const ea: ElectronAPI = {
dataStr: string | undefined;
}>,
fileSyncRemove: (filePath) => _invoke('FILE_SYNC_REMOVE', filePath) as Promise<void>,
fileSyncListFiles: ({ dirPath }) =>
_invoke('FILE_SYNC_LIST_FILES', dirPath) as Promise<string[] | Error>,
checkDirExists: (dirPath) =>
_invoke('CHECK_DIR_EXISTS', dirPath) as Promise<true | Error>,