16 lines
335 B
TypeScript
Executable File
16 lines
335 B
TypeScript
Executable File
export interface NotificationSubscription {
|
|
id?: number;
|
|
name: string;
|
|
notif_id: string;
|
|
permissions?: string[];
|
|
channels: {[key: string]: boolean};
|
|
}
|
|
|
|
export interface NotificationSubscriptionGroup {
|
|
group_name: string;
|
|
subscriptions: Pick<
|
|
NotificationSubscription,
|
|
'name' | 'notif_id' | 'permissions'
|
|
>[];
|
|
}
|