graphql.js 405 B

12345678910111213141516171819202122
  1. import gql from 'graphql-tag'
  2. export default {
  3. GQL_QUERY_AUTHENTICATION: gql`
  4. query($mode: String!) {
  5. authentication(mode:$mode) {
  6. key
  7. useForm
  8. title
  9. icon
  10. }
  11. }
  12. `,
  13. GQL_QUERY_TRANSLATIONS: gql`
  14. query($locale: String!, $namespace: String!) {
  15. translations(locale:$locale, namespace:$namespace) {
  16. key
  17. value
  18. }
  19. }
  20. `
  21. }