Introduce Mimirsbrunn geocoder and improve addresses & maps

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-11-08 19:37:14 +01:00
parent 0e7cf89492
commit c599a47d58
36 changed files with 940 additions and 267 deletions

View File

@@ -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