notify: support 'origin' paramter

This parameter shows the origin of a config entry (builtin,
user-created, modified-builtin)

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Lukas Wagner 2023-11-14 13:59:28 +01:00 committed by Thomas Lamprecht
parent 36fbb76145
commit 036236c278

View File

@ -161,6 +161,8 @@ mod export {
author, author,
comment, comment,
disable, disable,
filter: None,
origin: None,
}, },
) )
} }
@ -242,6 +244,7 @@ mod export {
comment, comment,
disable, disable,
filter: None, filter: None,
origin: None,
}, },
&GotifyPrivateConfig { name, token }, &GotifyPrivateConfig { name, token },
) )
@ -334,6 +337,7 @@ mod export {
author, author,
comment, comment,
disable, disable,
origin: None,
}, },
&SmtpPrivateConfig { name, password }, &SmtpPrivateConfig { name, password },
) )
@ -435,6 +439,7 @@ mod export {
invert_match, invert_match,
comment, comment,
disable, disable,
origin: None,
}, },
) )
} }