fix #1469 and # 1475
This commit is contained in:
@@ -103,16 +103,22 @@ export const FETCH_EVENT_BASIC = gql`
|
||||
|
||||
export const FETCH_EVENTS = gql`
|
||||
query FetchEvents(
|
||||
$location: String
|
||||
$radius: Float
|
||||
$orderBy: EventOrderBy
|
||||
$direction: SortDirection
|
||||
$page: Int
|
||||
$limit: Int
|
||||
$longevents: Boolean
|
||||
) {
|
||||
events(
|
||||
location: $location
|
||||
radius: $radius
|
||||
orderBy: $orderBy
|
||||
direction: $direction
|
||||
page: $page
|
||||
limit: $limit
|
||||
longevents: $longevents
|
||||
) {
|
||||
total
|
||||
elements {
|
||||
|
||||
@@ -218,6 +218,7 @@ export const SEARCH_CALENDAR_EVENTS = gql`
|
||||
endsOn: $endsOn
|
||||
page: $eventPage
|
||||
limit: $limit
|
||||
longevents: false
|
||||
) {
|
||||
total
|
||||
elements {
|
||||
|
||||
@@ -138,6 +138,20 @@ export const USER_SETTINGS = gql`
|
||||
${USER_SETTINGS_FRAGMENT}
|
||||
`;
|
||||
|
||||
export const LOGGED_USER_LOCATION = gql`
|
||||
query LoggedUserLocation {
|
||||
loggedUser {
|
||||
settings {
|
||||
location {
|
||||
range
|
||||
geohash
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const LOGGED_USER_TIMEZONE = gql`
|
||||
query LoggedUserTimezone {
|
||||
loggedUser {
|
||||
|
||||
Reference in New Issue
Block a user