Add basic Team Management

This commit is contained in:
Barry Low committed 2018-09-14 07:56:51 -07:00
1 parent 5b90eb8923
commit f2aae81f6e
10 files changed
+487 -35

No files matched your search

+2 -1
View File
@@ -18,7 +18,8 @@ type Query {
type Mutation {
authenticate(idToken: String!): Member
createTeam(name: String!, slug: String, owner: String): Team @isAuthenticated
createTeam(name: String!, slug: String!, owner: String!): Team @isAuthenticated
updateTeamProfile(slug: String!, owner: String!, description: String, motto: String, avatar: String): Team @isAuthenticated
deleteTeam(id: ID!): Team @isAuthenticated @isOwner(type: "Team")
}