issues
search
HashemE1999
/
locus
MIT License
0
stars
0
forks
source link
Backend: write typedefs for mutations
#33
Closed
ftek00
closed
3 hours ago
ftek00
commented
4 hours ago
Defines the Mutation type for GraphQL.
addUser: Takes username, email, and password as arguments; returns an Auth object.
login: Accepts email and password; returns an Auth object.
addTrip: Requires an array of attractions (IDs); returns a Trip object.
removeTrip: Accepts a tripId; returns the deleted Trip object.
ftek00
commented
3 hours ago
PR :
https://github.com/HashemE1999/locus/pull/45