Improved windows notifications

This commit is contained in:
Scott Nonnenberg 2023-08-01 09:06:29 -07:00 committed by GitHub
parent 584e39d569
commit 40c21b1666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1227 additions and 151 deletions

3
ts/window.d.ts vendored
View file

@ -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;