feat(web): specify icon

This commit is contained in:
autumnal 2022-06-29 13:10:49 +02:00
parent 790ab0b95f
commit e6f85ca07b
2 changed files with 37 additions and 24 deletions

View file

@ -44,6 +44,8 @@ pub struct Rule {
pub struct Definition {
pub name: String,
pub query: String,
#[serde(default)]
pub icon: String,
}
pub fn load() -> Config {