mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-03-01 12:44:37 +00:00
62 lines
1.2 KiB
GraphQL
62 lines
1.2 KiB
GraphQL
mutation UpdateUser(
|
|
$id: ID!
|
|
$slug: String
|
|
$name: String
|
|
$about: String
|
|
$allowEmbedIframes: Boolean
|
|
$showShoutsPublicly: Boolean
|
|
$emailNotificationSettings: [EmailNotificationSettingsInput]
|
|
$termsAndConditionsAgreedVersion: String
|
|
$avatar: ImageInput
|
|
$locationName: String # empty string '' sets it to null
|
|
$locale: String
|
|
) {
|
|
UpdateUser(
|
|
id: $id
|
|
slug: $slug
|
|
name: $name
|
|
about: $about
|
|
allowEmbedIframes: $allowEmbedIframes
|
|
showShoutsPublicly: $showShoutsPublicly
|
|
emailNotificationSettings: $emailNotificationSettings
|
|
termsAndConditionsAgreedVersion: $termsAndConditionsAgreedVersion
|
|
avatar: $avatar
|
|
locationName: $locationName
|
|
locale: $locale
|
|
) {
|
|
id
|
|
slug
|
|
name
|
|
about
|
|
allowEmbedIframes
|
|
showShoutsPublicly
|
|
termsAndConditionsAgreedVersion
|
|
termsAndConditionsAgreedAt
|
|
locationName
|
|
locale
|
|
location {
|
|
id
|
|
name
|
|
}
|
|
emailNotificationSettings {
|
|
type
|
|
settings {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
avatar {
|
|
url
|
|
alt
|
|
sensitive
|
|
aspectRatio
|
|
type
|
|
}
|
|
badgeVerification {
|
|
id
|
|
description
|
|
icon
|
|
}
|
|
}
|
|
}
|