desktop: sqlite migration progress bar (#13294)
This commit is contained in:
parent
624dd94b5d
commit
1413d77b1f
7 changed files with 197 additions and 80 deletions
|
|
@ -23,6 +23,7 @@ export const commands = {
|
|||
/** Events */
|
||||
export const events = {
|
||||
loadingWindowComplete: makeEvent<LoadingWindowComplete>("loading-window-complete"),
|
||||
sqliteMigrationProgress: makeEvent<SqliteMigrationProgress>("sqlite-migration-progress"),
|
||||
};
|
||||
|
||||
/* Types */
|
||||
|
|
@ -37,6 +38,8 @@ export type ServerReadyData = {
|
|||
password: string | null,
|
||||
};
|
||||
|
||||
export type SqliteMigrationProgress = { type: "InProgress"; value: number } | { type: "Done" };
|
||||
|
||||
export type WslConfig = {
|
||||
enabled: boolean,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue