mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-03-01 12:44:37 +00:00
52 lines
831 B
GraphQL
52 lines
831 B
GraphQL
mutation UpdateGroup(
|
|
$id: ID!
|
|
$name: String
|
|
$slug: String
|
|
$about: String
|
|
$description: String
|
|
$actionRadius: GroupActionRadius
|
|
$categoryIds: [ID]
|
|
$avatar: ImageInput
|
|
$locationName: String # empty string '' sets it to null
|
|
) {
|
|
UpdateGroup(
|
|
id: $id
|
|
name: $name
|
|
slug: $slug
|
|
about: $about
|
|
description: $description
|
|
actionRadius: $actionRadius
|
|
categoryIds: $categoryIds
|
|
avatar: $avatar
|
|
locationName: $locationName
|
|
) {
|
|
id
|
|
name
|
|
slug
|
|
createdAt
|
|
updatedAt
|
|
disabled
|
|
deleted
|
|
about
|
|
description
|
|
descriptionExcerpt
|
|
groupType
|
|
actionRadius
|
|
categories {
|
|
id
|
|
slug
|
|
name
|
|
icon
|
|
}
|
|
# avatar # test this as result
|
|
locationName
|
|
location {
|
|
id
|
|
name
|
|
nameDE
|
|
nameEN
|
|
}
|
|
myRole
|
|
}
|
|
}
|