debianize-mobilizon/js/src/graphql/address.ts
Thomas Citharel 0e0b68445b
Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-22 16:20:42 +02:00

22 lines
391 B
TypeScript

import gql from 'graphql-tag';
export const ADDRESS = gql`
query($query:String!) {
searchAddress(
query: $query
) {
id,
description,
geom,
floor,
street,
locality,
postalCode,
region,
country,
url,
originId
}
}
`;