Introduce Mimirsbrunn geocoder and improve addresses & maps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# source: http://localhost:4000/api
|
||||
# timestamp: Wed Nov 06 2019 12:50:45 GMT+0100 (Central European Standard Time)
|
||||
# timestamp: Fri Nov 08 2019 17:20:47 GMT+0100 (Central European Standard Time)
|
||||
|
||||
schema {
|
||||
query: RootQueryType
|
||||
@@ -131,6 +131,7 @@ type Address {
|
||||
|
||||
"""The address's street name (with number)"""
|
||||
street: String
|
||||
type: String
|
||||
url: String
|
||||
}
|
||||
|
||||
@@ -150,6 +151,7 @@ input AddressInput {
|
||||
|
||||
"""The address's street name (with number)"""
|
||||
street: String
|
||||
type: String
|
||||
url: String
|
||||
}
|
||||
|
||||
@@ -187,7 +189,9 @@ enum CommentVisibility {
|
||||
|
||||
"""A config object"""
|
||||
type Config {
|
||||
countryCode: String
|
||||
description: String
|
||||
location: Lonlat
|
||||
name: String
|
||||
registrationsOpen: Boolean
|
||||
}
|
||||
@@ -629,6 +633,12 @@ type Login {
|
||||
user: User!
|
||||
}
|
||||
|
||||
type Lonlat {
|
||||
accuracyRadius: Int
|
||||
latitude: Float
|
||||
longitude: Float
|
||||
}
|
||||
|
||||
"""
|
||||
Represents a member of a group
|
||||
|
||||
@@ -1171,7 +1181,7 @@ type RootQueryType {
|
||||
reverseGeocode(latitude: Float!, longitude: Float!): [Address]
|
||||
|
||||
"""Search for an address"""
|
||||
searchAddress(limit: Int = 10, page: Int = 1, query: String!): [Address]
|
||||
searchAddress(limit: Int = 10, locale: String = "en", page: Int = 1, query: String!): [Address]
|
||||
|
||||
"""Search events"""
|
||||
searchEvents(limit: Int = 10, page: Int = 1, search: String!): Events
|
||||
|
||||
Reference in New Issue
Block a user