Add mentions

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-05-29 16:46:23 +02:00
parent 07d4db5ce9
commit d3176e2a8d
6 changed files with 309 additions and 15 deletions

View File

@@ -34,3 +34,21 @@ query SearchGroups($searchText: String!) {
}
}
`;
export const SEARCH_PERSONS = gql`
query SearchPersons($searchText: String!) {
searchPersons(search: $searchText) {
total,
elements {
id,
avatar {
url
},
domain,
preferredUsername,
name,
__typename
}
}
}
`;