feat: vue-apollo + auth providers resolver (wip)
This commit is contained in:
@@ -1,16 +1,26 @@
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export default {
|
||||
GQL_QUERY_AUTHENTICATION: gql`
|
||||
query($mode: String!) {
|
||||
authentication(mode:$mode) {
|
||||
key
|
||||
useForm
|
||||
title
|
||||
icon
|
||||
AUTHENTICATION: {
|
||||
QUERY_PROVIDERS: gql`
|
||||
query {
|
||||
authentication {
|
||||
providers {
|
||||
isEnabled
|
||||
key
|
||||
props
|
||||
title
|
||||
useForm
|
||||
icon
|
||||
config {
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
`
|
||||
},
|
||||
GQL_QUERY_TRANSLATIONS: gql`
|
||||
query($locale: String!, $namespace: String!) {
|
||||
translations(locale:$locale, namespace:$namespace) {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import GRAPHQL from './graphql'
|
||||
import GRAPH from './graphql'
|
||||
|
||||
export default {
|
||||
GRAPHQL
|
||||
GRAPH
|
||||
}
|
||||
|
Reference in New Issue
Block a user