You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/server/graph/schemas/localization.graphql

41 lines
787 B

# ===============================================
# LOCALIZATION
# ===============================================
extend type Query {
locales: [LocalizationLocale]
localeStrings(locale: String!): JSON
}
extend type Mutation {
downloadLocale(
locale: String!
): DefaultResponse
updateLocale(
locale: String!
autoUpdate: Boolean!
namespacing: Boolean!
namespaces: [String]!
): DefaultResponse
}
# -----------------------------------------------
# TYPES
# -----------------------------------------------
type LocalizationLocale {
completeness: Int
code: String
createdAt: Date
installDate: Date
isInstalled: Boolean
isRTL: Boolean
language: String
name: String
nativeName: String
region: String
script: String
updatedAt: Date
}