feat: auth self-registration config + gql grouping

This commit is contained in:
NGPixel
2018-06-25 02:44:40 -04:00
parent 49834461a6
commit 0afa65fa58
39 changed files with 104 additions and 50 deletions

View File

@@ -0,0 +1,12 @@
mutation($locale: String!) {
localization {
downloadLocale(locale: $locale) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}

View 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
}
}
}
}

View File

@@ -0,0 +1,20 @@
{
localization {
locales {
code
createdAt
isInstalled
installDate
isRTL
name
nativeName
updatedAt
}
config {
locale
autoUpdate
namespacing
namespaces
}
}
}