summaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-08-26 22:07:42 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-08-26 22:07:42 +0200
commit6e6f2ce7c24acabdfd1f1f59378467ea225fb27a (patch)
treefd8e08320e6d7b57937023621770bb06f2c31fa9 /src/state.rs
parent8d36b0b75904812ba8f6b9e38b50660dfbe78d0d (diff)
Add alerts
A payload for alert creation can be ``` { "query": "mutation NewAlert($input: AlertInput!) { newAlert(input: $input) { id createdAt level } }", "variables": { "input": { "points": [ { "latitude": 40.73061, "longitude": -73.935242 }, { "latitude": 40.741895, "longitude": -73.989308 }, { "latitude": 40.712776, "longitude": -74.005974 }, { "latitude": 40.73061, "longitude": -73.935242 }, ], "level": "TWO" } } } ```
Diffstat (limited to 'src/state.rs')
0 files changed, 0 insertions, 0 deletions