localization.graphql 768 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. name: String
  30. nativeName: String
  31. region: String
  32. script: String
  33. updatedAt: Date
  34. }