Add basic Team Management
This commit is contained in:
1 parent
5b90eb8923
commit
f2aae81f6e
10 files changed
+487
-35
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
const CREATE_TEAM = gql`
|
||||
mutation UpdateTeamMutation($slug: String!, $owner: String!, $description: String, $motto: String) {
|
||||
createTeam(slug: $slug, owner: $owner, description: $description, motto: $motto) {
|
||||
id
|
||||
name
|
||||
slug
|
||||
owner
|
||||
status {
|
||||
status
|
||||
reason
|
||||
createdAt
|
||||
}
|
||||
createdAt
|
||||
profile {
|
||||
avatar
|
||||
description
|
||||
motto
|
||||
updatedAt
|
||||
}
|
||||
members {
|
||||
role
|
||||
member {
|
||||
alias
|
||||
authId
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export default CREATE_TEAM
|
||||
Reference in new issue
Block a user