summaryrefslogtreecommitdiffstats
path: root/src/graphql/types
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphql/types')
-rw-r--r--src/graphql/types/alert.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphql/types/alert.rs b/src/graphql/types/alert.rs
index 006e9ae..cede465 100644
--- a/src/graphql/types/alert.rs
+++ b/src/graphql/types/alert.rs
@@ -55,6 +55,11 @@ impl ToSql for LevelAlert {
to_sql_checked!();
}
+#[derive(Serialize, Deserialize)]
+pub struct PolygonValid {
+ pub is_valid: bool,
+}
+
#[derive(SimpleObject, Clone, Debug, Serialize, Deserialize)]
/// Alert struct
pub struct Alert {