mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
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:
parent
d3061fc15b
commit
7ff7a8bbf2
7 changed files with 8 additions and 6 deletions
|
|
@ -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>,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue