Toggle between db in renderer and in main
This commit is contained in:
parent
12d7f24d0f
commit
f07da67c60
5 changed files with 380 additions and 120 deletions
|
@ -398,6 +398,12 @@ export type ClientInterface = DataInterface & {
|
|||
// Client-side only, and test-only
|
||||
|
||||
_removeConversations: (ids: Array<string>) => Promise<void>;
|
||||
_jobs: { [id: string]: ClientJobType };
|
||||
|
||||
// These are defined on the server-only and used in the client to determine
|
||||
// whether we should use IPC to use the database in the main process or
|
||||
// use the db already running in the renderer.
|
||||
goBackToMainProcess: () => void;
|
||||
};
|
||||
|
||||
export type ClientJobType = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue