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 28
|
#import "../fragments/user.fragment.graphql"
#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
query groupUsersSearch($search: String!, $fullPath: ID!, $after: String, $first: Int) {
workspace: group(fullPath: $fullPath) {
id
users: groupMembers(
search: $search
relations: [DIRECT, DESCENDANTS, INHERITED]
first: $first
after: $after
sort: USER_FULL_NAME_ASC
) {
pageInfo {
hasNextPage
endCursor
startCursor
}
nodes {
id
user {
...User
...UserAvailability
}
}
}
}
}
|