Fix examples
This commit is contained in:
parent
40be56b35f
commit
81e1d2ac82
301 changed files with 166 additions and 1081 deletions
8
composer.lock
generated
8
composer.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
mutation {
|
||||
accountCreateJWT {
|
||||
jwt
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
mutation {
|
||||
accountCreateMagicURLSession(
|
||||
userId: "[USER_ID]",
|
||||
email: "email@example.com"
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
secret
|
||||
expire
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
query {
|
||||
accountCreateOAuth2Session(
|
||||
provider: "amazon"
|
||||
) {
|
||||
status
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
mutation {
|
||||
accountCreatePhoneSession(
|
||||
userId: "[USER_ID]",
|
||||
phone:
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
secret
|
||||
expire
|
||||
}
|
||||
}
|
|
@ -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
|
|
@ -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
|
||||
}
|
||||
}
|
|
@ -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
Loading…
Reference in a new issue