Major refactor
This commit is contained in:
1 parent
0ad7b17757
commit
33b91af112
36 files changed
+1370
-253
No files matched your search
+8
-4
@@ -1,15 +1,19 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export const AddTeamMutation = gql`
|
||||
export const CreateTeamMutation = gql`
|
||||
mutation CreateTeamMutation($name: String!, $slug: String!, $owner: String!) {
|
||||
createTeam(name: $name, slug: $slug, owner: $owner) {
|
||||
id
|
||||
name
|
||||
slug
|
||||
owner {
|
||||
auth0id
|
||||
id
|
||||
owner
|
||||
members{
|
||||
role
|
||||
member {
|
||||
authId
|
||||
alias
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ import gql from 'graphql-tag'
|
||||
|
||||
export const UniqueTeamnameQuery = gql`
|
||||
query uniqueTeamname($name: String!) {
|
||||
teamByName(name: $name){
|
||||
teamByName(name: $name) {
|
||||
name
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user