Initial Commit
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
|
||||
}
|
||||
}
|
||||
}
|
||||
13
web_native/graphql/me.graphql
Normal file
13
web_native/graphql/me.graphql
Normal file
@@ -0,0 +1,13 @@
|
||||
query me {
|
||||
me{
|
||||
id
|
||||
createdAt
|
||||
updatedAt
|
||||
email
|
||||
username
|
||||
firstName
|
||||
lastName
|
||||
role
|
||||
authType
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user