feature: add user project count to Admin component
This commit is contained in:
@ -59,6 +59,26 @@ query findProject($projectId: String!) {
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
owned {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
member {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
${TASK_FRAGMENT}
|
||||
}
|
||||
|
@ -14,15 +14,31 @@ export const GET_TEAM_QUERY = gql`
|
||||
code
|
||||
name
|
||||
}
|
||||
owned {
|
||||
projects
|
||||
teams
|
||||
}
|
||||
profileIcon {
|
||||
url
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
owned {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
member {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
projects(input: { teamID: $teamID }) {
|
||||
@ -47,6 +63,26 @@ export const GET_TEAM_QUERY = gql`
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
owned {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
member {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -13,6 +13,26 @@ query users {
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
owned {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
member {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user