mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:28 -06:00
feat: admin groups - list + create, gql refactoring
This commit is contained in:
18
client/graph/admin-groups-mutation-create.gql
Normal file
18
client/graph/admin-groups-mutation-create.gql
Normal file
@@ -0,0 +1,18 @@
|
||||
mutation ($name: String!) {
|
||||
groups {
|
||||
create(name: $name) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
group {
|
||||
id
|
||||
name
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user