mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-18 02:41:23 +00:00
30 lines
431 B
TypeScript
30 lines
431 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const createGroupMutation = gql`
|
|
mutation (
|
|
$id: ID,
|
|
$name: String!,
|
|
$slug: String,
|
|
$about: String,
|
|
$categoryIds: [ID]
|
|
) {
|
|
CreateGroup(
|
|
id: $id
|
|
name: $name
|
|
slug: $slug
|
|
about: $about
|
|
categoryIds: $categoryIds
|
|
) {
|
|
id
|
|
name
|
|
slug
|
|
about
|
|
disabled
|
|
deleted
|
|
owner {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
`
|