mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-03-01 12:44:28 +00:00
41 lines
643 B
TypeScript
41 lines
643 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const Group = gql`
|
|
query Group($isMember: Boolean, $id: ID, $slug: String) {
|
|
Group(isMember: $isMember, id: $id, slug: $slug) {
|
|
id
|
|
name
|
|
slug
|
|
createdAt
|
|
updatedAt
|
|
disabled
|
|
deleted
|
|
about
|
|
description
|
|
descriptionExcerpt
|
|
groupType
|
|
actionRadius
|
|
categories {
|
|
id
|
|
slug
|
|
name
|
|
icon
|
|
}
|
|
avatar {
|
|
url
|
|
}
|
|
locationName
|
|
location {
|
|
name
|
|
nameDE
|
|
nameEN
|
|
}
|
|
myRole
|
|
inviteCodes {
|
|
code
|
|
redeemedByCount
|
|
}
|
|
}
|
|
}
|
|
`
|