Add fbByFbId query

This commit is contained in:
Barry Low committed 2019-02-25 22:03:44 -08:00
1 parent 766ed5e8ef
commit 69329ee1d0
4 files changed
+31 -2

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
# import Query.TeamConnection, Team from "../generated/prisma.graphql"
# import Query.TeamConnection, Team, FinancialBeings from "../generated/prisma.graphql"
directive @isAuthenticated on QUERY | FIELD | MUTATION | FIELD_DEFINITION
directive @hasRole(roles: [String]) on QUERY | FIELD | MUTATION | FIELD_DEFINITION
@@ -17,6 +17,7 @@ type Query {
teamsByOwner: [Team!]! @isAuthenticated
teamsByRole: [Team!]! @isAuthenticated
fbByTeamMember: Team @isAuthenticated
fbByFbId(fbId: String!): FinancialBeings
owner: Member @isAuthenticated
member: Member @isAuthenticated
}