GraphQL API and utilities for the rpdata project
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.

64 lines
1.4 KiB

  1. # A Character represents an RP character
  2. type Character {
  3. # A unique identifier for the character
  4. id: String!
  5. # The primary IRC nick belonging to the character
  6. nick: String
  7. # All IRC nicks associated with this character
  8. nicks: [String!]!
  9. # The character's author
  10. author: String!
  11. # The character's name
  12. name: String!
  13. # The name to display when space is scarce, usually the first/given name
  14. shortName: String!
  15. # A short description of the character
  16. description: String!
  17. }
  18. # Input for adding characters
  19. input CharacterAddInput {
  20. # The primary IRC nick name to recognize this character by
  21. nick: String!
  22. # The character's name
  23. name: String!
  24. # Optioanl shortened name. By default, it uses the first token in the name
  25. shortName: String
  26. # Description for a character.
  27. description: String
  28. # Optioanlly, specify another author. This needs special permissions if it's not
  29. # your own username
  30. author: String
  31. }
  32. # Input for addNick and removeNick mutation
  33. input CharacterNickInput {
  34. # The ID of the character
  35. id: String!
  36. # The nick to add or remove
  37. nick: String!
  38. }
  39. input CharacterEditInput {
  40. # The id for the character to edit
  41. id: String!
  42. # The full name of the character -- not the salarian full name!
  43. name: String
  44. # The character's short name that is used in compact lists
  45. shortName: String
  46. # A short description for the character
  47. description: String
  48. }