mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 19:54:44 -07:00
14 lines
310 B
TypeScript
14 lines
310 B
TypeScript
export interface UnifiedPushAction {
|
|
id: string;
|
|
endpoint: string;
|
|
method: 'POST' | 'GET' | 'DELETE';
|
|
data?: Record<string, unknown>;
|
|
}
|
|
|
|
export interface Notification {
|
|
title?: string;
|
|
message: string;
|
|
actions?: UnifiedPushAction[];
|
|
}
|
|
|
|
export type NotificationChannel = 'signal' | 'unifiedpush';
|