feat: auth self-registration config + gql grouping
This commit is contained in:
12
client/graph/admin/locale/locale-mutation-download.gql
Normal file
12
client/graph/admin/locale/locale-mutation-download.gql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation($locale: String!) {
|
||||
localization {
|
||||
downloadLocale(locale: $locale) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
12
client/graph/admin/locale/locale-mutation-save.gql
Normal file
12
client/graph/admin/locale/locale-mutation-save.gql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation($locale: String!, $autoUpdate: Boolean!, $namespacing: Boolean!, $namespaces: [String]!) {
|
||||
localization {
|
||||
updateLocale(locale: $locale, autoUpdate: $autoUpdate, namespacing: $namespacing, namespaces: $namespaces) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
20
client/graph/admin/locale/locale-query-list.gql
Normal file
20
client/graph/admin/locale/locale-query-list.gql
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
localization {
|
||||
locales {
|
||||
code
|
||||
createdAt
|
||||
isInstalled
|
||||
installDate
|
||||
isRTL
|
||||
name
|
||||
nativeName
|
||||
updatedAt
|
||||
}
|
||||
config {
|
||||
locale
|
||||
autoUpdate
|
||||
namespacing
|
||||
namespaces
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user