Files
Krow-workspace/backend/dataconnect/connector/teamHub/queries.gql
2026-01-19 19:18:11 -05:00

54 lines
740 B
GraphQL

query listTeamHubs @auth(level: USER) {
teamHubs {
id
teamId
hubName
address
city
state
zipCode
managerName
isActive
departments
createdAt
updatedAt
createdBy
}
}
query getTeamHubById($id: UUID!) @auth(level: USER) {
teamHub(id: $id) {
id
teamId
hubName
address
city
state
zipCode
managerName
isActive
departments
createdAt
updatedAt
createdBy
}
}
query getTeamHubsByTeamId($teamId: UUID!) @auth(level: USER) {
teamHubs(where: { teamId: { eq: $teamId } }) {
id
teamId
hubName
address
city
state
zipCode
managerName
isActive
departments
createdAt
updatedAt
createdBy
}
}