debian-mirror-gitlab/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
610 B
GraphQL
Raw Normal View History

2021-02-22 17:27:13 +05:30
#import "../fragments/user.fragment.graphql"
2021-04-29 21:17:54 +05:30
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
2021-02-22 17:27:13 +05:30
2022-10-11 01:57:18 +05:30
query projectUsersSearch($search: String!, $fullPath: ID!, $after: String, $first: Int) {
2021-04-17 20:07:23 +05:30
workspace: project(fullPath: $fullPath) {
2022-01-26 12:08:38 +05:30
id
2022-10-11 01:57:18 +05:30
users: projectMembers(
search: $search
relations: [DIRECT, INHERITED, INVITED_GROUPS]
first: $first
after: $after
) {
pageInfo {
hasNextPage
endCursor
startCursor
}
2021-04-17 20:07:23 +05:30
nodes {
2022-01-26 12:08:38 +05:30
id
2021-04-17 20:07:23 +05:30
user {
...User
2021-04-29 21:17:54 +05:30
...UserAvailability
2021-04-17 20:07:23 +05:30
}
}
2021-01-29 00:20:46 +05:30
}
}
}