Welcome to mirror list, hosted at ThFree Co, Russian Federation.

users_search.query.graphql « queries « graphql_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f64c4276deb11cb294ef273463e00730e689645c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#import "../fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"

query projectUsersSearch($search: String!, $fullPath: ID!, $after: String, $first: Int) {
  workspace: project(fullPath: $fullPath) {
    id
    users: projectMembers(
      search: $search
      relations: [DIRECT, INHERITED, INVITED_GROUPS]
      first: $first
      after: $after
    ) {
      pageInfo {
        hasNextPage
        endCursor
        startCursor
      }
      nodes {
        id
        user {
          ...User
          ...UserAvailability
        }
      }
    }
  }
}