arch: move web folder into api & move api to top level
This commit is contained in:
50
frontend/src/shared/graphql/team/getTeam.ts
Normal file
50
frontend/src/shared/graphql/team/getTeam.ts
Normal file
@ -0,0 +1,50 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
export const GET_TEAM_QUERY = gql`
|
||||
query getTeam($teamID: UUID!) {
|
||||
findTeam(input: { teamID: $teamID }) {
|
||||
id
|
||||
createdAt
|
||||
name
|
||||
members {
|
||||
id
|
||||
fullName
|
||||
username
|
||||
role {
|
||||
code
|
||||
name
|
||||
}
|
||||
profileIcon {
|
||||
url
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
}
|
||||
}
|
||||
projects(input: { teamID: $teamID }) {
|
||||
id
|
||||
name
|
||||
team {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
users {
|
||||
id
|
||||
email
|
||||
fullName
|
||||
username
|
||||
role {
|
||||
code
|
||||
name
|
||||
}
|
||||
profileIcon {
|
||||
url
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default GET_TEAM_QUERY;
|
Reference in New Issue
Block a user