Add origins and calculation of distance and duration

This commit is contained in:
2019-03-02 11:45:45 +01:00
parent 9661a07e31
commit fc0e546219
11 changed files with 165 additions and 26 deletions
+20 -10
View File
@@ -1,27 +1,37 @@
module.exports = {
ignoreBandMutation: `
mutation IgnoreBand($name: String!) {
ignore: IgnoreBand(name: $name)
}
ignore: IgnoreBand(name: $name)
}
`,
ignoreDanceHallMutation: `
mutation IgnoreDanceHall($name: String!) {
ignore: IgnoreDanceHall(name: $name)
}
ignore: IgnoreDanceHall(name: $name)
}
`,
ignoreCityMutation: `
mutation IgnoreCity($name: String!) {
ignore: IgnoreCity(name: $name)
}
ignore: IgnoreCity(name: $name)
}
`,
ignoreMunicipalityMutation: `
mutation IgnoreMunicipality($name: String!) {
ignore: IgnoreMunicipality(name: $name)
}
ignore: IgnoreMunicipality(name: $name)
}
`,
ignoreStateMutation: `
mutation IgnoreState($name: String!) {
ignore: IgnoreState(name: $name)
}
ignore: IgnoreState(name: $name)
}
`,
saveOriginMutation: `
mutation SaveOrigin($origin: String!) {
saved: SaveOrigin(origin: $origin)
}
`,
removeOriginMutation: `
mutation RemoveOrigin($origin: String!) {
removed: RemoveOrigin(origin: $origin)
}
`
};