mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-03-01 12:44:37 +00:00
37 lines
557 B
TypeScript
37 lines
557 B
TypeScript
import { gql } from 'graphql-tag'
|
|
|
|
export const invalidateInviteCode = gql`
|
|
mutation invalidateInviteCode($code: String!) {
|
|
invalidateInviteCode(code: $code) {
|
|
code
|
|
createdAt
|
|
generatedBy {
|
|
id
|
|
name
|
|
avatar {
|
|
url
|
|
}
|
|
}
|
|
redeemedBy {
|
|
id
|
|
name
|
|
avatar {
|
|
url
|
|
}
|
|
}
|
|
expiresAt
|
|
comment
|
|
invitedTo {
|
|
id
|
|
groupType
|
|
name
|
|
about
|
|
avatar {
|
|
url
|
|
}
|
|
}
|
|
isValid
|
|
}
|
|
}
|
|
`
|