1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Fix examples

This commit is contained in:
Jake Barnby 2022-10-20 19:58:24 +13:00
parent 40be56b35f
commit 81e1d2ac82
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
301 changed files with 166 additions and 1081 deletions

8
composer.lock generated
View file

@ -2881,12 +2881,12 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "c00519359c45fc633879d44f1eadc99cf160bcbf"
"reference": "d51fe5c537133ad21fca7e676fe9b1d43817b6cb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/c00519359c45fc633879d44f1eadc99cf160bcbf",
"reference": "c00519359c45fc633879d44f1eadc99cf160bcbf",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/d51fe5c537133ad21fca7e676fe9b1d43817b6cb",
"reference": "d51fe5c537133ad21fca7e676fe9b1d43817b6cb",
"shasum": ""
},
"require": {
@ -2923,7 +2923,7 @@
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/feat-graphql"
},
"time": "2022-10-20T04:40:11+00:00"
"time": "2022-10-20T06:50:11+00:00"
},
{
"name": "doctrine/instantiator",

View file

@ -0,0 +1,29 @@
mutation {
accountCreateAnonymousSession {
id
createdAt
userId
expire
provider
providerUid
providerAccessToken
providerAccessTokenExpiry
providerRefreshToken
ip
osCode
osName
osVersion
clientType
clientCode
clientName
clientVersion
clientEngine
clientEngineVersion
deviceName
deviceBrand
deviceModel
countryCode
countryName
current
}
}

View file

@ -0,0 +1,32 @@
mutation {
accountCreateEmailSession(
email: "email@example.com",
password: "password"
) {
id
createdAt
userId
expire
provider
providerUid
providerAccessToken
providerAccessTokenExpiry
providerRefreshToken
ip
osCode
osName
osVersion
clientType
clientCode
clientName
clientVersion
clientEngine
clientEngineVersion
deviceName
deviceBrand
deviceModel
countryCode
countryName
current
}
}

View file

@ -0,0 +1,5 @@
mutation {
accountCreateJWT {
jwt
}
}

View file

@ -0,0 +1,12 @@
mutation {
accountCreateMagicURLSession(
userId: "[USER_ID]",
email: "email@example.com"
) {
id
createdAt
userId
secret
expire
}
}

View file

@ -0,0 +1,7 @@
query {
accountCreateOAuth2Session(
provider: "amazon"
) {
status
}
}

View file

@ -0,0 +1,12 @@
mutation {
accountCreatePhoneSession(
userId: "[USER_ID]",
phone:
) {
id
createdAt
userId
secret
expire
}
}

View file

@ -1,5 +1,5 @@
mutation {
usersCreateSHAUser(
accountCreate(
userId: "[USER_ID]",
email: "email@example.com",
password: "password"
@ -8,9 +8,6 @@ mutation {
createdAt
updatedAt
name
password
hash
hashOptions
registration
status
passwordUpdate

View file

@ -0,0 +1,32 @@
mutation {
accountUpdateMagicURLSession(
userId: "[USER_ID]",
secret: "[SECRET]"
) {
id
createdAt
userId
expire
provider
providerUid
providerAccessToken
providerAccessTokenExpiry
providerRefreshToken
ip
osCode
osName
osVersion
clientType
clientCode
clientName
clientVersion
clientEngine
clientEngineVersion
deviceName
deviceBrand
deviceModel
countryCode
countryName
current
}
}

View file

@ -0,0 +1,32 @@
mutation {
accountUpdatePhoneSession(
userId: "[USER_ID]",
secret: "[SECRET]"
) {
id
createdAt
userId
expire
provider
providerUid
providerAccessToken
providerAccessTokenExpiry
providerRefreshToken
ip
osCode
osName
osVersion
clientType
clientCode
clientName
clientVersion
clientEngine
clientEngineVersion
deviceName
deviceBrand
deviceModel
countryCode
countryName
current
}
}

Some files were not shown because too many files have changed in this diff Show more