@@ -37,12 +37,14 @@ export const FETCH_PERSON = gql`
|
||||
`;
|
||||
|
||||
export const GET_PERSON = gql`
|
||||
query (
|
||||
query Person(
|
||||
$actorId: ID!
|
||||
$organizedEventsPage: Int
|
||||
$organizedEventsLimit: Int
|
||||
$participationPage: Int
|
||||
$participationLimit: Int
|
||||
$membershipsPage: Int
|
||||
$membershipsLimit: Int
|
||||
) {
|
||||
person(id: $actorId) {
|
||||
id
|
||||
@@ -89,6 +91,24 @@ export const GET_PERSON = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
memberships(page: $membershipsPage, limit: $membershipsLimit) {
|
||||
total
|
||||
elements {
|
||||
id
|
||||
role
|
||||
insertedAt
|
||||
parent {
|
||||
id
|
||||
preferredUsername
|
||||
name
|
||||
domain
|
||||
avatar {
|
||||
id
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
user {
|
||||
id
|
||||
email
|
||||
|
||||
Reference in New Issue
Block a user