2018-11-06 09:30:27 +00:00
|
|
|
import gql from 'graphql-tag';
|
|
|
|
|
|
|
|
export const SEARCH = gql`
|
|
|
|
query SearchEvents($searchText: String!) {
|
|
|
|
search(search: $searchText) {
|
|
|
|
...on Event {
|
|
|
|
title,
|
|
|
|
uuid,
|
|
|
|
__typename
|
|
|
|
},
|
|
|
|
...on Actor {
|
2018-11-07 15:09:28 +00:00
|
|
|
avatarUrl,
|
|
|
|
domain,
|
2018-11-06 09:30:27 +00:00
|
|
|
preferredUsername,
|
|
|
|
__typename
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|