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

43 lines
814 B

# ===============================================
# LOCALIZATION
# ===============================================
extend type Query {
locales: [LocalizationLocale]
translations(locale: String!, namespace: String!): [Translation]
}
extend type Mutation {
downloadLocale(
locale: String!
): DefaultResponse
updateLocale(
locale: String!
autoUpdate: Boolean!
namespacing: Boolean!
namespaces: [String]!
): DefaultResponse
}
# -----------------------------------------------
# TYPES
# -----------------------------------------------
type LocalizationLocale {
availability: Int
code: String
createdAt: Date
installDate: Date
isInstalled: Boolean
isRTL: Boolean
name: String
nativeName: String
updatedAt: Date
}
type Translation {
key: String
value: String
}