localization.graphql 787 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # ===============================================
  2. # LOCALIZATION
  3. # ===============================================
  4. extend type Query {
  5. locales: [LocalizationLocale]
  6. localeStrings(locale: String!): JSON
  7. }
  8. extend type Mutation {
  9. downloadLocale(
  10. locale: String!
  11. ): DefaultResponse
  12. updateLocale(
  13. locale: String!
  14. autoUpdate: Boolean!
  15. namespacing: Boolean!
  16. namespaces: [String]!
  17. ): DefaultResponse
  18. }
  19. # -----------------------------------------------
  20. # TYPES
  21. # -----------------------------------------------
  22. type LocalizationLocale {
  23. completeness: Int
  24. code: String
  25. createdAt: Date
  26. installDate: Date
  27. isInstalled: Boolean
  28. isRTL: Boolean
  29. language: String
  30. name: String
  31. nativeName: String
  32. region: String
  33. script: String
  34. updatedAt: Date
  35. }