feat: allow defining default notification settings via config
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
This commit is contained in:
+16
@@ -28,5 +28,21 @@ export interface Config {
|
||||
* Throttle duration between notification sending, defaults to 50ms
|
||||
*/
|
||||
throttleInterval?: HumanDuration | string;
|
||||
/**
|
||||
* Default settings for user specific notification settings
|
||||
*/
|
||||
defaultSettings?: {
|
||||
channels?: {
|
||||
id: string;
|
||||
origins?: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
topics?: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
}[];
|
||||
}[];
|
||||
}[];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user