roschaefer a704709ba3 fix: resolver returned undefined for nameRU
This registers the language Russian in the backend. Unfortunately, the
locations seem to be implemented with a hard coded attribute for each
language. 😞

We should refactor this.
2019-11-04 20:39:28 +01:00

23 lines
556 B
JavaScript

module.exports = {
id: { type: 'string', primary: true },
lat: { type: 'number' },
lng: { type: 'number' },
type: { type: 'string' },
name: { type: 'string' },
nameES: { type: 'string' },
nameFR: { type: 'string' },
nameIT: { type: 'string' },
nameEN: { type: 'string' },
namePT: { type: 'string' },
nameDE: { type: 'string' },
nameNL: { type: 'string' },
namePL: { type: 'string' },
nameRU: { type: 'string' },
isIn: {
type: 'relationship',
relationship: 'IS_IN',
target: 'Location',
direction: 'out',
},
}