123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # ===============================================
- # 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
- }
|