API: Add queries teamsByIds and teamAuthorization

This commit is contained in:
Barry Low committed 2019-02-15 09:02:16 -08:00
1 parent e84685f690
commit 766ed5e8ef
3 files changed
+25 -3

No files matched your search

+2
View File
@@ -11,7 +11,9 @@ type Query {
teamByName(name: String!): Team
teamBySlug(slug: String!): Team
teamById(teamId: String!): Team
teamsByIds(teamIds: [ID!]): [Team]
teamWithRole(teamId: String!, role: String!): Team
teamAuthorization(teamId: String!, role: String): Team
teamsByOwner: [Team!]! @isAuthenticated
teamsByRole: [Team!]! @isAuthenticated
fbByTeamMember: Team @isAuthenticated