moving dataconnect to dev
This commit is contained in:
53
backend/dataconnect/connector/teamHub/queries.gql
Normal file
53
backend/dataconnect/connector/teamHub/queries.gql
Normal file
@@ -0,0 +1,53 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user