feat: auth strategies over GraphQL + svg loading

This commit is contained in:
NGPixel
2017-09-30 23:47:14 -04:00
parent 51f5c236d6
commit 501f0a9a53
13 changed files with 165 additions and 28 deletions

View File

@@ -0,0 +1,22 @@
import gql from 'graphql-tag'
export default {
GQL_QUERY_AUTHENTICATION: gql`
query($mode: String!) {
authentication(mode:$mode) {
key
useForm
title
icon
}
}
`,
GQL_QUERY_TRANSLATIONS: gql`
query($locale: String!, $namespace: String!) {
translations(locale:$locale, namespace:$namespace) {
key
value
}
}
`
}

View File

@@ -0,0 +1,5 @@
import GRAPHQL from './graphql'
export default {
GRAPHQL
}