Allows for a opt-in strategy for notifications rather than opt-out.
Signed-off-by: Henrik Edegård <henrik.edegard@fortnox.se>
This commit is contained in:
+7
@@ -34,6 +34,13 @@ export interface Config {
|
||||
defaultSettings?: {
|
||||
channels?: {
|
||||
id: string;
|
||||
/**
|
||||
* Optional flag to enable/disable the channel by default.
|
||||
* If not set, defaults to true for backwards compatibility.
|
||||
* When set to false, the channel uses an opt-in strategy where
|
||||
* origins are disabled by default unless explicitly enabled.
|
||||
*/
|
||||
enabled?: boolean;
|
||||
origins?: {
|
||||
id: string;
|
||||
enabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user