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,
comment,
disable,
filter: None,
origin: None,
},
)
}
@ -242,6 +244,7 @@ mod export {
comment,
disable,
filter: None,
origin: None,
},
&GotifyPrivateConfig { name, token },
)
@ -334,6 +337,7 @@ mod export {
author,
comment,
disable,
origin: None,
},
&SmtpPrivateConfig { name, password },
)
@ -435,6 +439,7 @@ mod export {
invert_match,
comment,
disable,
origin: None,
},
)
}