<feed xmlns='http://www.w3.org/2005/Atom'>
<title>backend.git/schema, branch main</title>
<subtitle>A GraphQL API for the Alert CAS project
</subtitle>
<id>https://git.dcariotti.me/cas4/backend.git/atom?h=main</id>
<link rel='self' href='https://git.dcariotti.me/cas4/backend.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/'/>
<updated>2025-01-17T19:41:20Z</updated>
<entry>
<title>Sound as binary string</title>
<updated>2025-01-17T19:41:20Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2025-01-17T19:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=a56ecb83c70e57144a4b01153aab21656c97e366'/>
<id>urn:sha1:a56ecb83c70e57144a4b01153aab21656c97e366</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Save notification's position info</title>
<updated>2024-10-20T19:58:58Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-10-20T19:58:58Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=1c3d072de12f3319cf40fad592835d5dfb301e70'/>
<id>urn:sha1:1c3d072de12f3319cf40fad592835d5dfb301e70</id>
<content type='text'>
Since we save the last user's position only, we can't be able to link a
notification to a position. So, the better thing is to save a redundant lat/lng
</content>
</entry>
<entry>
<title>Fix typo :de:</title>
<updated>2024-10-18T13:52:22Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-10-18T13:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=08080d91203e9cf00f7e475ef56179cac94dfb7a'/>
<id>urn:sha1:08080d91203e9cf00f7e475ef56179cac94dfb7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use only one position per user</title>
<updated>2024-10-18T08:42:13Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-10-18T08:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=31fe447112b6b3d76b0612df91f3eca2e47f2961'/>
<id>urn:sha1:31fe447112b6b3d76b0612df91f3eca2e47f2961</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Each alert has text{1,2,3} for the three possible area</title>
<updated>2024-09-12T09:46:27Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-09-12T09:46:27Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=105f6831d13ebb473b6ce9b63c5c159b5a6c964d'/>
<id>urn:sha1:105f6831d13ebb473b6ce9b63c5c159b5a6c964d</id>
<content type='text'>
Alert level is moved to the notification struct
</content>
</entry>
<entry>
<title>Remove `OnFoot` moving activity</title>
<updated>2024-09-10T11:27:51Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-09-10T11:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=a1ef3b1e7ef495864f98ed45ef398441be26e6da'/>
<id>urn:sha1:a1ef3b1e7ef495864f98ed45ef398441be26e6da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Keep a device token for the user notification</title>
<updated>2024-09-05T09:25:29Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-09-05T09:25:29Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=7e9dbd60f55f02ab065c764f8230aabaa6778eed'/>
<id>urn:sha1:7e9dbd60f55f02ab065c764f8230aabaa6778eed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add notification type</title>
<updated>2024-09-03T18:15:52Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-09-03T18:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=32ba33078c2970b8658425260de287d6cde0db82'/>
<id>urn:sha1:32ba33078c2970b8658425260de287d6cde0db82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add name and address fields for users</title>
<updated>2024-09-03T10:27:07Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-09-03T10:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=1aab73450987ebdaa813265b6911b4ce8134a788'/>
<id>urn:sha1:1aab73450987ebdaa813265b6911b4ce8134a788</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add alerts</title>
<updated>2024-08-26T20:07:42Z</updated>
<author>
<name>Santo Cariotti</name>
<email>santo@dcariotti.me</email>
</author>
<published>2024-08-26T20:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.dcariotti.me/cas4/backend.git/commit/?id=6e6f2ce7c24acabdfd1f1f59378467ea225fb27a'/>
<id>urn:sha1:6e6f2ce7c24acabdfd1f1f59378467ea225fb27a</id>
<content type='text'>
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"
    }
  }
}
```
</content>
</entry>
</feed>
