Rename, GraphQL Flutter Cookie Basics, & GraphQL Flutter Model Gen
This commit is contained in:
16
web_native/graphql/create_mediaitem.graphql
Normal file
16
web_native/graphql/create_mediaitem.graphql
Normal file
@@ -0,0 +1,16 @@
|
||||
mutation createMediaItem($file: Upload!){
|
||||
createMediaItem(input: {
|
||||
file: $file
|
||||
}){
|
||||
id
|
||||
createdAt
|
||||
updatedAt
|
||||
exifDate
|
||||
latitude
|
||||
longitude
|
||||
isVideo
|
||||
fileName
|
||||
origName
|
||||
userID
|
||||
}
|
||||
}
|
||||
8
web_native/graphql/login.graphql
Normal file
8
web_native/graphql/login.graphql
Normal file
@@ -0,0 +1,8 @@
|
||||
query login($user: String!, $password: String!, $deviceID: ID) {
|
||||
login(user: $user, password: $password, deviceID: $deviceID) {
|
||||
result,
|
||||
device {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user