modifications queries, mutations of contact, recentPayment, shiftRole, teamhub
This commit is contained in:
@@ -51,3 +51,30 @@ query getTeamHubsByTeamId($teamId: UUID!) @auth(level: USER) {
|
||||
createdBy
|
||||
}
|
||||
}
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# LIST TEAM HUBS BY OWNER (Vendor/Business)
|
||||
# ------------------------------------------------------------
|
||||
query listTeamHubsByOwnerId(
|
||||
$ownerId: String!
|
||||
) @auth(level: USER) {
|
||||
teamHubs(
|
||||
where: {
|
||||
team: {
|
||||
ownerId: { eq: $ownerId }
|
||||
}
|
||||
}
|
||||
) {
|
||||
id
|
||||
teamId
|
||||
hubName
|
||||
address
|
||||
city
|
||||
state
|
||||
zipCode
|
||||
managerName
|
||||
isActive
|
||||
departments
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user