debian-mirror-gitlab/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
2022-11-25 23:54:43 +05:30

28 lines
641 B
GraphQL

#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
sort: USER_FULL_NAME_ASC
) {
pageInfo {
hasNextPage
endCursor
startCursor
}
nodes {
id
user {
...User
...UserAvailability
}
}
}
}
}