| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `userEdit` and `userPasswordEdit` mutations | Santo Cariotti | 2024-09-07 | 1 | -0/+55 |
| | | |||||
| * | Formatted | Santo Cariotti | 2024-09-07 | 1 | -1/+1 |
| | | |||||
| * | Use submodules mutations and query for types | Santo Cariotti | 2024-09-07 | 1 | -231/+10 |
| | | |||||
| * | Fixs with clippy | Santo Cariotti | 2024-09-05 | 1 | -1/+1 |
| | | |||||
| * | Send notifications by Expo API | Santo Cariotti | 2024-09-05 | 1 | -2/+34 |
| | | |||||
| * | Create notifications from a new alert | Santo Cariotti | 2024-09-05 | 1 | -68/+71 |
| | | |||||
| * | Keep a device token for the user notification | Santo Cariotti | 2024-09-05 | 1 | -1/+45 |
| | | |||||
| * | Add examples on doc | Santo Cariotti | 2024-09-03 | 1 | -0/+53 |
| | | |||||
| * | Add extended area field for alerts | Santo Cariotti | 2024-09-01 | 1 | -3/+23 |
| | | |||||
| * | Use timestamp for `created_at` field | Santo Cariotti | 2024-08-30 | 1 | -6/+4 |
| | | |||||
| * | Return user_id on JWT creation | Santo Cariotti | 2024-08-30 | 1 | -1/+1 |
| | | |||||
| * | Valid the polygon before the alert creation | Santo Cariotti | 2024-08-29 | 1 | -6/+31 |
| | | |||||
| * | Fix order of lat/lng | Santo Cariotti | 2024-08-26 | 1 | -2/+2 |
| | | |||||
| * | Add alerts | Santo Cariotti | 2024-08-26 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | | | | | | | | 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" } } } ``` | ||||
| * | Add new position | Santo Cariotti | 2024-08-24 | 1 | -2/+59 |
| | | | | | | | | | | | | | | | | | | | ``` curl -X POST http://localhost:8000/graphql \ -H "Content-Type: application/json" \ -H "Authorization: Bearer TOKEN" \ -d '{ "query": "mutation NewPosition($input: PositionInput!) { newPosition(input: $input) { id userId createdAt latitude longitude movingActivity } }", "variables": { "input": { "latitude": 44.502952, "longitude": 11.3114988, "movingActivity": "IN_VEHICLE" } } }' ``` | ||||
| * | Add doc | Santo Cariotti | 2024-08-23 | 1 | -0/+3 |
| | | |||||
| * | Add login | Santo Cariotti | 2024-08-21 | 1 | -0/+35 |
| Fields sent are ``` { "query": "mutation Login($input: LoginCredentials!) { login(input: $input) { accessToken tokenType } }", "variables": { "input": { "email": "....", "password": "..." } } } ``` | |||||
