Improved windows notifications
This commit is contained in:
parent
584e39d569
commit
40c21b1666
31 changed files with 1227 additions and 151 deletions
3
ts/window.d.ts
vendored
3
ts/window.d.ts
vendored
|
@ -57,12 +57,14 @@ import type { initializeMigrations } from './signal';
|
|||
import type { RetryPlaceholders } from './util/retryPlaceholders';
|
||||
import type { PropsPreloadType as PreferencesPropsType } from './components/Preferences';
|
||||
import type { LocaleDirection } from '../app/locale';
|
||||
import type { WindowsNotificationData } from './services/notifications';
|
||||
import type { HourCyclePreference } from './types/I18N';
|
||||
|
||||
export { Long } from 'long';
|
||||
|
||||
export type IPCType = {
|
||||
addSetupMenuItems: () => void;
|
||||
clearAllWindowsNotifications: () => Promise<void>;
|
||||
closeAbout: () => void;
|
||||
crashReports: {
|
||||
getCount: () => Promise<number>;
|
||||
|
@ -88,6 +90,7 @@ export type IPCType = {
|
|||
) => Promise<void>;
|
||||
showSettings: () => void;
|
||||
showWindow: () => void;
|
||||
showWindowsNotification: (data: WindowsNotificationData) => Promise<void>;
|
||||
shutdown: () => void;
|
||||
titleBarDoubleClick: () => void;
|
||||
updateSystemTraySetting: (value: SystemTraySetting) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue