wikijs-fork/server/schemas/resolvers-translation.js
2017-09-24 23:22:33 -04:00

13 lines
210 B
JavaScript

/* global wiki */
module.exports = {
Query: {
translations (obj, args, context, info) {
return wiki.lang.getByNamespace(args.locale, args.namespace)
}
},
Mutation: {},
Translation: {}
}