Fix examples

This commit is contained in:
Jake Barnby
2022-10-20 19:58:24 +13:00
parent 40be56b35f
commit 81e1d2ac82
301 changed files with 166 additions and 1081 deletions
@@ -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