mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
13 lines
737 B
TypeScript
13 lines
737 B
TypeScript
/** Shared notification model; Android names are retained for existing callers. */
|
|
export type AndroidNotificationAction = { index: number; title: string; enabled: boolean };
|
|
export type AndroidNotification = {
|
|
key: string; packageName: string; appName: string; title: string; text: string;
|
|
bigText: string; subText: string; infoText: string; summaryText: string;
|
|
category: string; lines: string[]; postTime: number; when: number;
|
|
actions: AndroidNotificationAction[]; dismissLabel?: string;
|
|
/** Posted by a foreground service (Android): a "this app is working" status notification. */
|
|
foregroundService?: boolean;
|
|
/** Full message size reported by iOS, even when the fetched text is bounded. */
|
|
messageSize?: number;
|
|
};
|