Add fbByFbId query
This commit is contained in:
1 parent
766ed5e8ef
commit
69329ee1d0
4 files changed
+31
-2
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user