summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
blob: e18eea33041fd4edb7efe9351de5746c736a9ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import "../fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query usersSearch($search: String!, $fullPath: ID!) {
  workspace: project(fullPath: $fullPath) {
    users: projectMembers(search: $search, relations: [DIRECT, INHERITED, INVITED_GROUPS]) {
      nodes {
        user {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}